VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtStreamedFeatureLayer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtUniqueID.h>
14 
16 
17 #include <matrix/vlVector.h>
18 
19 #include <map>
20 #include <list>
21 #include <string>
22 
23 #include <boost/unordered_map.hpp>
24 
25 namespace makVrv
26 {
27  class DtDe;
28  class DtAgentManagerInterface;
29  class DtProp;
30 
35  {
36  public:
38  typedef std::map<DtUniqueID, DtProp*> StreamedFeatureMap;
39 
42 
44  virtual ~DtStreamedFeatureLayer();
45 
50  // The initial (streamed-in) location of the object
54  virtual void addFeature( DtProp* feature, DtUniqueID elementId );
55 
58  virtual bool destroyFeature( DtUniqueID elementId );
59 
62  virtual DtProp* findFeature( DtUniqueID elementId );
63 
65  const StreamedFeatureMap& features() const;
66 
67  protected:
68 
72  void slot_sceneCreated();
73 
75  void slot_postInitialize();
76 
79  virtual void initializeFeatureCreators();
80 
82  typedef boost::unordered_multimap<std::string, std::string> StylesMap;
83 
87  bool readStyleListFile( const std::string& path,
88  const std::string& layerListFileName, StylesMap& map );
89 
90  protected:
95  std::string myName;
96 
98 
99  boost::signals::connection myPostInitializeConnection;
100  };
101 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)