VR-Forces 4.5 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
include
vrfutil
rwScriptInformation.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfutil/readerWriter.h
"
15
#include "
vrfutil/rwInt.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "
vrfutil/rwBoolean.h
"
18
#include "
vrfutil/rwString.h
"
19
23
#include "
vrfutil/vrfutilDefines.h
"
24
class
DT_DLL_vrfutil
DtRwScriptInformation
:
public
DtReaderWriter
25
{
26
public
:
27
29
DtRwScriptInformation
();
30
32
DtRwScriptInformation
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
33
parentRegistry = NULL);
34
DtRwScriptInformation
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
const
35
parentRegistry = NULL);
36
38
virtual
~
DtRwScriptInformation
();
39
41
DtRwScriptInformation
(
const
DtString
& name,
const
DtRwScriptInformation
& orig,
42
DtReaderWriterRegistry
* parentRegistry = NULL);
43
DtRwScriptInformation
(
const
DtSymbolString
& name,
const
DtRwScriptInformation
& orig,
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
47
DtRwScriptInformation
&
operator=
(
const
DtRwScriptInformation
& orig);
48
50
DtRwScriptInformation
* clone()
const
;
51
52
bool
operator==
(
const
DtRwScriptInformation
&)
const
;
53
bool
operator!=
(
const
DtRwScriptInformation
&)
const
;
54
56
57
void
setScriptId(
const
DtString
&);
58
const
DtString
& scriptId()
const
;
59
60
void
setTickPeriod(
double
);
61
double
tickPeriod()
const
;
62
63
void
setNextTickTime(
double
);
64
double
nextTickTime()
const
;
65
66
void
setTickWhilePaused(
bool
);
67
bool
tickWhilePaused()
const
;
68
69
void
setNextTickTimeWhilePaused(
double
);
70
double
nextTickTimeWhilePaused()
const
;
71
72
bool
checkpointModeUseCheckpointState
()
const
{
return
myCheckpointModeUseCheckpointState; }
73
void
setCheckpointModeUseCheckpointState
(
bool
enable) { myCheckpointModeUseCheckpointState = enable; }
74
75
void
setBackgroundProcessId(
int
);
76
int
backgroundProcessId()
const
;
78
79
protected
:
80
DtRwString
myScriptId
;
81
DtRwReal
myTickPeriod
;
82
DtRwReal
myNextTickTime
;
83
DtRwInt
myBackgroundProcessId
;
84
DtRwBoolean
myTickWhilePaused
;
85
DtRwBoolean
myCheckpointModeUseCheckpointState
;
86
DtReal
myNextTickTimeWhilePaused
;
87
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)