VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
simTaskState.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfutil/rdrWritr.h
"
14
#include "
vrftasks/taskStateFactory.h
"
15
#include "
vrftasks/vrftasksDefines.h
"
16
26
class
DT_DLL_vrftasks
DtSimTaskState
:
public
DtReaderWriter
27
{
28
public
:
30
DtSimTaskState
();
31
35
DtSimTaskState
(
const
DtString
& writeName,
36
DtReaderWriterRegistry
* parentRegistry = 0);
37
39
DtSimTaskState
(
const
DtString
& writeName,
const
DtSimTaskState
& orig,
40
DtReaderWriterRegistry
* parentRegistry = 0);
41
43
const
DtSimTaskState
&
operator=
(
const
DtSimTaskState
& orig);
44
46
virtual
~
DtSimTaskState
();
47
50
virtual
bool
init
();
51
59
virtual
DtString
type()
const
;
60
65
virtual
DtSimTaskState
* clone(
const
DtString
& name,
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
66
69
virtual
void
putData
(FILE *fp,
int
indentLevel = 0);
70
73
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtFilename& searchPath,
74
const
DtVariableBindingsList
& variableBindings);
75
86
static
DtSimTaskState
* createTaskState(DtlObjPtr mtlStream);
87
static
DtSimTaskState
* createTaskState(
DtString
taskStateType);
88
90
static
void
addTaskStateCreatorFcn(
const
DtString
& taskName,
91
DtSimTaskStateCreatorFcn
fcn);
92
93
static
void
setFactory(
DtSimTaskStateFactory
* factory);
94
static
DtSimTaskStateFactory
*
factory
();
95
96
static
bool
isTypeRegistered(
DtString
type);
97
98
static
DtSimTaskStateFactory
*
myFactory
;
99
};
100
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)