VR-Link API Documentation for HLA 1.3
dRefPropNoise.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 #include <vl/propulsionNoiseSR.h>
15 #include <vl/dPropNoiseDec.h>
16 #include <vl/dReflectedObj.h>
17 #include <vl/objIdHashKey.h>
18 
20 
23 typedef void (*DtPropNoiseCallbackFunction)( DtReflectedPropulsionNoise*, void* );
24 
29 {
30 public:
31 
33  typedef DtPropulsionNoiseStateRepository* (*DtStateRepCreator)();
34 
35 public:
36 
39  const DtGlobalObjectDesignator& hostEntity );
40 
42  virtual ~DtReflectedPropulsionNoise();
43 
44 public:
45 
47  virtual inline DtPropulsionNoiseStateRepository* propulsionNoiseRep() const { return myStateRepository; }
48 
50  virtual inline DtPropulsionNoiseStateRepository* psr() const { return myStateRepository; }
51 
54  virtual inline DtStateRepository* stateRep() const { return myStateRepository; }
55 
57  virtual inline DtPropulsionNoiseDecoder* decoder() { return &myDecoder; }
58 
61  virtual void processStateMessage( const DtStateMsg& msg );
62 
64  virtual DtReflectedPropulsionNoise* next() const;
65 
67  virtual DtReflectedPropulsionNoise* prev() const;
68 
71  virtual DtReflectedPropulsionNoise* wrapNext() const;
72 
75  virtual DtReflectedPropulsionNoise* wrapPrev() const;
76 
78  virtual void addPostUpdateCallback( DtPropNoiseCallbackFunction cb, void* userData );
79  virtual void removePostUpdateCallback( DtPropNoiseCallbackFunction cb, void* userData );
80 
82  virtual inline const DtBaseHashKey& hashKey() const { return myHashKey; }
83 
85  virtual inline DtString idString() const { return myIdString; }
86 
89  virtual const DtGlobalObjectDesignator& globalId() const;
90 
91 public:
92 
94  static void setStateRepCreator( DtStateRepCreator creator );
95  static DtStateRepCreator stateRepCreator();
96 
97 protected:
98 
101 
104 
105 protected:
106 
107  static DtStateRepCreator theStateRepCreator;
108 
109 protected:
110 
111  DtObjectIdHashKey myHashKey;
112  DtString myIdString;
113  DtPropulsionNoiseStateRepository* myStateRepository;
115 
116 };
117 
118 #endif // DtDIS

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)