ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_stat_data_t Struct Reference

Structure to hold the current state of a station. More...

#include <et_private.h>

Data Fields

int status
 Station's state may be ET_STATION_ACTIVE for a station accepting events, ET_STATION_IDLE for a station with no attachments and therefore accepting no events, ET_STATION_CREATING for a station in the process of being created, or ET_STATION_UNUSED for a station structure in shared memory that is unused. More...
 
int pid_create
 Process id of process that created the station. More...
 
int nattachments
 Number of attachments to this station. More...
 
int att [ET_ATTACHMENTS_MAX]
 Array in which the unique id# of an attachment is the index and the value is id# if attached and -1 otherwise. More...
 
void * lib_handle
 Handle for the opened shared library of a user-defined event selection routine. More...
 
ET_SELECT_FUNCPTR func
 Pointer to user-defined event selection routine. More...
 

Detailed Description

Structure to hold the current state of a station.

Field Documentation

int et_stat_data_t::att[ET_ATTACHMENTS_MAX]

Array in which the unique id# of an attachment is the index and the value is id# if attached and -1 otherwise.

Referenced by et_station_attach(), et_station_detach(), et_station_isattached(), and et_wakeup_all().

ET_SELECT_FUNCPTR et_stat_data_t::func

Pointer to user-defined event selection routine.

void* et_stat_data_t::lib_handle

Handle for the opened shared library of a user-defined event selection routine.

int et_stat_data_t::nattachments

Number of attachments to this station.

Referenced by et_station_attach(), et_station_detach(), et_station_getattachments(), and et_station_remove().

int et_stat_data_t::pid_create

Process id of process that created the station.

Referenced by et_station_create_at().


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