VR-Forces 4.1 Class Documentation
DtVrfAggregateObjectDataStateProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfAggregateObjectDataStateProcessor.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrfGuiCore/DtVrfObjectDataStateObjectAgent.hpp>
18 
19 #include <vrvVrl/vrvVrl.h>
20 //#include <vrvCore/DtSimDataProcessor.h>
21 
24 #include <vrvCore/DtSimEntryObjectAgent.hpp>
25 
26 namespace makVrv
27 {
28  namespace DT_PROTOCOL_NAMESPACE
29  {
30  class DtStateListenerInterface;
31  }
32 }
33 
34 namespace makVrf
35 {
36  namespace VRF_PROTOCOL_NAMESPACE
37  {
41  {
42  public:
43 
46 
49 
52  int sessionId, int messageVersion);
53 
56 
58  void postDrainInput();
59 
62 
65 
68 
71 
74  makVrv::DtSimStateObjectAgent& objectDriver);
75 
76  boost::signal<void (makVrv::DtUniqueID, DtVrfObjectDataState&) > signal_stateUpdated;
77 
78  protected:
79 
81  static void postDrainInput(void* usr);
82 
83  protected:
84 
85  //A Listener and a driver which will be updated with it.
87  {
88  public:
89 
91  DtVrfObjectDataStateObjectAgent& driver,
93 
95 
97 
98  //Are the updaters equal
99  bool operator==(const VrfAggregateObjectDataStateUpdater& orig) const;
100 
102  void update(double timeT);
103 
104  protected:
105 
107  DtVrfObjectDataStateObjectAgent* myObjectAgent;
109  };
110 
111  typedef std::vector<makVrv::DtUniqueID> AggregateIdList;
112 
114  {
116  DtVrfObjectDataStateObjectAgent* myAgent;
118  };
119 
120  typedef std::map<makVrv::DtUniqueID,AggregateSimDataInstance > AggregateAgentMap;
121 
123  typedef std::map<makVrv::DtSimEntryUpdater::UpdateRate,AggregateUpdaterGroup>
125 
126  protected:
127 
129 
132  DtTimedSection myTimer;
133  makVrv::DtSimEntryObjectAgent* mySimEntryAgent;
134 
138 
141  };
142  }
143 }

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)