42 const DtString& rwName = DtString::nullString(),
47 const DtString& rwName = DtString::nullString(),
58 const DtString& rwName = DtString::nullString(),
65 virtual void setNumberLeftToFire(
const int number);
66 virtual const int numberLeftToFire()
const;
69 virtual void reduceNumberLeftToFire(
const int reduce);
72 virtual void setElapsedTimeBetweenInterval(
const double time);
73 virtual const double elapsedTimeBetweenInterval()
const;
77 virtual void setAutoLaunchEnabled(
bool enabled);
78 virtual bool autoLaunchEnabled()
const;
79 virtual bool autoLaunchEnabledOnSpecified()
const;
84 virtual void setAutoLaunchSubtaskId(
const int id);
85 virtual const int autoLaunchSubtaskId()
const;
87 virtual void setAutoLaunchRange(
const double range);
88 virtual const double autoLaunchRange()
const;
91 virtual void setElapsedTimeBetweenAutoLaunches(
const double time);
92 virtual const double elapsedTimeBetweenAutoLaunches()
const;
95 virtual void addLaunchableResource(
const DtString& resourceName);
98 virtual bool isLaunchableResource(
const DtString& resourceName)
const;
101 virtual void setResourceToUse(
const DtString& resourceName);
102 virtual DtString resourceToUse()
const;
105 virtual void setTimeInterval(
double interval);
106 virtual double timeInterval()
const;
109 virtual void setTaskState(TaskState interval);
110 virtual TaskState taskState()
const;
Definition: launchExpendableResourcePSR.h:33
DtRwReal myTimeElapsedBetweenAutoLaunches
Time elapsed since last autoLaunch.
Definition: launchExpendableResourcePSR.h:138
std::set< DtString > myLaunchableResources
Definition: launchExpendableResourcePSR.h:146
DtRwInt myTaskState
Definition: launchExpendableResourcePSR.h:144
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
TaskState
Definition: launchExpendableResourcePSR.h:31
Definition: readerWriterRegistry.h:39
DtRwInt myAutoLaunchSubtaskId
Definition: launchExpendableResourcePSR.h:140
DtRwString myResourceToUse
Definition: launchExpendableResourcePSR.h:142
DtRwReal myElapsedTimeBetweenInterval
This is the time elapsed since the last time we fired a resource. We keep track of this so we can det...
Definition: launchExpendableResourcePSR.h:127
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Definition: launchExpendableResourcePSR.h:36
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Definition: launchExpendableResourcePSR.h:35
DtRwBoolean myAutoLaunchEnabled
Stores whether the entity is enabled to automatically launch its resources when it reaches auto launc...
Definition: launchExpendableResourcePSR.h:132
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myTimeInterval
Definition: launchExpendableResourcePSR.h:143
Definition: launchExpendableResourcePSR.h:34
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwReal myAutoLaunchRange
Stores the range within which the entity can automatically launch its resources.
Definition: launchExpendableResourcePSR.h:135
DtRwInt myNumberLeftToFire
This stores how much time has passed since the limit existence controller was created in the simulati...
Definition: launchExpendableResourcePSR.h:122
class DtLaunchExpendableResourcePSR:
Definition: launchExpendableResourcePSR.h:27
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86