VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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/radioMessageTypes.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 Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)