sc_automationBridgeBase Struct Reference

Automation Bridge Base class. More...

#include <si_sha/autobrg.h>

List of all members.

Public Attributes

const TCHAR * name_
const TCHAR * basePath_
const sc_automationBridge_vtablevtbl_
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_


Detailed Description

Automation Bridge Base class.

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.


Member Data Documentation

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.

Mutex to protect connection list and device traffic (only one connection at a time can talk to the bridge).

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)

Thread to service requests incoming from network and script side

Derived class v-table


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

doxygen