VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrftasks
launchExpendableResourceTask.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
10
#pragma once
11
12
#include <vlutil/vlNetTypes.h>
13
14
#include "
vrftasks/simTask.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "
vrfutil/rwInt.h
"
18
#include "
vrfutil/iteratorBase.h
"
29
#include "
vrftasks/vrftasksDefines.h
"
30
class
DT_DLL_vrftasks
DtLaunchExpendableResourceTask
:
public
DtSimTask
31
{
32
33
public
:
34
36
DtLaunchExpendableResourceTask
();
37
40
DtLaunchExpendableResourceTask
(
const
DtString
& writeName,
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
DtLaunchExpendableResourceTask
(
const
DtString
& writeName,
const
DtLaunchExpendableResourceTask
& orig,
45
DtReaderWriterRegistry
* parentRegistry = 0);
46
48
const
DtLaunchExpendableResourceTask
&
operator=
(
const
DtLaunchExpendableResourceTask
& orig);
49
50
virtual
~
DtLaunchExpendableResourceTask
();
51
52
virtual
const
DtSimTaskMessageType
&
type
()
const
;
53
55
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
56
parentRegistry = 0)
const
;
57
59
virtual
DtString
stringRep
()
const
;
60
62
virtual
const
DtString
& expendableResourceName()
const
;
63
virtual
void
setExpendableResourceName(
const
DtString
& name);
64
66
virtual
const
int
numberToFire()
const
;
67
virtual
void
setNumberToFire(
const
int
number);
68
70
virtual
const
double
timeIntervalBetweenFiring()
const
;
71
virtual
void
setTimeIntervalBetweenFiring(
const
double
interval);
72
73
virtual
int
netRepSize
()
const
;
74
virtual
bool
setFromNet
(
const
char
* contentBuffer,
unsigned
contentSize);
75
virtual
bool
setToNet
();
76
77
static
DtSimTask
* creator();
78
79
protected
:
80
DtRwString
myExpendableResourceName
;
81
DtRwInt
myNumberToFire
;
82
DtRwReal
myTimeInterval
;
83
};
84
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
)