VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
diGuyAnimationTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/simTask.h
"
12
#include <vlutil/vlNetTypes.h>
13
#include "
vrfutil/rwString.h
"
14
#include "
vrfutil/rwReal.h
"
15
#include "
vrftasks/radioMsgTypes.h
"
16
17
#include "
vrftasks/vrftasksDefines.h
"
18
class
DT_DLL_vrftasks
DtDiGuyAnimationTask
:
public
DtSimTask
19
{
20
public
:
21
23
DtDiGuyAnimationTask
();
24
26
DtDiGuyAnimationTask
(
const
DtString
& writeName,
27
DtReaderWriterRegistry
* parentRegistry = 0);
28
30
virtual
~
DtDiGuyAnimationTask
();
31
33
DtDiGuyAnimationTask
(
const
DtString
& writeName,
const
34
DtDiGuyAnimationTask
& orig,
DtReaderWriterRegistry
*
35
parentRegistry = 0);
36
static
DtSimTask
* creator();
37
virtual
const
DtSimTaskMessageType
&
type
()
const
;
38
39
virtual
const
DtString
& animation()
const
;
40
virtual
void
setAnimation(
const
DtString
& retreatKind);
41
42
virtual
const
double
animationDuration()
const
;
43
virtual
void
setAnimationDuration(
const
double
time);
44
46
virtual
DtString
stringRep
()
const
;
47
48
private
:
50
DtDiGuyAnimationTask
&
operator=
(
const
DtDiGuyAnimationTask
& orig);
51
52
protected
:
53
55
virtual
DtSimTask
*
clone
(
const
DtString
& name,
56
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
57
58
virtual
int
netRepSize
()
const
;
59
60
virtual
bool
setFromNet
(
const
char
* contentBuffer,
61
unsigned
contentSize);
62
virtual
bool
setToNet
();
63
64
65
protected
:
66
67
DtRwString
myAnimation
;
70
DtRwReal
myAnimationDuration
;
71
};
72
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
)