VR-Vantage API Documentation
ctrlObjPub.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ctrlObjPub.h,v $ $Revision: 1.11 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef CTRLOBJPUB_H
10 #define CTRLOBJPUB_H
11 #include <vl/envProcPub.h>
14 
15 #ifdef DtDIS
16 typedef DtEnvironmentProcessEncoder DtCtrlPublisherEncoder;
17 typedef DtEnvironmentProcessDecoder DtCtrlPublisherDecoder;
18 #elif DtHLA
19 typedef DtHlaStateEncoder DtCtrlPublisherEncoder;
20 typedef DtHlaStateDecoder DtCtrlPublisherDecoder;
21 #endif
22 
24 class DtObjectType;
25 
30 class DT_DLL_vrfExtObjects DtControlObjectPublisher : public DtEnvironmentProcessPublisher
31 {
32 public:
40  DtExerciseConn* conn,
41  const DtObjectType& type,
42  const DtGlobalObjectDesignator& id = DtVrfObjectIdGenerator::nullId()
43  );
44 
45 #if DtHLA
46  // Create with region set
48  DtExerciseConn* conn,
49  const DtObjectType& type,
50  const DtDDMRegionSet* regionSetToUse,
51  const DtGlobalObjectDesignator& id = DtVrfObjectIdGenerator::nullId()
52  );
53 #endif
54 
56  virtual ~DtControlObjectPublisher();
57 
58  static DtGlobalObjectDesignator nextId(DtExerciseConn*);
59 
60 public:
67  virtual void tick();
68 
70  virtual DtControlObjectRepository* cosr();
71 
72 #if !DtTENA
73 
74 
75 
76  virtual DtCtrlPublisherDecoder* decoder();
77 
80  virtual DtCtrlPublisherEncoder* encoder();
81 #endif
82 
83 private:
87 };
88 
89 #endif


Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)