et_bridge_config_t Struct Reference

Structure to define configuration parameters used to bridge ET systems (transfer events between 2 systems). More...

#include <et_private.h>

Data Fields

int init
 ET_STRUCT_OK if structure initialized, else ET_STRUCT_NEW.
int mode_from
 ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "from" ET system.
int mode_to
 ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "to" ET system into which the "from" events go.
int chunk_from
 Number of events to get from the "from" ET system at one time.
int chunk_to
 Number of new events to get from the "to" ET system at one time.
struct timespec timeout_from
 Max time to wait when getting events from the "from" ET system.
struct timespec timeout_to
 Max time to wait when getting new events from the "to" ET system.
ET_SWAP_FUNCPTR func
 Pointer to function which takes a pointer to an event as an argument, swaps the data, and returns ET_ERROR if there's a problem & ET_OK if not.

Detailed Description

Structure to define configuration parameters used to bridge ET systems (transfer events between 2 systems).


Field Documentation

Number of events to get from the "from" ET system at one time.

Referenced by et_bridge_config_getchunkfrom(), et_bridge_config_init(), and et_bridge_config_setchunkfrom().

Number of new events to get from the "to" ET system at one time.

Referenced by et_bridge_config_getchunkto(), et_bridge_config_init(), and et_bridge_config_setchunkto().

Pointer to function which takes a pointer to an event as an argument, swaps the data, and returns ET_ERROR if there's a problem & ET_OK if not.

Referenced by et_bridge_config_init(), and et_bridge_config_setfunc().

ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "from" ET system.

Referenced by et_bridge_config_getmodefrom(), et_bridge_config_init(), and et_bridge_config_setmodefrom().

ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "to" ET system into which the "from" events go.

Referenced by et_bridge_config_getmodeto(), et_bridge_config_init(), and et_bridge_config_setmodeto().

struct timespec et_bridge_config_t::timeout_from [read]

Max time to wait when getting events from the "from" ET system.

Referenced by et_bridge_config_gettimeoutfrom(), et_bridge_config_init(), and et_bridge_config_settimeoutfrom().

struct timespec et_bridge_config_t::timeout_to [read]

Max time to wait when getting new events from the "to" ET system.

Referenced by et_bridge_config_gettimeoutto(), et_bridge_config_init(), and et_bridge_config_settimeoutto().


The documentation for this struct was generated from the following file:

Generated on 30 Jul 2015 for ET System by  doxygen 1.6.1