VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
ceAltitude.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ceAltitude.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtCeSAltitudeOperator_H_
13
#define DtCeSAltitudeOperator_H_
14
15
#include "
vrfutil/condExpr.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "
vrfutil/rwString.h
"
18
19
const
char
DtCeAltitudeTypeName
[] =
"Altitude"
;
20
21
const
char
DtCeAltitudeLessThan
[] =
"<"
;
22
const
char
DtCeAltitudeLessThanOrEqualTo
[] =
"<="
;
23
const
char
DtCeAltitudeGreaterThan
[] =
">"
;
24
const
char
DtCeAltitudeGreaterThanOrEqualTo
[] =
">="
;
25
const
char
DtCeAltitudeEqualTo
[] =
"="
;
26
29
struct
DtNetCeAltitude
30
{
31
DtNetFloat64
myAltitude
;
32
DtNetU8
myEntityNameStringLength
;
33
DtNetU8
myModifierStringLength
;
34
DtNetU8
myOperStringLength
;
35
DtNetU8
myPadding
;
36
DtNetU8
myPadding1
;
37
DtNetU8
myPadding2
;
38
DtNetU8
myPadding3
;
39
DtNetU8
myPadding4
;
40
41
42
};
43
50
#include "
vrfutil/vrfutilDefines.h
"
51
class
DT_DLL_vrfutil
DtCeAltitude
:
public
DtSimCondExpr
52
{
53
public
:
54
56
DtCeAltitude
();
57
59
DtCeAltitude
(
DtReaderWriterRegistry
* parentRegistry);
60
62
DtCeAltitude
(
const
DtCeAltitude
& orig,
63
DtReaderWriterRegistry
* parentRegistry = NULL);
64
66
virtual
~
DtCeAltitude
();
67
69
DtCeAltitude
&
operator=
(
const
DtCeAltitude
& orig);
70
72
virtual
DtSimCondExpr
*
clone
(
73
DtReaderWriterRegistry
* parentRegistry = NULL);
74
76
virtual
int
type
()
const
;
77
79
virtual
void
setEntityName(
const
DtString
& name);
80
virtual
const
DtString
& entityName()
const
;
81
88
virtual
void
setModifier(
const
DtString
& arg);
89
virtual
const
DtString
& modifier()
const
;
90
92
virtual
void
setAltitude(DtReal alt);
93
virtual
DtReal altitude()
const
;
94
96
virtual
void
setOper(
const
DtString
& arg);
97
virtual
const
DtString
& oper()
const
;
98
108
virtual
DtString
stringRep
(
int
subExprIndex = DtSR_EXPR)
const
;
109
112
virtual
int
netRepSize
()
const
;
113
115
virtual
bool
setFromNet
(
const
char
* contentBuffer,
116
unsigned
contentSize);
117
120
virtual
bool
setToNet
();
121
122
static
DtSimCondExpr
* creator();
123
124
protected
:
125
DtRwString
myEntityName
;
126
DtRwString
myModifier
;
127
DtRwReal
myAltitude
;
128
DtRwString
myOper
;
129
};
130
131
#endif
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
)