VR-Forces 4.1 Class Documentation
DtVrfEnvironmentObjectDataStateProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfEnvironmentObjectDataStateProcessor.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrfGuiCore/DtVrfObjectDataStateObjectAgent.hpp>
16 
17 #include <vrvVrl/vrvVrl.h>
18 
20 
23 #include <vrvCore/DtSimEntryObjectAgent.hpp>
24 
25 namespace makVrv
26 {
27  namespace DT_PROTOCOL_NAMESPACE
28  {
29  class DtStateListenerInterface;
30  }
31 }
32 
33 namespace makVrf
34 {
35  namespace VRF_PROTOCOL_NAMESPACE
36  {
39  {
40  public:
41 
44 
47 
50  int sessionId, int messageVersion);
51 
54 
56  void postDrainInput();
57 
60 
63 
66 
69 
72  makVrv::DtSimStateObjectAgent& objectDriver);
73 
74  boost::signal<void (makVrv::DtUniqueID, DtVrfObjectDataState&) > signal_stateUpdated;
75 
76  protected:
77 
79  static void postDrainInput(void* usr);
80 
81  protected:
82 
83  //A Listener and a driver which will be updated with it.
85  {
86  public:
87 
89  DtVrfObjectDataStateObjectAgent& driver,
91 
93 
95 
96  //Are the updaters equal
97  bool operator==(const VrfEnvironmentObjectDataStateUpdater& orig) const;
98 
100  void update(double timeT);
101 
102  protected:
103 
105  DtVrfObjectDataStateObjectAgent* myObjectAgent;
107  };
108 
109  typedef std::vector<makVrv::DtUniqueID> EnvironmentIdList;
110 
112  {
114  DtVrfObjectDataStateObjectAgent* myAgent;
116  };
117 
118  typedef std::map<makVrv::DtUniqueID,EnvironmentSimDataInstance > EnvironmentAgentMap;
119 
121  typedef std::map<makVrv::DtSimEntryUpdater::UpdateRate,EnvironmentUpdaterGroup>
123 
124  protected:
125 
127 
130  DtTimedSection myTimer;
131  makVrv::DtSimEntryObjectAgent* mySimEntryAgent;
132 
136 
139  };
140  }
141 }

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)