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
examples
addSimCommand
addSimCommandSim
mySimCommandExecutor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: mySimCommandExecutor.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
9
//\file mySimCommandExecutor.h
10
//\brief MySimCommandExecutor.
11
12
#ifndef MySimCommandExecutor_h_
13
#define MySimCommandExecutor_h_
14
15
#include "
vrfobjcore/simCommandExecutor.h
"
16
17
//\brief Executor for the MySimCommand DtSimCommand.
18
//Prints the text specified in the command to the console.
19
20
class
MySimCommandExecutor
:
public
DtSimCommandExecutor
21
{
22
public
:
23
MySimCommandExecutor
(
DtSimManager
* simManager);
24
25
virtual
~MySimCommandExecutor
();
26
27
//Prints message to the sim engine console.
28
virtual
bool
execute
(
const
DtSimCommand
* command);
29
30
//Prints message to the objectConsole for the named object.
31
virtual
bool
execute
(
const
DtSimCommand
* command,
const
DtString
& objectName);
32
33
//\return A new instance of this class.
34
static
DtSimCommandExecutor
*
create
(
DtSimManager
* simManager);
35
36
private
:
37
//Not implemented.
38
MySimCommandExecutor
();
39
//Not implemented.
40
MySimCommandExecutor
(
const
MySimCommandExecutor
& orig);
41
//Not implemented.
42
MySimCommandExecutor
&
operator=
(
const
MySimCommandExecutor
& orig);
43
};
44
45
#endif
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)