16 #include "gcp/control/code/unix/libunix_src/specific/rtcnetcoms.h"
20 #include "gcp/util/common/FdSet.h"
21 #include "gcp/util/common/GenericTask.h"
22 #include "gcp/util/common/Logger.h"
23 #include "gcp/util/common/LogMsgHandler.h"
24 #include "gcp/util/common/NetCommHandler.h"
25 #include "gcp/util/common/TcpClient.h"
27 #include "gcp/grabber/common/ControlMsg.h"
28 #include "gcp/grabber/common/GrabberNetCmdForwarder.h"
30 #define CONTROL_TASK_FWD_FN(fn) void (fn)(ControlMsg* msg)
136 void connectControl(
bool reEnable);
141 void disconnectControl();
151 void sendControlConnectedMsg(
bool connected);
156 static LOG_HANDLER_FN(sendLogMsg);
162 static LOG_HANDLER_FN(sendErrMsg);
164 static void sendNetMsg(std::string& logStr,
bool isErr);
181 static NET_READ_HANDLER(netCmdReadHandler);
186 static NET_SEND_HANDLER(netMsgSentHandler);
192 static NET_ERROR_HANDLER(netErrorHandler);
200 #endif // End #ifndef
Definition: ControlMsg.h:17
Definition: GrabberNetCmdForwarder.h:19
CONTROL_TASK_FWD_FN(forwardControlMsg)
Definition: TcpClient.h:18
~Control()
Definition: Control.cc:53
Definition: LogMsgHandler.h:25
Definition: NetCommHandler.h:18
Definition: GenericTask.h:33