Execution API
[Execution]

API for scheduling the delivery and execution of messages. More...

Classes

struct  execution_controller
 Execution module administrative control functions. More...
struct  execution
 Execution module functions. More...

Typedefs

typedef scheduler Scheduler
 Opaque handle for scheduling periodic message delivery.
typedef executor Executor
 Opaque executor reference.
typedef void(*) sched_callback (Message *message, void *state)
typedef enum scheduler_filter_time Scheduler_filter_time
 Enumerates if a scheduled message filter should occur pre or post delevery.
typedef execution_controller Execution_Controller
 Execution module administrative control functions.
typedef execution Execution
 Execution module functions.

Enumerations

enum  scheduler_filter_time { BEFORE, AFTER }
 Enumerates if a scheduled message filter should occur pre or post delevery. More...

Detailed Description

API for scheduling the delivery and execution of messages.

The execution framework component is largely hidden from application components. it serves to dispatch messages from queues in an opaque fashion. While conceptually each application component is viewed as having its own thread of control, the execution component is free to adopt any threading strategy it sees fit as long as it does not cause behaviour that would be impossible in the active object paradigm (e.g. processing two messages from one component's queue simultaneously)


Typedef Documentation

typedef struct execution_controller Execution_Controller

Execution module administrative control functions.

An Execution_Controller instance encapsulates those functions which perform an administrative role in controlling the execution of message delivery. These are intended to be used by code which starts/stops overall execution (i.e. launches application components and starts message delivery when all are ready/loaded) rather than from within the application component itself.

typedef struct scheduler Scheduler

Opaque handle for scheduling periodic message delivery.

Definition at line 41 of file execution.h.


Enumeration Type Documentation

enum scheduler_filter_time

Enumerates if a scheduled message filter should occur pre or post delevery.

Enumerator:
BEFORE  Immediately before.
AFTER  Immediately after.

Definition at line 49 of file execution.h.


Generated on Thu Sep 27 11:11:48 2012 for VetSim by  doxygen 1.4.7