Back to index

dbus-test-runner  12.10.0
Classes | Defines | Typedefs | Enumerations | Functions
service.h File Reference
#include <glib-object.h>
#include "task.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DbusTestServiceClass
struct  _DbusTestService

Defines

#define DBUS_TEST_TYPE_SERVICE   (dbus_test_service_get_type ())
#define DBUS_TEST_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUS_TEST_TYPE_SERVICE, DbusTestService))
#define DBUS_TEST_SERVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), DBUS_TEST_TYPE_SERVICE, DbusTestServiceClass))
#define DBUS_TEST_IS_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUS_TEST_TYPE_SERVICE))
#define DBUS_TEST_IS_SERVICE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TEST_TYPE_SERVICE))
#define DBUS_TEST_SERVICE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TEST_TYPE_SERVICE, DbusTestServiceClass))

Typedefs

typedef struct _DbusTestService
typedef struct _DbusTestServiceClass
typedef struct _DbusTestServicePrivate

Enumerations

enum  DbusTestServicePriority { DBUS_TEST_SERVICE_PRIORITY_FIRST, DBUS_TEST_SERVICE_PRIORITY_NORMAL, DBUS_TEST_SERVICE_PRIORITY_LAST }

Functions

GType dbus_test_service_get_type (void)
DbusTestService * dbus_test_service_new (const gchar *address)
void dbus_test_service_start_tasks (DbusTestService *service)
int dbus_test_service_run (DbusTestService *service)
void dbus_test_service_stop (DbusTestService *service)
void dbus_test_service_add_task (DbusTestService *service, DbusTestTask *task)
void dbus_test_service_add_task_with_priority (DbusTestService *service, DbusTestTask *task, DbusTestServicePriority prio)
void dbus_test_service_set_daemon (DbusTestService *service, const gchar *daemon)
void dbus_test_service_set_conf_file (DbusTestService *service, const gchar *conffile)

Class Documentation

struct _DbusTestServiceClass

Definition at line 44 of file service.h.

Class Members
GObjectClass parent_class
struct _DbusTestService

Definition at line 48 of file service.h.

Class Members
GObject parent
DbusTestServicePrivate * priv

Define Documentation

#define DBUS_TEST_IS_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUS_TEST_TYPE_SERVICE))

Definition at line 36 of file service.h.

#define DBUS_TEST_IS_SERVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TEST_TYPE_SERVICE))

Definition at line 37 of file service.h.

#define DBUS_TEST_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUS_TEST_TYPE_SERVICE, DbusTestService))

Definition at line 34 of file service.h.

#define DBUS_TEST_SERVICE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DBUS_TEST_TYPE_SERVICE, DbusTestServiceClass))

Definition at line 35 of file service.h.

#define DBUS_TEST_SERVICE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TEST_TYPE_SERVICE, DbusTestServiceClass))

Definition at line 38 of file service.h.

Definition at line 33 of file service.h.


Typedef Documentation

typedef struct _DbusTestService

Definition at line 40 of file service.h.

typedef struct _DbusTestServiceClass

Definition at line 41 of file service.h.

typedef struct _DbusTestServicePrivate

Definition at line 42 of file service.h.


Enumeration Type Documentation

Enumerator:
DBUS_TEST_SERVICE_PRIORITY_FIRST 
DBUS_TEST_SERVICE_PRIORITY_NORMAL 
DBUS_TEST_SERVICE_PRIORITY_LAST 

Definition at line 53 of file service.h.


Function Documentation

void dbus_test_service_add_task ( DbusTestService *  service,
DbusTestTask *  task 
)

Here is the caller graph for this function:

void dbus_test_service_add_task_with_priority ( DbusTestService *  service,
DbusTestTask *  task,
DbusTestServicePriority  prio 
)

Here is the caller graph for this function:

GType dbus_test_service_get_type ( void  )
DbusTestService* dbus_test_service_new ( const gchar *  address)

Here is the caller graph for this function:

int dbus_test_service_run ( DbusTestService *  service)

Here is the caller graph for this function:

void dbus_test_service_set_conf_file ( DbusTestService *  service,
const gchar *  conffile 
)

Here is the caller graph for this function:

void dbus_test_service_set_daemon ( DbusTestService *  service,
const gchar *  daemon 
)

Here is the caller graph for this function:

void dbus_test_service_start_tasks ( DbusTestService *  service)

Here is the caller graph for this function:

void dbus_test_service_stop ( DbusTestService *  service)

Here is the caller graph for this function: