VR-Forces 4.1.1 Class Documentation
DtStateViewDriver.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2008 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 // /******************************************************************************
6 // ** $RCSfile: DtStateViewDriver.h,v $ $Revision: 1.1 $ $State: Exp $
7 // ******************************************************************************/
8 
11 
12 #ifndef DtStateViewDriver_H_
13 #define DtStateViewDriver_H_
14 
15 #include <vrvCore/DtDriver.h>
16 #include <vrvCore/DtAgentManager.h>
17 #include <vrvCore/DtEntityState.h>
18 
19 using namespace makVrv;
20 
21 namespace makVrv
22 {
23  class DtObserver;
24  class DtSimEntry;
25 }
26 
32 {
33 public:
35  DtStateViewDriver(DtAgentManager& agentManager,
36  const std::string& instanceName);
37 
39  virtual ~DtStateViewDriver();
40 
42  virtual const std::string& className() const;
43 
44 protected:
45 
49 
52  virtual bool onStart();
53 
55  virtual bool onStop();
56 
58  virtual void slot_displayEngineAdded( const DtDeRecord& igRecord );
59 
61  virtual bool onTick();
62 
65  virtual void handleAttachToChanged(DtObserver* observer);
66 
68  DtSimEntry* findSimEntry( DtUniqueID elementId );
69 
71  void disableCurrentStateView();
72 
74  virtual void slot_stateViewUpdated(DtVrlinkEntityStateView* stateView);
75 
78  virtual void slot_simObjectRemoved(DtSimObjectEntry&);
79 
82 };
83 
84 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)