VR-Forces 4.7 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
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
46
virtual
void
registerDefaultCreatorFcn(
DtSimCommandExecutorCreatorFcn
fcn);
47
49
virtual
DtSimCommandExecutor
* createSimCommandExecutor(
const
DtSimCommandMessageType
& type,
50
DtSimManager
* simManager)
const
;
51
52
static
DtSimCommandExecutorFactory
* create();
53
54
private
:
56
DtSimCommandExecutorFactory
(
const
DtSimCommandExecutorFactory
& orig);
57
59
DtSimCommandExecutorFactory
& operator=(
const
DtSimCommandExecutorFactory
& orig);
60
61
protected
:
62
63
typedef
std::map<DtSimCommandMessageType, DtSimCommandExecutorCreatorFcn>
DtCreatorMap
;
64
DtCreatorMap
myCreatorMap
;
65
66
DtSimCommandExecutorCreatorFcn
myDefaultCreator
;
67
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)