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
DtPropAdderFactory.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtPropAdderFactory.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
#include <
vrvUtil/DtVirtualBaseClass.h
>
17
#include <string>
18
#include <map>
19
20
namespace
makVrv
21
{
22
23
class
DtPropAdder;
24
class
DtPropAdderCreator;
25
class
DtAgentManagerInterface;
26
class
DtDe;
27
30
class
DT_DLL_VRVCORE
DtPropAdderFactory
:
public
DtVirtualBaseClass
31
{
32
public
:
34
static
DtPropAdderFactory
& instance(
DtDe
& de);
35
37
virtual
~
DtPropAdderFactory
();
38
40
DtPropAdder
* createAdder(
const
std::string&
filename
,
41
DtAgentManagerInterface
& agentManagerInterface);
42
44
void
setAdderCreator(
const
std::string& extension,
45
DtPropAdderCreator
* creator);
46
47
protected
:
48
DtPropAdderFactory
();
49
51
static
std::string extractFileExtension(
const
std::string& fileToOpen );
52
53
protected
:
54
55
typedef
std::map<std::string,DtPropAdderCreator*>
CreatorMap
;
56
CreatorMap
myCreators
;
57
};
58
}
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
)