VR-Forces 4.1 Class Documentation
DtVrfObjectDataStateProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfObjectDataStateProcessor.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrfGuiCore/DtVrfObjectDataStateObjectAgent.hpp>
16 
17 #include <vrvVrl/vrvVrl.h>
18 //#include <vrvCore/DtSimDataProcessor.h>
21 
24 #include <vrvCore/DtSimEntryObjectAgent.hpp>
25 
26 namespace makVrv
27 {
28  class DtEntityStateListener;
29 
30  namespace DT_PROTOCOL_NAMESPACE
31  {
32  class DtEntityExistenceListener;
33  class DtStateListenerInterface;
34  }
35 }
36 
37 namespace makVrf
38 {
39  namespace VRF_PROTOCOL_NAMESPACE
40  {
43  {
44  public:
45 
48 
51 
54 
57 
59  void postDrainInput();
60 
63 
66 
69 
72 
75  makVrv::DtSimStateObjectAgent& objectDriver);
76 
77  boost::signal<void (makVrv::DtUniqueID, DtVrfObjectDataState&) > signal_stateUpdated;
78 
79  protected:
80 
82  static void postDrainInput(void* usr);
85 
86  protected:
87 
88  //A Listener and a driver which will be updated with it.
90  {
91  public:
92 
94  DtVrfObjectDataStateObjectAgent& driver, DtVrfObjectDataStateProcessor&);
95 
97 
99 
100  //Are the updaters equal
101  bool operator==(const VrfObjectDataStateUpdater& orig) const;
102 
104  void update(double timeT);
105 
106  protected:
107 
109  DtVrfObjectDataStateObjectAgent* myObjectAgent;
111  };
112 
113  typedef std::vector<makVrv::DtUniqueID> EntityIdList;
114 
116  {
118  DtVrfObjectDataStateObjectAgent* myAgent;
120  };
121 
122  typedef std::map<makVrv::DtUniqueID,EntitySimDataInstance > EntityAgentMap;
123 
125  typedef std::map<makVrv::DtSimEntryUpdater::UpdateRate,EntityUpdaterGroup>
127 
128  protected:
129 
131 
134  DtTimedSection myTimer;
135  makVrv::DtSimEntryObjectAgent* mySimEntryAgent;
136 
140 
141  std::map<makVrv::DtUniqueID, DtVrfObjectDataState> myCache;
142 
145  };
146  }
147 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)