VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfplan
taskCommand.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 "
vrfplan/simCommand.h
"
14
#include "
vrfplan/vrfplanDefines.h
"
15
#include "
vrfutil/rwString.h
"
16
17
class
DtSimTask
;
18
22
class
DT_DLL_vrfplan
DtTaskCommand
:
public
DtSimCommand
23
{
24
public
:
26
DtTaskCommand
();
27
29
DtTaskCommand
(
const
DtString
& writeName,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
33
DtTaskCommand
(
const
DtString
& writeName,
const
DtTaskCommand
& orig,
34
DtReaderWriterRegistry
* parentRegistry = NULL);
35
37
virtual
~
DtTaskCommand
();
38
40
DtTaskCommand
&
operator=
(
const
DtTaskCommand
& orig);
41
43
virtual
const
DtSimCommandMessageType
&
type
()
const
;
44
46
virtual
DtSimCommand
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
47
parentRegistry = 0)
const
;
48
50
51
virtual
DtString
objectName()
const
;
52
virtual
void
setObjectName(
const
DtString
& name);
54
56
virtual
const
DtSimTask
*
task
()
const
;
58
virtual
void
setTask(
const
DtSimTask
* task);
59
61
virtual
DtString
stringRep
()
const
;
62
64
virtual
int
netRepSize
()
const
;
65
67
virtual
bool
setFromNet
(
const
char
* contentBuffer,
68
unsigned
contentSize);
69
71
virtual
bool
setToNet
();
72
74
static
DtSimCommand
* creator();
75
76
protected
:
78
79
virtual
void
putData
(FILE *fp,
int
indentLevel = 0);
80
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
81
const
DtVariableBindingsList
& variableBindings);
83
84
protected
:
85
DtRwString
myObjectName
;
86
DtSimTask
*
myTask
;
87
};
88
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)