VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtVrfProcessStateRepository Class Referenceabstract

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.

Each DtVrfObjectStateRepository maintains a list of the process states used by that object (via a DtVrfProcessStateRepositoryManager), and all the components that use the process state rep maintain pointers to it. Eventually, the proposed sub-system mechanism will be used to create and delete these process state repositories, but for now, one of the components participating in the process (typically an actuator if one exists) will create and delete these repositories.

Related examples

Inherits DtReaderWriter.

Inherited by DtAffectEngineeringObjectPSR, DtAggregatedMoveAlongPSR, DtAggregatedMovementActuatorPSR, DtAggregatedMoveToPSR, DtAggregatedPatrolPSR, DtAggregateFollowPSR, DtAggregateMoveAlongPSR, DtAggregateMoveToLocationPSR, DtAggregateMoveToPSR, DtAggregatePatrolAlongPSR, DtAggregatePatrolBetweenPSR, DtAimAtPointControllerPSR, DtAirportLightingControllerPSR, DtAirRefuelSupplierControllerPSR, DtArticulatedPartControllerPSR, DtAutomotivePSR, DtBaseWeaponComponentInterface, DtBombPSR, DtComponentSystemPSR, DtConvoyPSR, DtCruiseMissileLaunchControllerPSR, DtDamageAdjudicationPSR, DtDiGuyControllerPSR, DtDiGuyGestureControllerPSR, DtDynamicTerrainControllerPSR, DtDynamicTerrainCraterControllerPSR, DtEmbeddedEntitiesPSR, DtEmergencyBeaconPSR, DtEmitterPSR, DtEngagementReportGeneratorControllerPSR, DtExtendablePartActuatorPSR, DtFixedWingFlightPSR, DtFormationPSR, DtGenericPsr, DtGroundMovementChooserPSR, DtHoldPSR, DtHumanCollisionAvoidancePSR, DtHumanCrosswalkControllerPSR, DtHumanFleePSR, DtHumanFollowPSR, DtHumanMoveAlongPSR, DtHumanMovementActuatorPSR, DtHumanMoveToPSR, DtHumanPatrolPSR, DtHumanPosturePSR, DtHumanUseDoorControllerPSR, DtIndirectArtilleryPSR, DtIndirectFireControllerPSR, DtJammerPSR, DtLaserDetectorPSR, DtLaserLauncherPSR, DtLaserTrackerPSR, DtLasingPSR, DtLaunchExpendableResourcePSR, DtLaunchSmokePSR, DtLimitExistencePSR, DtLocalEntitySetControllerPSR, DtLookAtPointControllerPSR, DtMinefieldControllerPSR, DtMissileDistractionPSR, DtMissileFlightPSR, DtMissileTargetControllerPSR, DtMoveAlongWithActionsPSR, DtNavigationPreferenceControllerPsr, DtNavTagTraversalControllerPSR, DtNonLethalDamageActuatorPSR, DtObjectSensorPSR, DtObstructionSensorPSR, DtOrbitActuatorPSR, DtParabolicTrajectoryPSR, DtParachuteActuatorPSR, DtParachuteControllerPSR, DtPseudoAggregateMovementPSR, DtRailMovementControllerPSR, DtRailPathControllerPSR, DtRangeRingControllerPSR, DtResupplyReceiverControllerPSR, DtRotaryWingFlightPSR, DtScriptedMovementControllerPSR, DtScriptMultiTaskControllerPSR, DtScriptReactiveTaskControllerPSR, DtSensorGimbalActuatorPSR, DtSensorGimbalControllerPSR, DtSimpleProximitySensorPSR, DtSpawnControllerPSR, DtSpotReportGeneratorControllerPSR, DtSuppressionActuatorPSR, DtSurfaceMovementPSR, DtSwingingPartActuatorPSR, DtSwitchSystemComponentPSR, DtSyncMatrixControllerPSR, DtTacanComponentPSR, DtTagVolumeDimensionsControllerPSR, DtTargetSelectionControllerPSR, DtTDLMessageGeneratorControllerPSR, DtTimeKeeperPSR, DtTrailerActuatorPSR, DtTranslatablePartActuatorPSR, DtVrfEmbarkationPSR, DtVrfFixedWingLandingPSR, DtVrfFixedWingTakeoffPSR, DtVrfIffPSR, DtVrfOccupancyDirectorPSR, DtVrfWeaponPSR, DtWaitingPSR, and DtWarheadDetonationActuatorPSR.

Public Member Functions

 DtVrfProcessStateRepository (DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 
 DtVrfProcessStateRepository (const DtVrfProcessStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 
const DtVrfProcessStateRepositoryoperator= (const DtVrfProcessStateRepository &orig)
 
virtual ~DtVrfProcessStateRepository ()
 
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
 
virtual bool init ()
 
virtual DtString type () const =0
 
virtual bool loadedFromMTL () const
 
virtual void getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
 
- Public Member Functions inherited from DtReaderWriter
 DtReaderWriter ()
 
 DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL)
 
const DtReaderWriteroperator= (const DtReaderWriter &orig)
 
bool operator== (const DtReaderWriter &) const
 
bool operator!= (const DtReaderWriter &rhs)
 
virtual ~DtReaderWriter ()
 
virtual void putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual void postPutSelf ()
 
virtual void prePutSelf ()
 
virtual void postGetSelf ()
 
virtual void preGetSelf ()
 
virtual void writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual DtSymbolString name () const
 
virtual void addAlias (const DtSymbolString &alias)
 
virtual void addAlias (const DtString &alias)
 
virtual bool hasAlias (const DtSymbolString &alias)
 
virtual const aliasContaineraliases () const
 
virtual void setReadonly (bool flag)
 
bool isReadonly () const
 
virtual void reset ()
 
virtual int alignment () const
 
virtual bool variableIsBound () const
 
virtual void unbindVariable ()
 
virtual void setName (const DtString &)
 
virtual const charreaderWriterType () const
 
virtual const charxmlType () const
 
virtual DtString prettyPrint () const
 
std::string debugText () const
 
virtual void bindVariables (DtVariableBindingsList variableBindings)
 
virtual std::list
< DtVariableNameType
unboundVariables () const
 
bool invalid () const
 
virtual bool hasChild (const DtReaderWriter *p) const
 
virtual bool hasVariableReference () const
 
virtual void bindLocalVariables (const DtVariableBindingsList &variableBindings)
 
virtual void recordUpdateTime () const
 
virtual bool wasUpdatedSince (DtTime t) const
 
virtual bool changedSinceLastChecked ()
 
virtual bool peekChangedSinceLastChecked () const
 
virtual void putData (std::string &fp, int indentLevel=0)
 
virtual DtlObjPtr getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
 
virtual void setValueSpecified (bool specified, bool recurse=false)
 
virtual bool valueSpecified () const
 
virtual bool isVariableReference () const
 
virtual void setIsVariableReference (bool value)
 
virtual void clearAllVariableReferenceFlags ()
 
virtual DtSymbolString variableName () const
 
virtual void setVariableName (const DtSymbolString variableName)
 
virtual const DtReaderWriterdefaultRWValue () const
 
virtual DtReaderWriterdefaultRWValue ()
 
virtual void setDefaultRWValue (DtReaderWriter *)
 
virtual bool checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
 
const DtReaderWriterRegistryregistry () const
 
DtReaderWriterRegistryregistry ()
 
virtual DtPropertyInterfaceproperty ()
 
virtual const DtPropertyInterfaceproperty () const
 
virtual DtString toXml () const
 
virtual DtRwVariableBindingsgenerateVariableBindings () const
 
virtual bool toXml (const DtFilename &) const
 
virtual bool fromXml (const DtString &)
 
virtual bool fromXmlFile (const DtFilename &)
 
virtual void putSelf (DtEnvironmentSP, DtEnvValueSP parent) const
 
virtual void putData (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings)
 
virtual void getVariableReference (DtEnvironmentSP, DtEnvValueSP value)
 

Static Public Member Functions

static
DtVrfProcessStateRepositoryFactory
factory ()
 
static void setFactory (DtVrfProcessStateRepositoryFactory *factory)
 
static void addVrfProcessStateRepositoryCreatorFcn (const DtString &type, DtVrfProcessStateRepositoryCreatorFcn fcn)
 
static
DtVrfProcessStateRepository
createRepository (const DtString &name, const DtString &type, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry=0)
 
- Static Public Member Functions inherited from DtReaderWriter
static void putIndent (std::string &fp, int indentLevel)
 
static const
DtVariableBindingsList
nullVariableReference ()
 
static void setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData)
 
static void setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData)
 
static void setPutIndent (bool)
 
static bool putIndent ()
 
static const chartheXmlType ()
 
static const DtFilename & appPath ()
 
static void setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn)
 
static void createReaderWriterFactory ()
 
static void cleanupFactory ()
 
static DtReaderWriterFactoryfactory ()
 
static void setOutputStream (DtOutputStream *stream)
 
static DtOutputStream & outputStream ()
 
static DtReaderWritercreateFromXmlFile (const DtFilename &, bool createAsProperty=false)
 
static DtReaderWritercreateFromXml (const DtString &, bool createAsProperty=false)
 
static DtReaderWritercreateFromEnvironment (DtEnvironmentSP, bool createAsProperty=false)
 
static DtString getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root)
 

Protected Member Functions

 DtVrfProcessStateRepository ()
 
const DtSimObjectvrfObject () const
 
- Protected Member Functions inherited from DtReaderWriter
virtual void bindToRwAsVariable (const DtReaderWriter *rw)
 

Protected Attributes

DtLocalObjectmyVrfObject
 
bool myLoadedFromMTL
 
- Protected Attributes inherited from DtReaderWriter
const DtSymbolString myName
 
DtReaderWriterRegistry myRegistry
 
DtReaderWriterRegistrymyParentRegistry
 
bool myValueSpecified
 
bool myReadOnlyFlag
 
bool myIsVariableReference
 
DtSymbolString myVariableName
 
bool myVariableIsBound
 
DtReaderWritermyDefaultValue
 
aliasContainer myAliases
 
bool myInvalid
 
bool myChangedFlag
 

Static Protected Attributes

static
DtVrfProcessStateRepositoryFactory
theFactory
 
- Static Protected Attributes inherited from DtReaderWriter
static DtString theUnspecifiedValue
 
static DtGetSelfCallbackInfo thePostGetSelfCallback
 
static DtPutSelfCallbackInfo thePrePutSelfCallback
 
static const DtVariableBindingsList theEmptyVariableBindingsList
 
static bool theCreatorFcnSet
 
static DtReaderWriterFactorytheFactory
 
static
DtReaderWriterFactoryCreatorFcn 
theFactoryCreatorFcn
 
static bool thePutIndent
 
static DtOutputStream * theOutputStream
 

Additional Inherited Members

- Public Types inherited from DtReaderWriter
typedef std::vector
< DtSymbolString
aliasContainer
 
typedef std::vector
< DtSymbolString >::iterator 
aliasIter
 
typedef std::vector
< DtSymbolString >
::const_iterator 
aliasConstIter
 
typedef std::vector< DtFilename > SearchPaths
 
typedef std::pair
< DtSymbolString, DtString
DtVariableNameType
 
typedef DtReaderWriterFactory *(* DtReaderWriterFactoryCreatorFcn )()
 

Constructor & Destructor Documentation

DtVrfProcessStateRepository::DtVrfProcessStateRepository ( )
protected
DtVrfProcessStateRepository::DtVrfProcessStateRepository ( DtLocalObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)
DtVrfProcessStateRepository::DtVrfProcessStateRepository ( const DtVrfProcessStateRepository orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)
virtual DtVrfProcessStateRepository::~DtVrfProcessStateRepository ( )
virtual

Member Function Documentation

const DtVrfProcessStateRepository& DtVrfProcessStateRepository::operator= ( const DtVrfProcessStateRepository orig)
virtual DtVrfProcessStateRepository* DtVrfProcessStateRepository::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const
pure virtual

Implemented in DtEmbeddedEntitiesPSR, DtSurfaceMovementPSR, DtPseudoAggregateMovementPSR, DtVrfEmbarkationPSR, DtBaseWeaponComponentInterface, DtRailMovementControllerPSR, DtLaserTrackerPSR, DtRotaryWingFlightPSR, DtFixedWingFlightPSR, DtAffectEngineeringObjectPSR, DtVrfBalGunPSR, DtLaserDetectorPSR, DtLaserLauncherPSR, DtMissileFlightPSR, DtAutomotivePSR, DtLaunchExpendableResourcePSR, DtVrfFixedWingLandingPSR, DtAggregateMoveAlongPSR, DtVrfWeaponPSR, DtWaitingPSR, DtDiGuyControllerPSR, DtMoveAlongWithActionsPSR, DtBombPSR, DtScriptReactiveTaskControllerPSR, DtTranslatablePartActuatorPSR, DtVrfIndirectFirePSR, DtHumanCollisionAvoidancePSR, DtVrfFixedWingTakeoffPSR, DtAggregatedMoveAlongPSR, DtConvoyPSR, DtHumanUseDoorControllerPSR, DtIndirectWeaponComponentInterface, DtLasingPSR, DtHumanMoveToPSR, DtVrfOccupancyDirectorPSR, DtWeaponComponentInterface, DtAggregatedMoveToPSR, DtComponentSystemPSR, DtFormationPSR, DtHumanFollowPSR, DtHumanMovementActuatorPSR, DtSwingingPartActuatorPSR, DtTacanComponentPSR, DtVrfTurretedBalGunPSR, DtWarheadDetonationActuatorPSR, DtHumanMoveAlongPSR, DtRailPathControllerPSR, DtSimpleProximitySensorPSR, DtAggregateMoveToLocationPSR, DtArticulatedPartControllerPSR, DtLocalEntitySetControllerPSR, DtMissileDistractionPSR, DtParachuteActuatorPSR, DtParachuteControllerPSR, DtEmitterPSR, DtExtendablePartActuatorPSR, DtMinefieldControllerPSR, DtObstructionSensorPSR, DtRemoteSensorSpotReportReceiverPSR, DtSpawnControllerPSR, DtVrfIffPSR, DtAggregatedMovementActuatorPSR, DtAggregateFollowPSR, DtAggregatePatrolBetweenPSR, DtAirportLightingControllerPSR, DtCruiseMissileLaunchControllerPSR, DtHumanPatrolPSR, DtObjectSensorPSR, DtParabolicTrajectoryPSR, DtAggregateMoveToPSR, DtAirRefuelSupplierControllerPSR, DtDynamicTerrainControllerPSR, DtGroundMovementChooserPSR, DtHumanCrosswalkControllerPSR, DtIndirectArtilleryPSR, DtJammerPSR, DtNavigationPreferenceControllerPsr, DtActiveSonarSensorPSR, DtAggregatedPatrolPSR, DtHumanFleePSR, DtRadarObjectSensorPSR, DtSensorGimbalControllerPSR, DtSwitchSystemComponentPSR, DtEmergencyBeaconPSR, DtHumanPosturePSR, DtScriptMultiTaskControllerPSR, DtAimAtPointControllerPSR, DtDamageAdjudicationPSR, DtLookAtPointControllerPSR, DtMultipleHitDamagePSR, DtResupplyReceiverControllerPSR, DtTimeKeeperPSR, DtDiGuyGestureControllerPSR, DtHumanDamagePSR, DtLimitExistencePSR, DtNonLethalDamageActuatorPSR, DtRangeRingControllerPSR, DtScriptedMovementControllerPSR, DtSignatureObjectSensorPSR, DtSuppressionActuatorPSR, DtGenericPsr, DtLaunchSmokePSR, DtRotaryWingFlightCommandControllerPSR, DtSyncMatrixControllerPSR, DtNavTagTraversalControllerPSR, DtPassiveSonarSensorPSR, DtSensorGimbalActuatorPSR, DtTagVolumeDimensionsControllerPSR, DtTargetSelectionControllerPSR, DtTrailerActuatorPSR, DtEngagementReportGeneratorControllerPSR, DtIndirectFireControllerPSR, DtOrbitActuatorPSR, DtSpotReportGeneratorControllerPSR, DtAggregatePatrolAlongPSR, DtHoldPSR, DtTDLContactMessageGeneratorControllerPSR, DtTDLPPLIMessageGeneratorControllerPSR, ExampleTDLMessageGeneratorControllerPSR, DtMissileTargetControllerPSR, and DtTDLMessageGeneratorControllerPSR.

virtual bool DtVrfProcessStateRepository::init ( )
virtual

Used for virtual construction. This base method simply returns true.

Reimplemented in DtVrfOccupancyDirectorPSR, DtMissileDistractionPSR, DtObjectSensorPSR, DtMinefieldControllerPSR, and DtObstructionSensorPSR.

virtual DtString DtVrfProcessStateRepository::type ( ) const
pure virtual

Returns the string type of the repository, as defined in procSRTypes.h.

Implemented in DtEmbeddedEntitiesPSR, DtSurfaceMovementPSR, DtPseudoAggregateMovementPSR, DtVrfEmbarkationPSR, DtRailMovementControllerPSR, DtVrfTurretedBalGunPSR, DtRotaryWingFlightPSR, DtFixedWingFlightPSR, DtLaserTrackerPSR, DtAffectEngineeringObjectPSR, DtVrfBalGunPSR, DtLaserDetectorPSR, DtLaserLauncherPSR, DtMissileFlightPSR, DtAutomotivePSR, DtAggregateMoveAlongPSR, DtLaunchExpendableResourcePSR, DtParabolicTrajectoryPSR, DtVrfFixedWingLandingPSR, DtWaitingPSR, DtMoveAlongWithActionsPSR, DtVrfWeaponPSR, DtBombPSR, DtDiGuyControllerPSR, DtScriptReactiveTaskControllerPSR, DtHumanCollisionAvoidancePSR, DtTranslatablePartActuatorPSR, DtVrfFixedWingTakeoffPSR, DtVrfIndirectFirePSR, DtAggregatedMoveAlongPSR, DtConvoyPSR, DtHumanMoveToPSR, DtHumanUseDoorControllerPSR, DtIndirectWeaponComponentInterface, DtLasingPSR, DtVrfOccupancyDirectorPSR, DtAggregatedMoveToPSR, DtFormationPSR, DtHumanFollowPSR, DtWeaponComponentInterface, DtAggregateMoveToLocationPSR, DtComponentSystemPSR, DtHumanMoveAlongPSR, DtHumanMovementActuatorPSR, DtSimpleProximitySensorPSR, DtSwingingPartActuatorPSR, DtTacanComponentPSR, DtWarheadDetonationActuatorPSR, DtLocalEntitySetControllerPSR, DtMinefieldControllerPSR, DtObstructionSensorPSR, DtParachuteActuatorPSR, DtParachuteControllerPSR, DtRailPathControllerPSR, DtArticulatedPartControllerPSR, DtEmitterPSR, DtMissileDistractionPSR, DtVrfIffPSR, DtAggregateFollowPSR, DtAggregatePatrolBetweenPSR, DtExtendablePartActuatorPSR, DtHumanPatrolPSR, DtRemoteSensorSpotReportReceiverPSR, DtScriptMultiTaskControllerPSR, DtSpawnControllerPSR, DtAggregatedMovementActuatorPSR, DtAggregateMoveToPSR, DtAirportLightingControllerPSR, DtCruiseMissileLaunchControllerPSR, DtJammerPSR, DtObjectSensorPSR, DtAggregatedPatrolPSR, DtAirRefuelSupplierControllerPSR, DtDynamicTerrainControllerPSR, DtGroundMovementChooserPSR, DtHumanCrosswalkControllerPSR, DtHumanFleePSR, DtIndirectArtilleryPSR, DtNavigationPreferenceControllerPsr, DtActiveSonarSensorPSR, DtEmergencyBeaconPSR, DtHumanPosturePSR, DtRadarObjectSensorPSR, DtSensorGimbalControllerPSR, DtSwitchSystemComponentPSR, DtAimAtPointControllerPSR, DtLookAtPointControllerPSR, DtMultipleHitDamagePSR, DtResupplyReceiverControllerPSR, DtTimeKeeperPSR, DtDamageAdjudicationPSR, DtDiGuyGestureControllerPSR, DtGenericPsr, DtHumanDamagePSR, DtLimitExistencePSR, DtRangeRingControllerPSR, DtSignatureObjectSensorPSR, DtLaunchSmokePSR, DtNonLethalDamageActuatorPSR, DtRotaryWingFlightCommandControllerPSR, DtScriptedMovementControllerPSR, DtSuppressionActuatorPSR, DtSyncMatrixControllerPSR, DtNavTagTraversalControllerPSR, DtPassiveSonarSensorPSR, DtSensorGimbalActuatorPSR, DtTagVolumeDimensionsControllerPSR, DtTargetSelectionControllerPSR, DtTrailerActuatorPSR, DtAggregatePatrolAlongPSR, DtIndirectFireControllerPSR, DtOrbitActuatorPSR, DtHoldPSR, DtEngagementReportGeneratorControllerPSR, DtSpotReportGeneratorControllerPSR, DtMissileTargetControllerPSR, DtTDLContactMessageGeneratorControllerPSR, DtTDLPPLIMessageGeneratorControllerPSR, ExampleTDLMessageGeneratorControllerPSR, and DtTDLMessageGeneratorControllerPSR.

virtual bool DtVrfProcessStateRepository::loadedFromMTL ( ) const
virtual
virtual void DtVrfProcessStateRepository::getSelf ( DtlObjPtr  args,
const DtReaderWriter::SearchPaths searchPaths,
const DtVariableBindingsList variableBindings 
)
virtual

Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter members in its DtReaderWriterRegistry (collection of child DtReaderWriter nodes). If a given member in the registry is of type DtReaderWriterFile, and the searchPath is specified with a non-NULL string, then file to be read in is searched for in the given path.

Reimplemented from DtReaderWriter.

Reimplemented in DtAggregateMoveAlongPSR, DtSpotReportGeneratorControllerPSR, DtObjectSensorPSR, DtSwingingPartActuatorPSR, DtScriptReactiveTaskControllerPSR, DtMissileTargetControllerPSR, DtScriptedMovementControllerPSR, and DtScriptMultiTaskControllerPSR.

static DtVrfProcessStateRepositoryFactory* DtVrfProcessStateRepository::factory ( )
static

a DtVrfProcessStateRepositoryFactory is allocated by the DtSimCreator, and this pointer is set. The DtSimCreator deletes this pointer when it is deleted. This is done this way because we don't allow static initialization

static void DtVrfProcessStateRepository::setFactory ( DtVrfProcessStateRepositoryFactory factory)
static
static void DtVrfProcessStateRepository::addVrfProcessStateRepositoryCreatorFcn ( const DtString type,
DtVrfProcessStateRepositoryCreatorFcn  fcn 
)
static
static DtVrfProcessStateRepository* DtVrfProcessStateRepository::createRepository ( const DtString name,
const DtString type,
DtLocalObject vrfObject,
DtReaderWriterRegistry parentRegistry = 0 
)
static

Creates a new state repository object, using the factory.

const DtSimObject* DtVrfProcessStateRepository::vrfObject ( ) const
inlineprotected

Member Data Documentation

DtLocalObject* DtVrfProcessStateRepository::myVrfObject
protected
bool DtVrfProcessStateRepository::myLoadedFromMTL
protected
DtVrfProcessStateRepositoryFactory* DtVrfProcessStateRepository::theFactory
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)