VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtStreamedFeatureManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <vrvCore/DtDe.h>
15 #include <vrvCore/DtUniqueID.h>
17 
19 
20 #include <string>
21 #include <boost/unordered_map.hpp>
22 
23 namespace makVrv
24 {
32  {
33  public:
36 
38  virtual ~DtStreamedFeatureManager();
39 
52  virtual void addStreamedFeatureCreator(
53  const std::string& registrantName,
54  const std::string& styleName,
55  DtStreamedFeatureCreator* creator );
56 
58  boost::signal<void ( const std::string& registrantName, DtUniqueID featurId )>
60 
61  protected:
65 
68 
69  protected:
71 
72  typedef std::pair<std::string, DtStreamedFeatureCreator*> CreatorElement;
73  typedef boost::unordered_multimap<std::string, CreatorElement> FeatureClassCreatorMap;
74  typedef std::pair<FeatureClassCreatorMap::iterator,FeatureClassCreatorMap::iterator> RangeIterFeatureClassToCreator;
75  typedef std::pair<FeatureClassCreatorMap::const_iterator,FeatureClassCreatorMap::const_iterator> ConstRangeIterFeatureClassToCreator;
76 
78  };
79 
84  {
85 
86  public:
89  {
90  }
91 
94  {
95  }
96 
98  virtual DtStreamedFeatureManager* create( DtDe& de ) = 0;
99  };
100 
101 }

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)