VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtVrvCommandFactory.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: $ $Revision: 102052 $ $State: $
7
*******************************************************************************/
8
11
12
#pragma once
13
14
#include <
vrvCore/DtVrvCommand.h
>
15
#include <
vrvCore/DtSharedVrvCommandSettings.h
>
16
17
#include <
vrvControl/vrvControlToolkitDataTypes.h
>
18
19
#include <boost/function.hpp>
20
21
namespace
makVrv
22
{
23
class
DtVrvCommand;
24
27
class
DT_DLL_VRVCORE
DtVrvCommandFactory
28
{
29
public
:
31
DtVrvCommandFactory
();
32
34
virtual
~
DtVrvCommandFactory
();
35
37
virtual
void
initialize(
const
DtSharedVrvCommandSettings::DtVrvCommandSeedMap
& seeds,
38
boost::function<
DtUniqueID
(
const
std::string&)> func);
39
41
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
42
43
protected
:
44
typedef
std::map<vrvControlToolkit::DtVrvControlTypeEnum, DtVrvCommandCreator*>
CreatorMap
;
45
CreatorMap
myCreators
;
46
};
47
48
}
//makVrv::
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
)