VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleSymbolDriver4.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 <exampleSymbolFacade4.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 exampleSymbolFacade4
26  {
27 
28  class DtSymbolFacade;
29 
38  : public makVrv::DtDriver
39  {
40  public:
41 
42  typedef boost::unordered_set<DtSymbolFacade*> SymbolList;
43 
44  public:
45 
48 
50  virtual ~DtExampleSymbolDriver();
51 
52 
55 
58  virtual const std::string& className() const;
59 
62  virtual bool onStart();
63 
66  virtual bool onStop();
67 
70  virtual bool onTick();
71 
73 
74 
77 
81  virtual DtSymbolFacade* createSymbol( const std::string& name,
82  const DtVector& pos );
83 
87  virtual DtSymbolFacade* findSymbol( makVrv::DtElementID id );
88 
91  virtual SymbolList selectedSymbols() const;
92 
94 
95  protected:
96 
100  virtual void positionSymbol( DtSymbolFacade* symbol, const DtVector& pos );
101 
105  virtual void slot_currentSelectionChanged(
106  const makVrv::DtSelectionManager::IdSet& selected,
107  const makVrv::DtSelectionManager::IdSet& deselected,
110 
113  virtual void slot_displayEngineAdded( const makVrv::DtDeRecord& igRecord );
114 
115  protected:
116 
118  typedef boost::unordered_map<makVrv::DtElementID,DtSymbolFacade*> SymbolFacadeMap;
119 
122 
125 
126  };
127 
128  }
129 }

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)