VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDynamicFeatureLayer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 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 DtEntityFacade;
30 
35  {
36  public:
38  typedef std::map<DtUniqueID, DtEntityFacade*> DynamicFeatureEntityMap;
39 
42 
44  virtual ~DtDynamicFeatureLayer();
45 
48  virtual void addDynamicFeature( DtEntityFacade* dynamicEntity);
49 
52  virtual bool destroyDyanmicFeature( DtUniqueID id );
53 
56  const DynamicFeatureEntityMap& dynamicFeatures() const;
57 
58  protected:
59 
63  void slot_sceneCreated();
64 
66  void slot_postInitialize();
67 
70  virtual void initializeFeatureCreators();
71 
73  typedef boost::unordered_multimap<std::string, std::string> StylesMap;
74 
78  bool readStyleListFile( const std::string& path,
79  const std::string& layerListFileName, StylesMap& map );
80 
81  protected:
82  static const char* theDynamicFeaturesLayerList;
83 
84  protected:
89  std::string myName;
90 
92 
93  boost::signals::connection myPostInitializeConnection;
94 
95  };
96 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)