13 #ifndef DtCigiNetworkIO_H_
14 #define DtCigiNetworkIO_H_
19 #include <vlutil/vlInetSocket.h>
21 class CigiHatHotRespV3_2;
24 class DtInetSocketMgr;
25 class DtInetTcpSocket;
30 class DtCigiConnectionInitializer;
31 class DtCigiSignalProcessor;
51 virtual bool receiveCigiMessages();
61 virtual bool sendCigiMessages(
unsigned int frameNumber,
unsigned int lastHostFrameNumber,
62 int igMode,
int databaseNumber);
69 virtual void sendHatHotResponse(
double height,
unsigned int hotId,
bool hat,
70 unsigned int lastHostFrameNumber,
bool valid);
73 virtual void sendLosResponse(
int losId,
int entityId,
bool visible,
double range,
74 int responseCount,
int hostFrame);
77 static bool addSocketCb(DtInetSocket* sock,
void* usr);
80 static bool removeSocketCb(DtInetSocket* sock,
void* usr);
84 virtual void initializeUdpSocket(
const DtInetEndpoint& endpoint,
85 unsigned int listenPort, DtInetDevice* device);
88 virtual void initializeTcpSocket(
const DtInetEndpoint& endpoint,
89 DtInetDevice* device,
int localPort);
92 virtual void addSocket(DtInetTcpSocket* sock);
95 virtual void removeSocket(DtInetTcpSocket* sock);
97 virtual DtInetAddr findFirstNetworkDeviceAddress(
bool& found)
const;