19 #include <vlutil/vlRunnable.h>
29 class DtDisplayConfiguration;
30 class DtDeCommunicator;
56 const std::string&
ipAddr()
const;
DtDisplayConfiguration myDisplayConfig
Definition: DtThreadedDisplayReconnector.h:80
DtThread * myReconnectThread
Definition: DtThreadedDisplayReconnector.h:82
std::string myIpAddr
Definition: DtThreadedDisplayReconnector.h:78
Contains the DtLocklessQueue class declaration.
double myRetryPeriod
Definition: DtThreadedDisplayReconnector.h:84
DtLocklessQueue is a thread safe queue for single reader/single writer. It may block if the queue fil...
Definition: DtLocklessQueue.h:21
DtDe & myDe
Definition: DtThreadedDisplayReconnector.h:76
DtLocklessQueue< DtTcpMessageClient * > * myClientReturnQueue
Definition: DtThreadedDisplayReconnector.h:81
const DtDisplayConfiguration & displayConfig() const
Return the display configuration (cached when addLostClient was called) to send to the newly connecte...
virtual void run()
This is what runs in the thread to attempt to connect each retry period.
virtual ~DtThreadedDisplayReconnector()
Destructor. Stops/Deletes the thread, deletes the lockless queue.
This owns a list of window configurations.
Definition: DtDisplayConfiguration.h:47
const std::string & ipAddr() const
Return the ip address of the RDE to try to reconnect to.
Contains makVrv::DtDisplayConfiguration class.
The class responsible for managing communication between multiple DtDe instances typically running in...
Definition: DtDeCommunicator.h:31
bool myReconnected
Definition: DtThreadedDisplayReconnector.h:85
DtThreadedDisplayReconnector()
(Unimplemented) Default CTOR
The class responsible for restarting a specific disconnected remote display. It uses a separate threa...
Definition: DtThreadedDisplayReconnector.h:37
virtual void addLostClient(const std::string &ipAddr, int port, const DtDisplayConfiguration &displayConfig)
DtDeRemoteDisplayConnector calls this to start a thread and save all the information we need about th...
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:70
int myPort
Definition: DtThreadedDisplayReconnector.h:79
double myLastRetry
Definition: DtThreadedDisplayReconnector.h:83
DtDeCommunicator & myDeCommunicator
Definition: DtThreadedDisplayReconnector.h:77
int port() const
Return the port of the RDE to try to reconnect to.
Contains DLL export macros.
DtLocklessQueue< DtTcpMessageClient * > * getQueue()
Get a pointer to the lockless queue. Will return NULL if addLostClient() hasn't been called...