VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
setLifeFormPosture.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrftasks/setDataReq.h
"
18
#include "
vrfutil/rwIndLifeFormStateType.h
"
19
#include <vlutil/vlNetTypes.h>
20
21
22
25
struct
DtNetSetLifeFormPostureRequest
26
{
27
DtNetU32
myLifeFormPosture
;
28
DtNetU32
padding
;
29
};
30
36
#include "
vrftasks/vrftasksDefines.h
"
37
class
DT_DLL_vrftasks
DtSetLifeFormPostureRequest
:
public
DtSetDataRequest
38
{
39
40
public
:
41
43
DtSetLifeFormPostureRequest
();
44
47
DtSetLifeFormPostureRequest
(
const
DtString
& writeName,
48
DtReaderWriterRegistry
* parentRegistry = 0);
49
51
DtSetLifeFormPostureRequest
(
const
DtString
& writeName,
const
DtSetLifeFormPostureRequest
&
52
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
53
55
const
DtSetLifeFormPostureRequest
&
operator=
(
const
DtSetLifeFormPostureRequest
& orig);
56
57
virtual
~
DtSetLifeFormPostureRequest
();
58
60
virtual
const
DtSetMessageType
&
type
()
const
;
61
63
virtual
DtSetDataRequest
*
clone
(
const
DtString
& name,
64
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
65
67
virtual
DtString
stringRep
()
const
;
68
69
virtual
DtRwIndividualLifeFormStateType
lifeFormPosture()
const
;
70
virtual
void
setLifeFormPosture(
DtRwIndividualLifeFormStateType
& posture);
71
72
virtual
DtLifeformState lifeformState()
const
;
73
virtual
void
setLifeformState(DtLifeformState posture);
74
77
virtual
int
netRepSize
()
const
;
78
80
virtual
bool
setFromNet
(
const
char
* contentBuffer,
81
unsigned
contentSize);
82
85
virtual
bool
setToNet
();
86
87
static
DtSetDataRequest
* creator();
88
89
protected
:
90
91
DtRwIndividualLifeFormStateType
myLifeFormPosture
;
92
93
};
94
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)