VR-Forces 4.6 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
taskStmt.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: taskStmt.h,v $ $Revision: 1.20 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtTaskStmt_H_
13
#define DtTaskStmt_H_
14
15
class
DtTaskStmt
;
16
17
#include "
vrfplan/simStatement.h
"
18
#include <vlutil/vlNetTypes.h>
19
#include "
vrfplan/vrfplanDefines.h
"
20
21
const
char
DtTaskStmtTypeName
[] =
"Task"
;
22
23
class
DtSimTask
;
24
26
class
DT_DLL_vrfplan
DtTaskStmt
:
public
DtSimStatement
27
{
28
public
:
29
32
34
DtTaskStmt
(
DtReaderWriterRegistry
* parentRegistry = NULL);
35
37
DtTaskStmt
(
const
DtTaskStmt
& orig,
38
DtReaderWriterRegistry
* parentRegistry = NULL);
39
41
virtual
~
DtTaskStmt
();
42
44
DtTaskStmt
&
operator=
(
const
DtTaskStmt
& orig);
45
47
virtual
DtSimStatement
*
clone
(
48
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
49
51
virtual
int
type
()
const
;
52
55
virtual
void
execute
(
DtPlan
& planContext);
56
64
virtual
DtString
stringRep
(
int
subBlockIndex = DtSR_STMT)
const
;
65
67
virtual
DtSimTask
*
task
()
const
;
69
virtual
void
setTask(
DtSimTask
* arg);
70
75
virtual
void
putSelf
(std::string& fp,
int
indentLevel = 0,
76
bool
writeUnspecified =
false
,
const
DtFilename& path =
DtReaderWriter::appPath
());
77
80
virtual
void
getSelf
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
81
const
DtVariableBindingsList
& variableBindings);
82
84
virtual
int
netRepSize
()
const
;
85
87
virtual
bool
setFromNet
(
const
char
* contentBuffer,
88
unsigned
contentSize);
89
92
virtual
bool
setToNet
();
93
94
static
DtSimStatement
* creator(
DtReaderWriterRegistry
* parentRegistry = NULL);
95
96
protected
:
97
98
DtSimTask
*
myTask
;
99
};
100
101
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)