VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
controlObjectPublisher.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <vl/environmentProcessPublisher.h>
15 
16 #ifdef DtDIS
19 #elif DtHLA
22 #endif
23 
25 class DtObjectType;
26 
32 {
33 public:
34 
42  DtExerciseConn* conn,
43  const DtObjectType& type,
44 #if DtHLA
45  const DtGlobalObjectDesignator& id = DtGlobalObjectDesignator::nullId(),
46 #endif
47  const DtEntityIdentifier& entId = DtEntityIdentifier::nullId()
48  );
49 
52  DtExerciseConn* conn,
53  const DtObjectType& type,
54 #if DtHLA
55  const DtGlobalObjectDesignator& id = DtGlobalObjectDesignator::nullId(),
56 #endif
57  const DtEntityIdentifier& entId = DtEntityIdentifier::nullId()
58  );
59 
60 #if DtHLA
61  // Create with region set
63  DtExerciseConn* conn,
64  const DtObjectType& type,
65  const DtDDMRegionSet* regionSetToUse,
67  const DtEntityIdentifier& entId = DtEntityIdentifier::nullId()
68  );
69 
72  DtExerciseConn* conn,
73  const DtObjectType& type,
74  const DtDDMRegionSet* regionSetToUse,
76  const DtEntityIdentifier& entId = DtEntityIdentifier::nullId()
77  );
78 #endif
79 
81  virtual ~DtControlObjectPublisher();
82 
83  static DtGlobalObjectDesignator nextId(DtExerciseConn*);
84 
88  virtual void setExtendedData(const DtString& key, const DtString& value);
89  virtual void clearExtendedData();
90  virtual void removeExtendedData(const DtString& key);
91  virtual DtString extendedData(const DtString& key) const;
93 
94 public:
101  virtual void tick();
102 
104  virtual DtControlObjectRepository* cosr();
105 
108  virtual void setSendVrfObjectDataRecord(bool shouldSend);
109 
110 #if !DtTENA
111 
112 
113 
114  virtual DtCtrlPublisherDecoder* decoder();
115 
118  virtual DtCtrlPublisherEncoder* encoder();
119 #endif
120 
121 private:
125 };

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)