AgsGenericMainLoop

AgsGenericMainLoop — generic loop

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsGenericMainLoop

Implemented Interfaces

AgsGenericMainLoop implements AgsConnectable and AgsMainLoop.

Includes

#include <ags/thread/ags_generic_main_loop.h>

Description

The AgsGenericMainLoop is suitable as AgsMainLoop and does generic processing.

Functions

ags_generic_main_loop_new ()

AgsGenericMainLoop *
ags_generic_main_loop_new ();

Create a new AgsGenericMainLoop.

Returns

the new AgsGenericMainLoop

Since: 3.0.0


AGS_GENERIC_MAIN_LOOP()

#define AGS_GENERIC_MAIN_LOOP(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_GENERIC_MAIN_LOOP, AgsGenericMainLoop))

AGS_GENERIC_MAIN_LOOP_CLASS()

#define AGS_GENERIC_MAIN_LOOP_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_GENERIC_MAIN_LOOP, AgsGenericMainLoopClass))

AGS_GENERIC_MAIN_LOOP_GET_CLASS()

#define AGS_GENERIC_MAIN_LOOP_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_GENERIC_MAIN_LOOP, AgsGenericMainLoopClass))

AGS_IS_GENERIC_MAIN_LOOP()

#define AGS_IS_GENERIC_MAIN_LOOP(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_GENERIC_MAIN_LOOP))

AGS_IS_GENERIC_MAIN_LOOP_CLASS()

#define AGS_IS_GENERIC_MAIN_LOOP_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_GENERIC_MAIN_LOOP))

ags_generic_main_loop_get_type ()

GType
ags_generic_main_loop_get_type ();

Types and Values

AGS_GENERIC_MAIN_LOOP_DEFAULT_JIFFIE

#define AGS_GENERIC_MAIN_LOOP_DEFAULT_JIFFIE (AGS_THREAD_DEFAULT_JIFFIE)

AGS_TYPE_GENERIC_MAIN_LOOP

#define AGS_TYPE_GENERIC_MAIN_LOOP                (ags_generic_main_loop_get_type())

struct AgsGenericMainLoop

struct AgsGenericMainLoop;

struct AgsGenericMainLoopClass

struct AgsGenericMainLoopClass {
  AgsThreadClass thread;
};