13#error This is a C++ include file and cannot be used from plain C
19#include <sys/select.h>
30#define ngcbIFC_TCP_DEFAULT_SERVER "ngcbSock2Drv"
68 int Open(
const char *name);
94 int Status(
int *devStatus);
125 int SendToken_(
int token);
128 int SendToken_(
int token,
const void *buffer,
int size);
146 char remoteHost_[64];
Definition ngcbIFC.hpp:601
int Sim(int level)
Set simulation level.
Definition ngcbIFC_TCP.cpp:350
const char * Host()
Driver interface process host.
Definition ngcbIFC_TCP.cpp:341
int Connect()
Connect through to device.
Definition ngcbIFC_TCP.cpp:452
int Fd()
Return device file descriptor.
Definition ngcbIFC_TCP.cpp:308
ngcbIFC_TCP()
Constructor without name.
Definition ngcbIFC_TCP.cpp:26
int Status(int *devStatus)
Get last communication status.
Definition ngcbIFC_TCP.cpp:924
int Port()
Driver interface process command port.
Definition ngcbIFC_TCP.cpp:333
int WriteAddr(ngcb_route_t route, int addr, const int *buffer, int size, int *result)
Write to address.
Definition ngcbIFC_TCP.cpp:681
int Connected()
Connected to device.
Definition ngcbIFC_TCP.cpp:1270
int ReadAddr(ngcb_route_t route, int addr, int *buffer, int size, int *result)
Read from address.
Definition ngcbIFC_TCP.cpp:569
int Disconnect()
Disconnect from device.
Definition ngcbIFC_TCP.cpp:483
int Reset()
Reset device.
Definition ngcbIFC_TCP.cpp:506
int Running()
Driver interface process is running.
Definition ngcbIFC_TCP.cpp:1246
int KillServer()
Terminate driver interface process.
Definition ngcbIFC_TCP.cpp:1180
int ExecServer()
Launch driver interface process.
Definition ngcbIFC_TCP.cpp:985
int Event(ngcbEVT *evt, int *result)
Activate event.
Definition ngcbIFC_TCP.cpp:802
int HandleFdEvt()
Handle event on file descriptor.
Definition ngcbIFC_TCP.cpp:1278
virtual ~ngcbIFC_TCP()
Destructor.
Definition ngcbIFC_TCP.cpp:78
int Close()
Close interface.
Definition ngcbIFC_TCP.cpp:430
int Pid()
Driver interface process id.
Definition ngcbIFC_TCP.cpp:325
virtual int Timeout()
Get timeout.
Definition ngcbIFC.cpp:588
int Open()
Open interface with current name.
Definition ngcbIFC.cpp:319
ngcbIFC()
Constructor without device name.
Definition ngcbIFC.cpp:36
ngcbSIO()
Constructor.
Definition ngcbSIO.cpp:31
Definition ngcbIFC.hpp:78