ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
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. More...
 
int mode_from
 ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "from" ET system. More...
 
int mode_to
 ET_SLEEP, ET_TIMED, or ET_ASYNC for getting events from the "to" ET system into which the "from" events go. More...
 
int chunk_from
 Number of events to get from the "from" ET system at one time. More...
 
int chunk_to
 Number of new events to get from the "to" ET system at one time. More...
 
struct timespec timeout_from
 Max time to wait when getting events from the "from" ET system. More...
 
struct timespec timeout_to
 Max time to wait when getting new events from the "to" ET system. More...
 
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. More...
 

Detailed Description

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

Field Documentation

int et_bridge_config_t::chunk_from

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().

int et_bridge_config_t::chunk_to

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().

ET_SWAP_FUNCPTR et_bridge_config_t::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.

Referenced by et_bridge_config_init(), and et_bridge_config_setfunc().

int et_bridge_config_t::mode_from

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().

int et_bridge_config_t::mode_to

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

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

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: