VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtStreamedFeatureManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 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
>
16
#include <
vrvCore/DtStreamedFeatureCreator.h
>
17
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
19
20
#include <string>
21
#include <boost/unordered_map.hpp>
22
23
namespace
makVrv
24
{
31
class
DT_DLL_VRVCORE
DtStreamedFeatureManager
32
{
33
public
:
35
friend
class
DtStreamedFeatureManagerCreator
;
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 )>
59
signal_featureAboutToBeDeleted
;
60
61
protected
:
64
DtStreamedFeatureManager
(
DtDe
& de );
65
67
DtStreamedFeatureManager
();
68
69
protected
:
70
DtDe
&
myDe
;
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
77
FeatureClassCreatorMap
myFeatureClassCreators
;
78
};
79
83
class
DT_DLL_VRVCORE
DtStreamedFeatureManagerCreator
:
public
DtVirtualBaseClass
84
{
85
86
public
:
88
DtStreamedFeatureManagerCreator
()
89
{
90
}
91
93
virtual
~
DtStreamedFeatureManagerCreator
()
94
{
95
}
96
98
virtual
DtStreamedFeatureManager
* create(
DtDe
& de ) = 0;
99
};
100
101
}
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
)