VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
simCommandExecutorFactory.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjcore/vrfobjcoreDefines.h
"
14
#include <map>
15
#include "vlutil/vlString.h"
16
#include "
vrftasks/radioMsgTypes.h
"
17
18
class
DtSimCommandExecutor
;
19
class
DtSimManager
;
20
21
typedef
DtSimCommandExecutor
* (*DtSimCommandExecutorCreatorFcn)(
DtSimManager
*);
22
24
class
DT_DLL_vrfobjcore
DtSimCommandExecutorFactory
25
{
26
public
:
27
29
DtSimCommandExecutorFactory
();
30
32
virtual
~
DtSimCommandExecutorFactory
();
33
38
virtual
void
addCreatorFcn(
const
DtSimCommandMessageType
& type,
DtSimCommandExecutorCreatorFcn
fcn);
39
41
virtual
void
removeCreatorFcn(
const
DtSimCommandMessageType
& type,
DtSimCommandExecutorCreatorFcn
fcn);
42
44
virtual
DtSimCommandExecutor
* createSimCommandExecutor(
const
DtSimCommandMessageType
& type,
45
DtSimManager
* simManager)
const
;
46
47
static
DtSimCommandExecutorFactory
* create();
48
49
private
:
51
DtSimCommandExecutorFactory
(
const
DtSimCommandExecutorFactory
& orig);
52
54
DtSimCommandExecutorFactory
& operator=(
const
DtSimCommandExecutorFactory
& orig);
55
56
protected
:
57
58
typedef
std::map<DtSimCommandMessageType, DtSimCommandExecutorCreatorFcn>
DtCreatorMap
;
59
DtCreatorMap
myCreatorMap
;
60
};
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)