#include "DbusConnection.h"
#include "MessageController.h"
#include "DbusConnection-glue.h"
Include dependency graph for DbusConnection.cpp:
Go to the source code of this file.
Defines | |
#define | ASYNCHRONOUS 0 |
#define | SYNCHRONOUS 1 |
Functions | |
GType | some_object_get_type (void) |
gboolean | _send_message (SomeObject *obj, char **messgArray, GError **wrong) |
static void | some_object_init (SomeObject *) |
static void | some_object_class_init (SomeObjectClass *) |
static void | lose (const char *str,...) |
static void | lose_gerror (const char *prefix, GError *error) |
void * | receiveThread (void *mainloop) |
void * | sendThread (void *att) |
|
Set the desired mode of communication to true. Don't set both at once though. Definition at line 20 of file DbusConnection.cpp. |
|
Definition at line 21 of file DbusConnection.cpp. |
|
Function called by the glib_mainloop when a message is received. It sends the message to the MessageController. Definition at line 71 of file DbusConnection.cpp. References SomeObject::mc. |
|
Definition at line 48 of file DbusConnection.cpp. Referenced by lose_gerror(). |
|
Definition at line 63 of file DbusConnection.cpp. References lose(). Referenced by DbusConnection::dbus_init(), and sendThread(). Here is the call graph for this function: ![]() |
|
This thread contains the glib_mainloop which handles the incoming messages from Traplas. Definition at line 90 of file DbusConnection.cpp. |
|
This thread looks at the outgoing queue and sends messages from that queue to Traplas using Dbus. Definition at line 100 of file DbusConnection.cpp. References DbusConnection::cond, lose_gerror(), DbusConnection::mutex, DbusConnection::outqueue, DbusConnection::remote_object, and DbusConnection::sendthread_run. Here is the call graph for this function: ![]() |
|
Definition at line 43 of file DbusConnection.cpp. |
|
|
|
Definition at line 38 of file DbusConnection.cpp. |