VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtExampleSymbolDriver3.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <exampleSymbolFacade3.h>
13 
14 #include <vrvCore/DtDriver.h>
15 
17 
18 #include <boost/unordered_set.hpp>
19 
20 class DtVector;
21 
22 namespace makVrv
23 {
24 
25  namespace exampleSymbolFacade3
26  {
27 
28  class DtSymbolFacade;
29 
40  : public makVrv::DtDriver
41  {
42  public:
43 
44  typedef boost::unordered_set<DtSymbolFacade*> SymbolList;
45 
46  public:
47 
50 
52  virtual ~DtExampleSymbolDriver();
53 
54 
57 
60  virtual const std::string& className() const;
61 
64  virtual bool onStart();
65 
68  virtual bool onStop();
69 
72  virtual bool onTick();
73 
75 
76 
79 
83  virtual DtSymbolFacade* createSymbol( const std::string& name,
84  const DtVector& pos );
85 
89  virtual DtSymbolFacade* findSymbol( makVrv::DtElementID id );
90 
93  virtual SymbolList selectedSymbols() const;
94 
96 
97  protected:
98 
102  virtual void positionSymbol( DtSymbolFacade* symbol, const DtVector& pos );
103 
107  virtual void slot_currentSelectionChanged(
108  const makVrv::DtSelectionManager::IdSet& selected,
109  const makVrv::DtSelectionManager::IdSet& deselected,
112 
115  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
116 
117  protected:
118 
120  typedef boost::unordered_map<makVrv::DtElementID,DtSymbolFacade*> SymbolFacadeMap;
121 
124 
127 
128  };
129 
130  }
131 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)