Data Structures | |
struct | _GTaskEventDispatcher |
struct | _GTaskEventDispatcherClass |
struct | _GTaskEventDispatcherPrivate |
Defines | |
#define | GTASK_EVENT_DISPATCHER_TYPE (gtask_event_dispatcher_get_type()) |
#define | GTASK_EVENT_DISPATCHER(obj) |
#define | GTASK_EVENT_DISPATCHER_CLASS(klass) |
#define | GTASK_IS_EVENT_DISPATCHER(obj) |
#define | GTASK_IS_EVENT_DISPATCHER_CLASS(klass) |
#define | GTASK_EVENT_DISPATCHER_GET_CLASS(obj) |
Typedefs | |
typedef _GTaskEventDispatcher | GTaskEventDispatcher |
typedef _GTaskEventDispatcherPrivate | GTaskEventDispatcherPrivate |
typedef _GTaskEventDispatcherClass | GTaskEventDispatcherClass |
typedef gboolean(* | GTaskEventFunc )(GTaskEventDispatcher *, GObject *, gpointer) |
Functions | |
GType | gtask_event_dispatcher_get_type (void) |
GTaskEventDispatcher * | gtask_event_dispatcher_new_with_parser (GTaskStreamParser *parser) |
Creates a new GTaskEventDispatcher bound to the passed in GTaskStreamParser. | |
guint | gtask_event_dispatcher_add_watch (GTaskEventDispatcher *dispatch, GType watch_type, GTaskEventFunc func, gpointer user_data) |
Adds a new watch to the GTaskEventDispatcher's watch list. Basically whenever the GTaskStreamParser passes back a GObject of GType watch_type your callback routine will be run. | |
void | gtask_event_dispatcher_remove_watch (GTaskEventDispatcher *dispatch, guint watch_id) |
Removes a watch from the passed in GTaskEventDispatcher. | |
GTaskStreamParser * | gtask_event_dispatcher_get_stream_parser (GTaskEventDispatcher *dispatch) |
Returns the GTaskStreamParser for the passed in GTaskEventDispatcher. | |
gboolean | gtask_event_dispatcher_private_parse_callback (GIOChannel *chann, GIOCondition cond, gpointer data) |
This is the callback that is generally run when the input GIOChannel on the GTaskConnection has data to read. |
|
Value: (G_TYPE_CHECK_INSTANCE_CAST( (obj), \ GTASK_EVENT_DISPATCHER_TYPE, \ GTaskEventDispatcher )) Definition at line 19 of file gtask-event-dispatcher.h. |
|
Value: (G_TYPE_CHECK_CLASS_CAST( (klass), \ GTASK_EVENT_DISPATCHER_TYPE, \ GTaskEventDispatcherClass )) Definition at line 24 of file gtask-event-dispatcher.h. |
|
Value: (G_TYPE_INSTANCE_GET_CLASS( (obj), \ GTASK_EVENT_DISPATCHER_TYPE, \ GTaskEventDispatcherClass )) Definition at line 42 of file gtask-event-dispatcher.h. |
|
returns the GType of GTaskEventDispatcher Definition at line 16 of file gtask-event-dispatcher.h. |
|
Value: (G_TYPE_CHECK_INSTANCE_TYPE( (obj), \ GTASK_EVENT_DISPATCHER_TYPE )) Definition at line 32 of file gtask-event-dispatcher.h. |
|
Value: (G_TYPE_CHECK_CLASS_TYPE( (klass), \ GTASK_EVENT_DISPATCHER_TYPE )) Definition at line 39 of file gtask-event-dispatcher.h. |
|
Definition at line 11 of file gtask-event-dispatcher.h. |
|
Definition at line 13 of file gtask-event-dispatcher.h. |
|
Definition at line 12 of file gtask-event-dispatcher.h. |
|
Definition at line 68 of file gtask-event-dispatcher.h. |
|
Adds a new watch to the GTaskEventDispatcher's watch list. Basically whenever the GTaskStreamParser passes back a GObject of GType watch_type your callback routine will be run.
Definition at line 153 of file gtask-event-dispatcher.c. |
|
Returns the GTaskStreamParser for the passed in GTaskEventDispatcher.
Definition at line 218 of file gtask-event-dispatcher.c. |
|
Definition at line 27 of file gtask-event-dispatcher.c. |
|
Creates a new GTaskEventDispatcher bound to the passed in GTaskStreamParser.
Definition at line 121 of file gtask-event-dispatcher.c. |
|
This is the callback that is generally run when the input GIOChannel on the GTaskConnection has data to read.
Definition at line 237 of file gtask-event-dispatcher.c. |
|
Removes a watch from the passed in GTaskEventDispatcher.
Definition at line 182 of file gtask-event-dispatcher.c. |