Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

gtask-event-dispatcher.c File Reference

#include <gtask/gtask-event-dispatcher.h>
#include <gtask/gtask-packet.h>
#include <gtask/gtask-internals.h>

Go to the source code of this file.

Data Structures

struct  _WatchInfo

Typedefs

typedef _WatchInfo WatchInfo

Functions

void gtask_event_dispatcher_class_init (GTaskEventDispatcherClass *klass)
void gtask_event_dispatcher_init (GTaskEventDispatcher *dispatcher, gpointer g_class)
void gtask_event_dispatcher_dispose (GObject *obj)
void gtask_event_dispatcher_finalize (GObject *obj)
GType gtask_event_dispatcher_get_type (void)
GTaskEventDispatchergtask_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.

GTaskStreamParsergtask_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.


Variables

gpointer parent_class


Typedef Documentation

typedef struct _WatchInfo WatchInfo
 


Function Documentation

void gtask_event_dispatcher_class_init GTaskEventDispatcherClass klass  )  [static]
 

Definition at line 53 of file gtask-event-dispatcher.c.

void gtask_event_dispatcher_dispose GObject *  obj  )  [static]
 

Definition at line 76 of file gtask-event-dispatcher.c.

void gtask_event_dispatcher_finalize GObject *  obj  )  [static]
 

Definition at line 92 of file gtask-event-dispatcher.c.

void gtask_event_dispatcher_init GTaskEventDispatcher dispatcher,
gpointer  g_class
[static]
 

Definition at line 63 of file gtask-event-dispatcher.c.


Variable Documentation

gpointer parent_class [static]
 

Definition at line 13 of file gtask-event-dispatcher.c.


Generated on Mon Feb 2 21:26:15 2004 for libgtask by doxygen 1.3.4