VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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
~
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)