#include <si_sha/autobrg.h>
Public Attributes | |
const TCHAR * | name_ |
const TCHAR * | basePath_ |
const sc_automationBridge_vtable * | vtbl_ |
void * | instance_ |
se_bridgeState | state_ |
pthread_mutex_t | mux_ |
pthread_t | svcThread_ |
int | fdSvc_ |
int | fdDev_ |
int | fdCtlW_ |
int | fdCtlR_ |
sc_automationPacketPool | pool_ |
sc_automationPacketPtrhList | ooo_ |
sc_automationBridgeConnectionPtrhList | connections_ |
The automation bridge base class makes it easier to be a bridge controller in LASE by implementing many of the common boiler plate things nearly all bridges have to do, such as spin a thread to listen for activity on the network, as well as from the script side.
const TCHAR* sc_automationBridgeBase::basePath_ |
Base path of system.
sc_automationBridgeConnectionPtrhList sc_automationBridgeBase::connections_ |
active connections
Control read file descriptor (thread side)
Control write file descriptor
Device file descriptor (e.g., serial port)
Service file descriptor (for connections)
Derived object instance address.
pthread_mutex_t sc_automationBridgeBase::mux_ |
Mutex to protect connection list and device traffic (only one connection at a time can talk to the bridge).
const TCHAR* sc_automationBridgeBase::name_ |
Name of the exposed device
sc_automationPacketPtrhList sc_automationBridgeBase::ooo_ |
out-of-order packets received from the network.
packet pool for network originated traffic
State of bridge controller (started, stopped, etc)
pthread_t sc_automationBridgeBase::svcThread_ |
Thread to service requests incoming from network and script side
Derived class v-table