VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iffPublisher.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtTENA
11 
12 #pragma once
13 
14 #include <vlTena/objectPublisher.h>
15 #include <vl/objectId.h>
16 
17 class DtIffStateRepository;
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtTenaBroker
23  {
24 
25  class DtExerciseConn;
26  class DtTenaServantObject;
27 
31  class DT_DLL_VLTENA DtIffPublisher : public DtObjectPublisher
32  {
33  public:
34 
36  typedef DtIffStateRepository* (*DtStateRepCreator)();
37 
38  public:
39 
42  DtIffPublisher( DtExerciseConn* conn,
43  const DtObjectId& id = DtObjectId::defaultId() );
44 
48  DtIffPublisher( DtIffAtcNavaidsSysType type,
49  DtExerciseConn* conn, const DtObjectId& id = DtObjectId::defaultId() );
50 
52  virtual ~DtIffPublisher();
53 
56  virtual bool tick();
57 
59  virtual DtIffStateRepository* iffStateRep();
60 
62  virtual DtIffStateRepository* isr();
63 
66  virtual DtString interfaceToUse() const;
67 
68  public:
69 
70  static void setStateRepCreator(DtStateRepCreator creator);
71  static DtStateRepCreator stateRepCreator();
72 
73  protected:
74 
77  void initialize();
78 
79  protected:
80 
81  DtIffPublisher(const DtIffPublisher& orig);
82 
83  DtIffPublisher& operator=(const DtIffPublisher& orig);
84 
85  protected:
86 
87  static DtStateRepCreator theStateRepCreator;
88 
89  };
90 
91  }
92 }
93 
94 #endif // DtTENA

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)