VR-Link API Documentation for HLA Evolved
tIffPub.h
Go to the documentation of this file.
1 //********************************************************************
4 //********************************************************************
5 //********************************************************************
7 //********************************************************************
8 
9 #ifndef tIffPub_H_
10 #define tIffPub_H_
11 
12 #if DtTENA
13 
14 #include "tObjPub.h"
15 #include "iffSR.h"
16 #include "objectId.h"
17 
21 
23 class DT_DLL_VL DtTenaServantObject;
24 
29 {
30 public:
32  typedef DtIffStateRepository* (*DtStateRepCreator)();
33 
34 public:
38  DtExerciseConn* conn,
39  const DtObjectId& id = DtObjectId::defaultId());
40 
46  DtExerciseConn* conn,
47  const DtObjectId& id = DtObjectId::defaultId());
48 
50  virtual ~DtIffPublisher();
51 
54  virtual bool tick();
55 
57  virtual DtIffStateRepository* iffStateRep();
58 
60  virtual DtIffStateRepository* isr();
61 
64  virtual DtString interfaceToUse() const;
65 
66 public:
67  static void setStateRepCreator(DtStateRepCreator creator);
68  static DtStateRepCreator stateRepCreator();
69 
70 protected:
71  DtIffPublisher(const DtIffPublisher& orig);
72 
74 
75 protected:
78  void initialize();
79 
80 protected:
81  static DtStateRepCreator theStateRepCreator;
82 };
83 
84 #endif
85 #endif
86 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)