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, DtAircraftClutterAreaPSR, 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, DtShipClutterAreaPSR, DtSimpleProximitySensorPSR, DtSpawnControllerPSR, DtSpotReportGeneratorControllerPSR, DtSuppressionActuatorPSR, DtSurfaceMovementPSR, DtSwingingPartActuatorPSR, DtSwitchSystemComponentPSR, DtSyncMatrixControllerPSR, DtTacanComponentPSR, DtTagVolumeDimensionsControllerPSR, DtTDLMessageGeneratorControllerPSR, DtTimeKeeperPSR, DtTrailerActuatorPSR, DtTranslatablePartActuatorPSR, DtVrfEmbarkationPSR, DtVrfFixedWingLandingPSR, DtVrfFixedWingTakeoffPSR, DtVrfIffPSR, DtVrfOccupancyDirectorPSR, DtVrfWeaponPSR, DtWaitingPSR, and DtWarheadDetonationActuatorPSR.
|
| | DtVrfProcessStateRepository (DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) |
| |
| | DtVrfProcessStateRepository (const DtVrfProcessStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) |
| |
| const DtVrfProcessStateRepository & | operator= (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) override |
| |
| | 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 DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| |
| bool | operator== (const DtReaderWriter &) const |
| |
| bool | operator!= (const DtReaderWriter &rhs) const |
| |
| 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 aliasContainer & | aliases () 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 char * | readerWriterType () const |
| |
| virtual const char * | xmlType () 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 | 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 DtReaderWriter * | defaultRWValue () const |
| |
| virtual DtReaderWriter * | defaultRWValue () |
| |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| |
| const DtReaderWriterRegistry & | registry () const |
| |
| DtReaderWriterRegistry & | registry () |
| |
| virtual DtPropertyInterface * | property () |
| |
| virtual const DtPropertyInterface * | property () const |
| |
| virtual DtString | toXml () const |
| |
| virtual DtRwVariableBindings * | generateVariableBindings () 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
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 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 char * | theXmlType () |
| |
| static const DtFilename & | appPath () |
| |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| |
| static void | createReaderWriterFactory () |
| |
| static void | cleanupFactory () |
| |
| static DtReaderWriterFactory * | factory () |
| |
| static void | setOutputStream (DtOutputStream *stream) |
| |
| static DtOutputStream & | outputStream () |
| |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &, bool createAsProperty=false) |
| |
| static DtReaderWriter * | createFromXml (const DtString &, bool createAsProperty=false) |
| |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP, bool createAsProperty=false) |
| |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| |
| DtVrfProcessStateRepository::DtVrfProcessStateRepository |
( |
| ) |
|
|
protected |
| virtual DtVrfProcessStateRepository::~DtVrfProcessStateRepository |
( |
| ) |
|
|
virtual |
Implemented in DtCounterBatterySensorPSR, DtEmbeddedEntitiesPSR, DtSurfaceMovementPSR, DtPseudoAggregateMovementPSR, DtVrfEmbarkationPSR, DtBaseWeaponComponentInterface, DtRailMovementControllerPSR, DtLaserLauncherPSR, DtAggregateMoveAlongPSR, DtRotaryWingFlightPSR, DtFixedWingFlightPSR, DtLaserTrackerPSR, DtAffectEngineeringObjectPSR, DtLaserDetectorPSR, DtMissileFlightPSR, DtAutomotivePSR, DtVrfBalGunPSR, DtScriptReactiveTaskControllerPSR, DtVrfFixedWingLandingPSR, DtWaitingPSR, DtBombPSR, DtDiGuyControllerPSR, DtMoveAlongWithActionsPSR, DtVrfWeaponPSR, DtTranslatablePartActuatorPSR, DtVrfFixedWingTakeoffPSR, DtVrfIndirectFirePSR, DtAggregatedMoveAlongPSR, DtConvoyPSR, DtHumanCollisionAvoidancePSR, DtLasingPSR, DtHumanMoveToPSR, DtHumanUseDoorControllerPSR, DtIndirectWeaponComponentInterface, DtAggregatedMoveToPSR, DtHumanFollowPSR, DtVrfOccupancyDirectorPSR, DtWeaponComponentInterface, DtComponentSystemPSR, DtFormationPSR, DtHumanMoveAlongPSR, DtHumanMovementActuatorPSR, DtLaunchExpendableResourcePSR, DtRailPathControllerPSR, DtSwingingPartActuatorPSR, DtTacanComponentPSR, DtVrfTurretedBalGunPSR, DtWarheadDetonationActuatorPSR, DtAggregateMoveToLocationPSR, DtSimpleProximitySensorPSR, DtArticulatedPartControllerPSR, DtCruiseMissileLaunchControllerPSR, DtLocalEntitySetControllerPSR, DtMissileDistractionPSR, DtParachuteActuatorPSR, DtParachuteControllerPSR, DtAggregatedMovementActuatorPSR, DtAggregateFollowPSR, DtEmitterPSR, DtExtendablePartActuatorPSR, DtMinefieldControllerPSR, DtObstructionSensorPSR, DtRemoteSensorSpotReportReceiverPSR, DtSpawnControllerPSR, DtAggregatePatrolBetweenPSR, DtAirportLightingControllerPSR, DtHumanPatrolPSR, DtObjectSensorPSR, DtParabolicTrajectoryPSR, DtAggregateMoveToPSR, DtAirRefuelSupplierControllerPSR, DtDynamicTerrainControllerPSR, DtGroundMovementChooserPSR, DtHumanCrosswalkControllerPSR, DtHumanFleePSR, DtIndirectArtilleryPSR, DtJammerPSR, DtNavigationPreferenceControllerPsr, DtRadarObjectSensorPSR, DtSensorGimbalControllerPSR, DtActiveSonarSensorPSR, DtAggregatedPatrolPSR, DtSwitchSystemComponentPSR, DtVrfIffPSR, DtAimAtPointControllerPSR, DtEmergencyBeaconPSR, DtHumanPosturePSR, DtLookAtPointControllerPSR, DtScriptMultiTaskControllerPSR, DtDamageAdjudicationPSR, DtMultipleHitDamagePSR, DtResupplyReceiverControllerPSR, DtTimeKeeperPSR, DtAircraftClutterAreaPSR, DtDiGuyGestureControllerPSR, DtHumanDamagePSR, DtLaunchLoiterMunitionPSR, DtLimitExistencePSR, DtNonLethalDamageActuatorPSR, DtRangeRingControllerPSR, DtScriptedMovementControllerPSR, DtShipClutterAreaPSR, DtSignatureObjectSensorPSR, DtSuppressionActuatorPSR, DtGenericPsr, DtLaunchSmokePSR, DtRotaryWingFlightCommandControllerPSR, DtSyncMatrixControllerPSR, DtNavTagTraversalControllerPSR, DtPassiveSonarSensorPSR, DtSensorGimbalActuatorPSR, DtSpotReportGeneratorControllerPSR, DtTagVolumeDimensionsControllerPSR, DtTrailerActuatorPSR, DtEngagementReportGeneratorControllerPSR, DtIndirectFireControllerPSR, DtOrbitActuatorPSR, DtAggregatePatrolAlongPSR, DtHoldPSR, DtTDLContactMessageGeneratorControllerPSR, DtTDLPPLIMessageGeneratorControllerPSR, ExampleTDLMessageGeneratorControllerPSR, DtMissileTargetControllerPSR, and DtTDLMessageGeneratorControllerPSR.
| virtual bool DtVrfProcessStateRepository::init |
( |
| ) |
|
|
virtual |
| virtual DtString DtVrfProcessStateRepository::type |
( |
| ) |
const |
|
pure virtual |
Returns the string type of the repository, as defined in procSRTypes.h.
Implemented in DtEmbeddedEntitiesPSR, DtCounterBatterySensorPSR, DtSurfaceMovementPSR, DtPseudoAggregateMovementPSR, DtVrfEmbarkationPSR, DtRailMovementControllerPSR, DtAggregateMoveAlongPSR, DtVrfTurretedBalGunPSR, DtLaserLauncherPSR, DtRotaryWingFlightPSR, DtFixedWingFlightPSR, DtAffectEngineeringObjectPSR, DtLaserTrackerPSR, DtLaserDetectorPSR, DtMissileFlightPSR, DtAutomotivePSR, DtScriptReactiveTaskControllerPSR, DtVrfBalGunPSR, DtVrfFixedWingLandingPSR, DtParabolicTrajectoryPSR, DtWaitingPSR, DtBombPSR, DtMoveAlongWithActionsPSR, DtDiGuyControllerPSR, DtVrfFixedWingTakeoffPSR, DtVrfWeaponPSR, DtAggregatedMoveAlongPSR, DtConvoyPSR, DtHumanCollisionAvoidancePSR, DtTranslatablePartActuatorPSR, DtVrfIndirectFirePSR, DtHumanMoveToPSR, DtLasingPSR, DtAggregatedMoveToPSR, DtHumanFollowPSR, DtHumanUseDoorControllerPSR, DtIndirectWeaponComponentInterface, DtVrfOccupancyDirectorPSR, DtAggregateMoveToLocationPSR, DtFormationPSR, DtHumanMoveAlongPSR, DtWeaponComponentInterface, DtComponentSystemPSR, DtHumanMovementActuatorPSR, DtLaunchExpendableResourcePSR, DtRailPathControllerPSR, DtSimpleProximitySensorPSR, DtSwingingPartActuatorPSR, DtTacanComponentPSR, DtWarheadDetonationActuatorPSR, DtLocalEntitySetControllerPSR, DtMinefieldControllerPSR, DtObstructionSensorPSR, DtParachuteActuatorPSR, DtParachuteControllerPSR, DtAggregateFollowPSR, DtArticulatedPartControllerPSR, DtCruiseMissileLaunchControllerPSR, DtEmitterPSR, DtMissileDistractionPSR, DtAggregatedMovementActuatorPSR, DtAggregatePatrolBetweenPSR, DtExtendablePartActuatorPSR, DtHumanPatrolPSR, DtRemoteSensorSpotReportReceiverPSR, DtScriptMultiTaskControllerPSR, DtSpawnControllerPSR, DtAggregateMoveToPSR, DtAirportLightingControllerPSR, DtHumanFleePSR, DtJammerPSR, DtObjectSensorPSR, DtAggregatedPatrolPSR, DtAirRefuelSupplierControllerPSR, DtDynamicTerrainControllerPSR, DtGroundMovementChooserPSR, DtHumanCrosswalkControllerPSR, DtIndirectArtilleryPSR, DtNavigationPreferenceControllerPsr, DtRadarObjectSensorPSR, DtSensorGimbalControllerPSR, DtVrfIffPSR, DtActiveSonarSensorPSR, DtAircraftClutterAreaPSR, DtEmergencyBeaconPSR, DtHumanPosturePSR, DtShipClutterAreaPSR, DtSwitchSystemComponentPSR, DtAimAtPointControllerPSR, DtLookAtPointControllerPSR, DtLaunchLoiterMunitionPSR, DtMultipleHitDamagePSR, DtResupplyReceiverControllerPSR, DtTimeKeeperPSR, DtDamageAdjudicationPSR, DtDiGuyGestureControllerPSR, DtGenericPsr, DtHumanDamagePSR, DtLimitExistencePSR, DtRangeRingControllerPSR, DtSignatureObjectSensorPSR, DtLaunchSmokePSR, DtNonLethalDamageActuatorPSR, DtRotaryWingFlightCommandControllerPSR, DtScriptedMovementControllerPSR, DtSuppressionActuatorPSR, DtSyncMatrixControllerPSR, DtNavTagTraversalControllerPSR, DtPassiveSonarSensorPSR, DtSensorGimbalActuatorPSR, DtTagVolumeDimensionsControllerPSR, DtTrailerActuatorPSR, DtAggregatePatrolAlongPSR, DtIndirectFireControllerPSR, DtOrbitActuatorPSR, DtHoldPSR, DtSpotReportGeneratorControllerPSR, DtEngagementReportGeneratorControllerPSR, DtMissileTargetControllerPSR, DtTDLContactMessageGeneratorControllerPSR, DtTDLPPLIMessageGeneratorControllerPSR, ExampleTDLMessageGeneratorControllerPSR, and DtTDLMessageGeneratorControllerPSR.
| virtual bool DtVrfProcessStateRepository::loadedFromMTL |
( |
| ) |
const |
|
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 DtFixedWingFlightPSR, DtAggregateMoveAlongPSR, DtSpotReportGeneratorControllerPSR, DtObjectSensorPSR, DtSwingingPartActuatorPSR, DtScriptReactiveTaskControllerPSR, DtMissileTargetControllerPSR, DtScriptedMovementControllerPSR, and DtScriptMultiTaskControllerPSR.
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
Creates a new state repository object, using the factory.
| const DtSimObject* DtVrfProcessStateRepository::vrfObject |
( |
| ) |
const |
|
inlineprotected |
| bool DtVrfProcessStateRepository::myLoadedFromMTL |
|
protected |
The documentation for this class was generated from the following file: