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
vrfplan
simCommandFactory.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 <map>
14
#include <
vrftasks/radioMessageTypes.h
>
15
16
class
DtSimCommandFactoryEntry
;
17
class
DtReaderWriterRegistry
;
18
class
DtSimCommand
;
19
20
typedef
DtSimCommand
* (*DtSimCommandCreatorFcn)();
21
24
#include "
vrfplan/vrfplanDefines.h
"
25
class
DT_DLL_vrfplan
DtSimCommandFactory
26
{
27
public
:
29
DtSimCommandFactory
();
30
32
DtSimCommandFactory
(
const
DtSimCommandFactory
& orig);
33
35
const
DtSimCommandFactory
& operator=(
const
DtSimCommandFactory
& orig);
36
38
virtual
~
DtSimCommandFactory
();
39
41
virtual
void
addCreatorFcn(
const
DtSimCommandMessageType
& type,
42
DtSimCommandCreatorFcn
fcn);
43
44
virtual
DtSimCommand
* createSimCommand(
const
DtSimCommandMessageType
& type);
45
46
virtual
bool
isTypeRegistered(
const
DtSimCommandMessageType
& type);
47
48
static
DtSimCommandFactory
* create();
49
50
protected
:
51
std::map<DtSimCommandMessageType, DtSimCommandFactoryEntry>
myCreatorMap
;
52
};
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
)