ET System
16.4
|
Structure defining a station. More...
#include <et_private.h>
Data Fields | |
et_stat_id | num |
Unique id # of station, 0 for first station (GrandCentral), = 1 for next station in mapped memory, etc. More... | |
int | conductor |
Flag to kill conductor thread: when station deleted ET_THREAD_KILL else ET_THREAD_KEEP. More... | |
et_stat_id | next |
Integer specifying next active or idle station in station chain, (not storing this as a pointer makes for an awkward linked list, but it survives mapping the shared memory to a different spot), and for last station this is -1. More... | |
et_stat_id | prev |
Previous active or idle station in station chain and for first station this is -1. More... | |
et_stat_id | nextparallel |
If this station is in a group of parallel stations, this is a "pointer" (actually and index) to the next parallel station and for last station this is -1. More... | |
et_stat_id | prevparallel |
If this station is in a group of parallel stations, this is a "pointer" (actually an index) to the previous parallel station and for first station this is -1. More... | |
int | waslast |
Flag = 1 if this station was last one to receive an event when using the round-robin selection method for a parallel group of stations (else = 0). More... | |
char | name [ET_STATNAME_LENGTH] |
Unique station name. More... | |
pthread_mutex_t | mutex |
Pthread mutex used for keeping the linked list of used stations in order for event transfers. More... | |
struct et_fix | fix |
Info to repair station's lists after user crash. More... | |
et_stat_data | data |
Current state of station. More... | |
et_stat_config | config |
Station configuration. More... | |
et_list | list_in |
Input list - a linked list containing events to read. More... | |
et_list | list_out |
Output list - a linked list containing events to be written. More... | |
Structure defining a station.
int et_station_t::conductor |
Flag to kill conductor thread: when station deleted ET_THREAD_KILL else ET_THREAD_KEEP.
Referenced by et_station_create_at(), et_station_remove(), and et_system_close().
et_stat_config et_station_t::config |
Station configuration.
Referenced by et_station_attach(), et_station_create_at(), et_station_getblock(), et_station_getclass(), et_station_getcue(), et_station_getfunction(), et_station_getlib(), et_station_getprescale(), et_station_getrestore(), et_station_getselect(), et_station_getselectwords(), et_station_getuser(), et_station_setblock(), et_station_setcue(), et_station_setprescale(), et_station_setrestore(), et_station_setselectwords(), and et_station_setuser().
et_stat_data et_station_t::data |
Current state of station.
Referenced by et_station_attach(), et_station_create_at(), et_station_detach(), et_station_exists(), et_station_getattachments(), et_station_getblock(), et_station_getclass(), et_station_getcue(), et_station_getfunction(), et_station_getlib(), et_station_getposition(), et_station_getprescale(), et_station_getrestore(), et_station_getselect(), et_station_getselectwords(), et_station_getstatus(), et_station_getuser(), et_station_isattached(), et_station_remove(), et_station_setposition(), et_system_close(), and et_wakeup_all().
struct et_fix et_station_t::fix |
Info to repair station's lists after user crash.
et_list et_station_t::list_in |
Input list - a linked list containing events to read.
Referenced by et_station_getinputcount(), et_station_setcue(), et_station_setprescale(), et_station_setselectwords(), et_wakeup_all(), and et_wakeup_attachment().
et_list et_station_t::list_out |
Output list - a linked list containing events to be written.
Referenced by et_station_create_at(), et_station_getoutputcount(), et_station_remove(), and et_system_close().
pthread_mutex_t et_station_t::mutex |
Pthread mutex used for keeping the linked list of used stations in order for event transfers.
char et_station_t::name[ET_STATNAME_LENGTH] |
Unique station name.
Referenced by et_station_attach(), et_station_create_at(), et_station_detach(), et_station_exists(), and et_station_remove().
et_stat_id et_station_t::next |
Integer specifying next active or idle station in station chain, (not storing this as a pointer makes for an awkward linked list, but it survives mapping the shared memory to a different spot), and for last station this is -1.
et_stat_id et_station_t::nextparallel |
If this station is in a group of parallel stations, this is a "pointer" (actually and index) to the next parallel station and for last station this is -1.
et_stat_id et_station_t::num |
Unique id # of station, 0 for first station (GrandCentral), = 1 for next station in mapped memory, etc.
Referenced by et_station_create_at().
et_stat_id et_station_t::prev |
Previous active or idle station in station chain and for first station this is -1.
et_stat_id et_station_t::prevparallel |
If this station is in a group of parallel stations, this is a "pointer" (actually an index) to the previous parallel station and for first station this is -1.
int et_station_t::waslast |
Flag = 1 if this station was last one to receive an event when using the round-robin selection method for a parallel group of stations (else = 0).