12#error This is a C++ include file and cannot be used from plain C
18#include <sys/select.h>
29#define ngcbIFC_TCP_DEFAULT_SERVER "ngcbSock2Drv"
67 int Open(
const char *name);
93 int Status(
int *devStatus);
124 int SendToken_(
int token);
127 int SendToken_(
int token,
const void *buffer,
int size);
145 char remoteHost_[64];
Definition ngcbIFC.hpp:595
int Sim(int level)
Set simulation level.
Definition ngcbIFC_TCP.cpp:349
const char * Host()
Driver interface process host.
Definition ngcbIFC_TCP.cpp:340
int Connect()
Connect through to device.
Definition ngcbIFC_TCP.cpp:451
int Fd()
Return device file descriptor.
Definition ngcbIFC_TCP.cpp:307
ngcbIFC_TCP()
Constructor without name.
Definition ngcbIFC_TCP.cpp:25
int Status(int *devStatus)
Get last communication status.
Definition ngcbIFC_TCP.cpp:923
int Port()
Driver interface process command port.
Definition ngcbIFC_TCP.cpp:332
int WriteAddr(ngcb_route_t route, int addr, const int *buffer, int size, int *result)
Write to address.
Definition ngcbIFC_TCP.cpp:680
int Connected()
Connected to device.
Definition ngcbIFC_TCP.cpp:1269
int ReadAddr(ngcb_route_t route, int addr, int *buffer, int size, int *result)
Read from address.
Definition ngcbIFC_TCP.cpp:568
int Disconnect()
Disconnect from device.
Definition ngcbIFC_TCP.cpp:482
int Reset()
Reset device.
Definition ngcbIFC_TCP.cpp:505
int Running()
Driver interface process is running.
Definition ngcbIFC_TCP.cpp:1245
int KillServer()
Terminate driver interface process.
Definition ngcbIFC_TCP.cpp:1179
int ExecServer()
Launch driver interface process.
Definition ngcbIFC_TCP.cpp:984
int Event(ngcbEVT *evt, int *result)
Activate event.
Definition ngcbIFC_TCP.cpp:801
int HandleFdEvt()
Handle event on file descriptor.
Definition ngcbIFC_TCP.cpp:1277
virtual ~ngcbIFC_TCP()
Destructor.
Definition ngcbIFC_TCP.cpp:77
int Close()
Close interface.
Definition ngcbIFC_TCP.cpp:429
int Pid()
Driver interface process id.
Definition ngcbIFC_TCP.cpp:324
virtual int Timeout()
Get timeout.
Definition ngcbIFC.cpp:585
int Open()
Open interface with current name.
Definition ngcbIFC.cpp:316
ngcbIFC()
Constructor without device name.
Definition ngcbIFC.cpp:33
ngcbSIO()
Constructor.
Definition ngcbSIO.cpp:30
Definition ngcbIFC.hpp:72