VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
simCommandExecutor.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
#ifndef simCommandExecutor_h
12
#define simCommandExecutor_h
13
14
#include "
vrfobjcore/vrfobjcoreDefines.h
"
15
#include <vlutil/vlString.h>
16
#include "
vrftasks/radioMsgTypes.h
"
17
18
class
DtSimManager
;
19
class
DtSimCommand
;
20
class
DtSimCommandExecutorFactory
;
21
22
28
29
class
DT_DLL_vrfobjcore
DtSimCommandExecutor
30
{
31
public
:
32
DtSimCommandExecutor
(
DtSimManager
* simManager);
33
34
virtual
~
DtSimCommandExecutor
();
35
44
virtual
bool
execute(
const
DtSimCommand
* command) = 0;
45
52
virtual
bool
execute(
const
DtSimCommand
* command,
const
DtString
& objectName);
53
55
static
void
setFactory(
DtSimCommandExecutorFactory
* factory);
56
59
static
DtSimCommandExecutor
* createSimCommandExecutor(
const
DtSimCommandMessageType
& type,
DtSimManager
* simManager);
60
61
private
:
63
DtSimCommandExecutor
();
65
DtSimCommandExecutor
(
const
DtSimCommandExecutor
& orig);
67
DtSimCommandExecutor
& operator=(
const
DtSimCommandExecutor
& orig);
68
69
protected
:
70
DtSimManager
*
mySimManager
;
71
72
static
DtSimCommandExecutorFactory
*
myFactory
;
73
};
74
75
#endif
76
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)