VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtThreadedDisplayReconnector.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 
18 
19 #include <vlutil/vlRunnable.h>
20 
21 #include <string>
22 #include <list>
23 
24 class DtThread;
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtDisplayConfiguration;
30  class DtDeCommunicator;
31 
38  {
39  private:
42 
43  public:
45  DtThreadedDisplayReconnector( DtDe& de, DtDeCommunicator& deCommunicator, double retryPeriod );
46 
49 
52  virtual void addLostClient( const std::string& ipAddr, int port,
54 
56 
57  const std::string& ipAddr() const;
58 
60  int port() const;
61 
65 
70 
72  virtual void run();
73 
74 
75  protected:
78  std::string myIpAddr;
79  int myPort;
82  DtThread* myReconnectThread;
83  double myLastRetry;
84  double myRetryPeriod;
86  };
87 }
88 
89 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)