23 class DtInetTcpSocket;
24 class DtInetSocketMgr;
33 class DtDebugDrawRendererDriver;
44 virtual void initializeServer();
45 virtual void shutdownServer();
49 virtual void setPort(
int port);
52 virtual int port()
const;
62 static double defaultHeartbeatTimeout();
63 static void setDefaultHeatbeatTimeout(
double val);
67 virtual bool handleSocketAddition(DtInetSocket* socket);
68 virtual bool handleSocketRemoval(DtInetSocket* socket);
72 static bool socketAdditionCallback(DtInetSocket* sock,
void* usr);
73 static bool socketRemovalCallback(DtInetSocket* sock,
void* usr);
85 static void workerFunction(
void* usr,
volatile bool* stop);
bool myAllowMultipleClients
Definition: debugDrawRenderer.h:82
Creator factory for the DebugDrawRenderer.
Definition: debugDrawRenderer.h:99
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtLocklessQueue< DtBaseMessage * > myIncomingQueue
Definition: debugDrawRenderer.h:78
the DtDebugDrawRenderer is the network server for receiving and sending messages to attached clients...
Definition: debugDrawRenderer.h:36
DtBaseMessage is the base class for all messages that can be sent between the server and the client...
Definition: vrfMessage.h:25
bool myShouldQuit
Definition: debugDrawRenderer.h:87
DtInetSocketMgr * mySocketManager
Definition: debugDrawRenderer.h:79
** Copyright (c) 2019 MAK Technologies, Inc. ** All rights reserved.
ClientRequestMap myClientRequestMap
Definition: debugDrawRenderer.h:92
Contains makVrv::DtVirtualBaseClass class.
** Copyright (c) 2019 MAK Technologies, Inc. ** All rights reserved.
std::map< std::string, DtInetTcpSocket * > ClientRequestMap
Definition: debugDrawRenderer.h:91
DtDebugDrawRenderer is the main class that controls the processing flow of the DebugDrawRenderer. Users should not need to create this class.
Definition: debugDrawRendererDriver.h:33
#define DT_DLL_DEBUGDRAWRENDERER
Definition: debugDrawRendererExport.h:19
int myPort
Definition: debugDrawRenderer.h:80
std::list< DtInetTcpSocket * > ClientSocketList
Definition: debugDrawRenderer.h:94
ClientSocketList myClientSockets
Definition: debugDrawRenderer.h:95
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
const int DtDisplayPort
the default port the server application is listening on
Definition: vrfDebugDrawConnector.h:28
DtDebugDrawRendererDriver & myDriver
Definition: debugDrawRenderer.h:75
DtLocklessQueue< DtBaseMessage * > myOutgoingQueue
Definition: debugDrawRenderer.h:77
DtLocklessQueue is a thread safe queue for single reader/single writer. It may block if the queue fil...
Definition: locklessQueue.h:20
DtThread * myWorkerThread
Definition: debugDrawRenderer.h:86
static double theDefaultHeatbeatTimeout
Definition: debugDrawRenderer.h:89