VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleSymbolDriver5.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 <exampleSymbolFacade5.h>
13 
14 #include <vrvCore/DtDriver.h>
15 
17 
18 #include <boost/unordered_set.hpp>
19 
20 #include <matrix/vlVector.h>
21 
22 namespace makVrv
23 {
24 
25  namespace exampleSymbolFacade5
26  {
27 
28  class DtSymbolFacade;
29 
39  : public makVrv::DtDriver
40  {
41  public:
42 
43  typedef boost::unordered_set<DtSymbolFacade*> SymbolList;
44 
45  public:
46 
49 
51  virtual ~DtExampleSymbolDriver();
52 
53 
56 
59  virtual const std::string& className() const;
60 
63  virtual bool onStart();
64 
67  virtual bool onStop();
68 
71  virtual bool onTick();
72 
74 
75 
78 
82  virtual DtSymbolFacade* createSymbol( const std::string& name,
83  const DtVector& pos );
84 
88  virtual DtSymbolFacade* findSymbol( makVrv::DtElementID id );
89 
92  virtual SymbolList selectedSymbols() const;
93 
95  virtual void deleteSelectedSymbols();
96 
98 
99  protected:
100 
104  virtual void positionSymbol( DtSymbolFacade* symbol, const DtVector& pos );
105 
109  virtual void slot_currentSelectionChanged(
110  const makVrv::DtSelectionManager::IdSet& selected,
111  const makVrv::DtSelectionManager::IdSet& deselected,
114 
117  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
118 
119  protected:
120 
122  typedef boost::unordered_map<makVrv::DtElementID,DtSymbolFacade*> SymbolFacadeMap;
123 
126 
129 
130  };
131 
132  }
133 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)