VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDeRemoteDisplayReconnector.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
16 #include <string>
17 #include <list>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtDisplayConfiguration;
23  class DtDeCommunicator;
24  class DtTcpMessageClient;
25  class DtThreadedDisplayReconnector;
26 
35  {
36  public:
37 
39  DtDeRemoteDisplayReconnector(DtDe& de, DtDeCommunicator& deCommunicator);
40 
43  typedef std::list<DtThreadedDisplayReconnector*> DtThreadedDisplayReconnectors;
44 
47 
53  virtual void tick();
54 
56 
57 
58  virtual void setRetryPeriod( double period );
59  virtual double retryPeriod() const;
61 
63  virtual void addLostRemoteDisplay( const std::string& ipAddr, int port,
64  const DtDisplayConfiguration& displayConfig );
65 
70  virtual void addLostRemoteDisplay( DtTcpMessageClient* client );
71 
73  virtual void removeLostRemoteDisplay( const std::string& ipAddr, int port );
74 
75  private:
76 
79 
80  protected:
81 
85  double myRetryPeriod;
86  };
87 }
88 
89 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)