VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 <
readerWriter/rwString.h
>
16
#include <
readerWriter/rwReal.h
>
17
#include <
readerWriter/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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)