![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| MyObjectManager (DtSimManager *simManager, int entityAdvisory) | |
| virtual | ~MyObjectManager () |
| virtual void | tick () |
| Processes all pending object creations on the myObjectsToCreateQueue by checking DtCreateQueueEntry::isReadyForCreation which if true causes the create message to be passed on to processCreateVrfObject. More... | |
| MyObjectManager (DtSimManager *simManager, int entityAdvisory) | |
| virtual | ~MyObjectManager () |
| virtual bool | init () |
| Initialization - must be called after create() and before any other member functions are called. More... | |
| virtual void | processTestSettingsChanged (const DtTestSettings *settings) |
| virtual void | processUpdateTestSettings (DtTestSettings *settings) |
Public Member Functions inherited from DtVrfObjectManager | |
| DtVrfObjectManager (DtSimManager *simManager, int entityAdvisory=100) | |
| constructor More... | |
| virtual | ~DtVrfObjectManager () |
| destructor DMSO RTI Compatibility note: Because objects must send out DtIfVrfObjectDeleted messages before being deleted, calling this destructor from within a message callback may cause a concurrent access exception with the DMSO RTI. More... | |
| virtual bool | create () |
| Virtual construction - must be called before any other member functions are called. More... | |
| virtual bool | createDIGuyCharacterManager (const DtFilename &diGuyAnimationsFile) |
| If Using DI-Guy Need to create the character manager. More... | |
| virtual DtVisualMetaDataManager * | visualMetaDataManager () const |
| If using the visual meta data, create and return the meta data manager. More... | |
| virtual DtFilename | metaDataFilename (const DtObjectType &) const |
| Given the object type, if it exists, return the meta data filename (resolved) of that object. More... | |
| virtual DtRwStringAttributeList * | customizedMarkingsFor (const DtObjectType &) const |
| Given the object type return a DtRwStringAttributeList object which will have a key/value list of annomations and the markings they are to be set to given the random configuration for the given object type. More... | |
| virtual bool | add (DtVrfObject *simObject) |
| Creates a DtEntityIdentifierHashKey for the object and then adds it to mySimObjectList. More... | |
| virtual bool | completeObjectAddition (DtVrfObject *simObject) |
| Called when the object is ready to simulate and add as part of the simulation. More... | |
| virtual void | setAppIdRangeMax (int) |
| Sets the maximum range id and passes that into the entity identifier factory. More... | |
| virtual int | appIdRangeMax () const |
| virtual bool | loadingScenarioInformation () const |
| Return true if order of battle for scenario load, import or simulation object group creation is happening. More... | |
| virtual bool | checkAndMoveIfUniqueObject (DtIfCreateVrfObject *) |
| If the object being added is a unique object, and, that object already exists, move it to the new location and do not add the new object. More... | |
| virtual void | setParameterDatabase (DtVrfParameterDb *parameterDatabase) |
| Parameter database used in creation and initialization of DtVrfObjects. More... | |
| virtual DtVrfParameterDb * | parameterDatabase () |
| virtual bool | registerExtendedProperties () |
| Registers extended properties for entities, aggregates, and environmental processes. More... | |
| virtual DtManagedObjectListConstPtr | getList (const DtVrfObjectPredicate &predicate, bool reevaluateFlag=false, DtTime evaluationPeriod=0) |
| Wraps DtManagedObjectListManager::getList(). More... | |
| virtual void | setImportingScenario (bool) |
| Will be true if currently importing scenario. More... | |
| virtual bool | importingScenario () const |
| virtual void | setImportScenarioData (const DtImportScenarioData &) |
| Data used for import. More... | |
| virtual const DtImportScenarioData & | importScenarioData () const |
| virtual void | setScenarioFilename (const DtFilename &) |
| virtual DtFilename | scenarioFilename () const |
| virtual const DtVrfObjectFilterMapIterator & | vrfIterator (const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| virtual const DtVrfObjectFilterMapIterator & | vrfIterator (const DtVrfObjectPredicate &predicate) const |
| virtual const DtVrfObjectFilterMapIterator & | vrfIterator (DtFilterFcn filter, bool invertFilter=false, void *usrData=0) const |
| typedef bool (DtFilterFcn)(const DtVrfObject object, void* usr); ACTUAL DEFINITION IN fltrFcnInf.h, provided here for readability. More... | |
| virtual void | removeAndDelete (const DtUUID &objectName, bool andRemoveFromOrbat) |
| Calls queueObjectForRemoval to schedule object for removal from object manager and deletion. More... | |
| virtual void | removeAndDelete (DtSharedVrfObjectReference simObject, bool andRemoveFromOrbat) |
| virtual void | removeAndDelete (const DtEntityIdentifier &key, bool andRemoveFromOrbat) |
| virtual void | removeAndDelete (DtVrfObject *object, bool andRemoveFromOrbat) |
| std::set < DtGlobalObjectDesignator > | remoteObjectGlobalIds (bool onlyVrfSimulated=true) const |
| Returns a set of global object ids for all remote objects. More... | |
| virtual void | removeAndDeleteAllLocals (bool andDeleteFromOrbat=false) |
| Queues all locally simulated objects for removal. More... | |
| virtual void | removeAndDeleteAll (bool andDeleteFromOrbat=false) |
| Calls invokeAllObjectManagerRemoveAllCallbacks() and then queues all simulated objects for removal. More... | |
| virtual void | setExerciseConnection (DtExerciseConn *connection) |
| Calls createRemoteEntitiesList(), createRemoteAggregatesList(), and createRemoteEnvironmentalsList(). More... | |
| virtual void | createRemoteEnvironmentalsList (DtExerciseConn *exConn) |
| virtual void | setPublishZeroVelocityWhenPaused (bool) |
| Sets whether or not to publish zero velocity (and acceleration) when paused. More... | |
| virtual bool | publishZeroVelocityWhenPaused () const |
| virtual void | setSetDeadReckoningAlgorithmToStaticOnPause (bool) |
| When the simulation is paused set the dead reckoning algorithm for aggregates and entities to static. More... | |
| virtual bool | setDeadReckoningAlgorithmToStaticOnPause () const |
| virtual void | overrideDeadReckoningAlgorithm (DtDeadReckonTypes drAlg) |
| Overrides the dead reckoning algorithm of all objects. More... | |
| virtual bool | isDeadReckonAlgorithmOverridden (DtDeadReckonTypes &drAlg) const |
| Returns true if dead reckoning algorithm override is enabled and fills in drAlg with the overridden value. More... | |
| virtual void | removeDeadReckoningAlgorithmOverride () |
| Removes the dead reckoning algorithm override and returns all objects to their default DR algorithms. More... | |
| virtual void | setTaskVisualizationPublicationMode (DtTaskVisualizationPublicationMode mode) |
| If and when task visualizations should be published to the network. More... | |
| virtual DtTaskVisualizationPublicationMode | taskVisualizationPublicationMode () const |
| virtual bool | hasPermissionToDisplayTaskVisualizations (const DtUUID &uuid) |
| Called by an entity's task manager to determine if it has permission to display task visualizations. More... | |
| virtual void | setMaxObjectsWithTaskVisualizations (unsigned max) |
| Maximum number of objects with enabled task visualizations. More... | |
| virtual unsigned | maxObjectsWithTaskVisualizations () const |
| virtual void | setUseDrawControlForTaskVisualizations (bool) |
| Publish task visualizations as VRV draw control objects rather than their standard, VR-Forces specific format. More... | |
| virtual bool | useDrawControlForTaskVisualizations () const |
| virtual DtReflectedControlObjectList * | reflectedEnvironmentProcessList () const |
| Get the reflected environment process list. More... | |
| virtual DtReflectedControlObjectList * | createReflectedControlObjectList (DtExerciseConn *exConn) |
| Called to create the reflected environmental list. More... | |
| virtual bool | objectInRemovalQueue (const DtUUID &uuid) |
| Return true if this object is scheduled for removal. More... | |
| virtual void | registerInterfaceCallbacks () |
| Registers callbacks on the sim manager's interface message executive for create-entity, remove-entity, request-entity-name and order-of-battle op messages (like read and write). More... | |
| virtual const DtSimManager * | simManager () const |
| Get a const pointer to the simulation manager. More... | |
| virtual DtSimManager * | simManager () |
| Get a pointer to the simulation manager. More... | |
| virtual void | processCreateVrfObject (DtSimMessage *msg) |
| Registered with the message executive to handle the CreateVrfObject message. More... | |
| virtual const DtVrfObjectCreateQueue & | objectCreateQueue () const |
| virtual void | processCreateVrfObject (DtIfCreateVrfObject ifCreateVrfObject) |
| The ifCreateVrfObject is passed to createAndInitVrfObject and if the create is successful, DtVrfObjectStateRepository::place is called to give the entity its initial position and orientation. More... | |
| virtual void | processModifyVrfObject (DtSimMessage *msg) |
| Registered with the message executive to handle the ModifyVrfObject message. More... | |
| virtual void | processModifyVrfObject (DtIfModifyVrfObject modObj) |
| The object identifier in the DtIfModifyVrfObject is used to look up a DtVrfObject. More... | |
| virtual void | processModifyVrfOverlay (DtSimMessage *msg) |
| Registered with the message executive to handle the ModifyVrfOverlay message. More... | |
| virtual void | processDeleteVrfObject (DtSimMessage *msg) |
| Registered with the message executive to handle the DeleteVrfObject message. More... | |
| virtual void | processDeleteVrfObjectById (DtSimMessage *msg) |
| Registered with the message executive to handle the DeleteVrfObjectById message. More... | |
| virtual void | processVrfObjectDeleted (DtSimMessage *msg) |
| Registered with the message executive to handle the VrfObjectDeleted message. More... | |
| virtual void | processAutoReorganize (DtSimMessage *msg) |
| Registered with the message executive to handle the AutoReorganize message. More... | |
| virtual void | processAggregateAs (DtSimMessage *msg) |
| Registered with the message executive to handle the AggregateAs message. More... | |
| virtual void | processSkipTask (DtSimMessage *msg) |
| Registered with the message executive to handle the SkipTask message. More... | |
| virtual void | processSetThresholds (DtSimMessage *msg) |
| Called by setThresholdsCallback. More... | |
| virtual void | processDeleteDynamicTerrainServer (DtSimMessage *) |
| If hosting the server queue it for removal. More... | |
| virtual void | processEntityAddedCallback (DtReflectedExtEntity *entity) |
| These functions override the base class versions to check to see if reflected object being added is from one of our own locally simulated objects. More... | |
| virtual void | processAggregateAddedCallback (DtReflectedExtAggregate *aggregate) |
| virtual void | processEntityRemovedCallback (DtReflectedExtEntity *entity) |
| Override the base class version to schedule object for removal, rather than removing right away. More... | |
| virtual void | processAggregateRemovedCallback (DtReflectedExtAggregate *aggregate) |
| virtual void | processDesignatorAddedCallback (DtReflectedDesignator *des) |
| virtual void | processDesignatorRemovedCallback (DtReflectedDesignator *des) |
| virtual void | processDesignatorChangedCallback (DtReflectedDesignator *des) |
| DtBoolean | processDesignatorDiscoveryCriteria (DtReflectedDesignator *des) |
| virtual void | processActiveSonarAddedCallback (DtReflectedActiveSonar *des) |
| virtual void | processActiveSonarRemovedCallback (DtReflectedActiveSonar *des) |
| virtual void | processActiveSonarChangedCallback (DtReflectedActiveSonar *des) |
| DtBoolean | processActiveSonarDiscoveryCriteria (DtReflectedActiveSonar *des) |
| virtual ReflectedActiveSonars | findActiveSonarsForHostEntity (const DtVrfObject *host) const |
| virtual void | processPropulsionNoiseAddedCallback (DtReflectedPropulsionNoise *des) |
| virtual void | processPropulsionNoiseRemovedCallback (DtReflectedPropulsionNoise *des) |
| virtual void | processPropulsionNoiseChangedCallback (DtReflectedPropulsionNoise *des) |
| DtBoolean | processPropulsionNoiseDiscoveryCriteria (DtReflectedPropulsionNoise *des) |
| virtual void | processRadioTransmitterAddedCallback (DtReflectedRadioTransmitter *tran) |
| virtual void | processRadioTransmitterRemovedCallback (DtReflectedRadioTransmitter *tran) |
| virtual void | processRadioTransmitterChangedCallback (DtReflectedRadioTransmitter *tran) |
| DtBoolean | processRadioTransmitterDiscoveryCriteria (DtReflectedRadioTransmitter *tran) |
| virtual void | processIffAddedCallback (DtReflectedIff *des) |
| virtual void | processIffRemovedCallback (DtReflectedIff *des) |
| virtual void | processIffChangedCallback (DtReflectedIff *des) |
| virtual DtBoolean | processIffDiscoveryCriteria (DtReflectedIff *) |
| virtual bool | hasEnabledActiveSonar (const DtVrfObject *host) const |
| virtual DtReflectedPropulsionNoise * | propulsionNoiseForHost (const DtVrfObject *host) const |
| virtual DtReflectedRadioTransmitter * | radioTransmitterForHost (const DtVrfObject *host) const |
| virtual DtReflectedIff * | iffForHost (const DtVrfObject *host) const |
| virtual DtReflectedEmitterSystemManager * | reflectedEmitterSystemManager () |
| virtual void | processAggregateChanged (DtReflectedExtAggregate *aggregate) |
| Override the base class version to make a call to DtOrganizationManager. More... | |
| virtual void | processEnvProcessAddedCallback (DtReflectedEnvironmentProcess *envProcess) |
| virtual void | processEnvProcessRemovedCallback (DtReflectedEnvironmentProcess *envProcess) |
| virtual bool | processEnvProcessDiscoveryCriteria (DtReflectedEnvironmentProcess *envProcess) |
| virtual void | removeObjectSubordinates (DtVrfObject *object, bool andRemoveFromOrbat) |
| Queues all the subordinates of this object for removal, or sends deleteObject messages for any of the remote subordinates. More... | |
| virtual void | queueObjectForRemoval (const DtEntityIdentifier &key, bool andRemoveFromOrbat=false) |
| Schedule a given vrf object to be removed. More... | |
| virtual void | queueObjectForRemoval (const DtUUID &key, bool andRemoveFromOrbat=false) |
| virtual void | removeObjectsQueuedForRemoval () |
| Removes all vrf objects on the list at the end of each tick. More... | |
| virtual DtVrfObject * | createAndInitVrfObject (DtIfCreateVrfObject *creationInfo) |
| Create a new local vrf object from an interface message. More... | |
| virtual DtVrfObject * | createAndInitVrfObject (DtIfAggregateAs *aggInfo) |
| virtual DtVrfObject * | createAndInitVrfObject (const DtObjectType &objectType, bool publishLocalObject=true, const DtString &objectName=DtString::nullString(), const DtString &objectLabel=DtString::nullString(), DtForceType forceType=DtForceOther, const DtList *vertices=0, const DtTaitBryan *orientation=0, bool projection=false, bool closedFigure=false, const DtAppearance &appearance=DtAppearance::nullAppearance(), const DtString &readerWriterName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0, bool createSubObjects=false, DtVrfObjectUserInitFcn userInit=0, void *userInitData=0, bool organize=true, const DtString &startingFormation=DtDefaultFormationString, DtVrfObjectManager::DtAggregateCreationMode initialAggregateState=DtVrfObjectManager::DtUseParameterDatabaseAggregateState, unsigned long requestId=0, const DtString &overlayParent="", const DtUUID &uuid=DtUUID::nullUUID(), bool addToOrbat=false) |
| Creates a new local vrf object and adds it to our list of managed vrf objects. More... | |
| virtual DtVrfObject * | createAndInitVrfObject (const DtObjectType &objectType, bool publishLocalObject=true, const DtString &objectName=DtString::nullString(), const DtString &objectLabel=DtString::nullString(), DtForceType forceType=DtForceOther, const DtVector &position=DtVector::zero(), const DtTaitBryan *orientation=0, bool projection=false, bool closedFigure=false, const DtAppearance &appearance=DtAppearance::nullAppearance(), const DtString &readerWriterName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0, bool createSubObjects=false, DtVrfObjectUserInitFcn userInitFcn=0, void *userInitData=0, bool organize=true, const DtString &startingFormation=DtDefaultFormationString, DtVrfObjectManager::DtAggregateCreationMode initialAggregateState=DtVrfObjectManager::DtUseParameterDatabaseAggregateState, unsigned long requestId=0, const DtString &overlayParent="", const DtUUID &startingUUID=DtUUID::nullUUID(), bool addToOrbat=false) |
| Creates a new local vrf object and adds it to our list of managed vrf objects. More... | |
| virtual bool | readOrderOfBattleFile (const DtFilename &filename) |
| Read/write order of battle file. More... | |
| virtual bool | readOrderOfBattleFile (const std::vector< std::string * > &oob) |
| virtual bool | readOrderOfBattleFile (DtlInputStream *) |
| Saves OOB file to the named file. More... | |
| virtual bool | readOrderOfBattleFileFromZipFile (const DtFilename &zipFile, const DtString &filename) |
| virtual bool | writeOrderOfBattleFile (const DtString &filename) |
| virtual bool | writeOrderOfBattleFile (std::string &stream, int &numberOfLuaScripts) |
| Writes the OOB file contents into the supplied stream. More... | |
| virtual bool | writeOrderOfBattleFile (std::vector< std::string * > &vecOfStreams, int &numberOfLuaScripts) |
| virtual bool | writeSimulationObjectGroupOrderOfBattleFile (const DtString &filename, int flags, boost::unordered_set< DtUUID > &uuidsSaved) |
| Like the writeOrderOfBattleFile, except will save out an offset from the center of mass with altitude above sea level or above terrain (on object recreation). More... | |
| virtual void | preallocateLuaScriptHandles (int) |
| Preallocates a number of lua script handles. More... | |
| virtual bool | objectShouldBeSavedToOrderOfBattle (const DtVrfObject *vrfObject) const |
| Called by writeOrderOfBattleFile to determine if an entity should be saved to the order of battle file by making sure it is a local object with a VR-Forces globalId. More... | |
| virtual bool | objectShouldBeSavedToSimulationObjectGroup (const DtVrfObject *vrfObject) const |
| virtual bool | hasUUIDOrMarkingText (DtlObjPtr args, DtUUID &) const |
| Will return true if there is a UUID in the stream that is currently in use in the simulation. More... | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| This method must be overridden by a subclass. More... | |
| virtual void | addVrfObjectAboutToBeAddedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtVrfObject is about to be added. More... | |
| virtual void | addVrfObjectAddedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtVrfObject is added. More... | |
| virtual void | addVrfObjectAboutToBeLoadedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtVrfObject is about to be load from the order of battle file. More... | |
| virtual void | addVrfObjectAboutToBeRemovedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a DtVrfObject going to be removed. More... | |
| virtual void | removeVrfObjectAboutToBeAddedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtVrfObject is about to load from the order of battle file. More... | |
| virtual void | removeVrfObjectAboutToBeLoadedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtVrfObject is about to load from the order of battle file. More... | |
| virtual void | removeVrfObjectAddedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtVrfObject is added. More... | |
| virtual void | removeVrfObjectAboutToBeRemovedCallback (DtVrfObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a DtVrfObject is removed. More... | |
| virtual void | addObjectManagerAboutToRemoveAllCallback (DtVrfObjectManagerCallbackFcn fcn, void *usrData) const |
| Add a callback to be invoked whenever all objects are about to be removed from the the object manager. More... | |
| virtual void | removeObjectManagerAboutToRemoveAllCallback (DtVrfObjectManagerCallbackFcn fcn, void *usrData) const |
| Remove a callback to be invoked whenever all objects are about to be removed from the the object manager. More... | |
| virtual void | addOrganizationManagerReadyCallback (DtOrganizationManagerReadyCallbackFcn fcn, void *usrData) const |
| Add callback to be invoked when the organization manager readiness changes. More... | |
| virtual void | removeOrganizationManagerReadyCallback (DtOrganizationManagerReadyCallbackFcn fcn, void *usrData) const |
| Removes callback to be invoked when the organization manager readiness changes. More... | |
| virtual void | enableAutoReorganization () |
| Enables/disables auto reorganization of pseudo-aggregates. More... | |
| virtual void | disableAutoReorganization () |
| virtual bool | autoReorganizeEnabled () const |
| Returns true if auto-reorganization is enabled, false if not. More... | |
| virtual DtEntityIdentifier | mapUUIDToEntityIdentifier (const DtUUID &) const |
| Looks up the entity identifier for the given object unique identifier. More... | |
| virtual DtGlobalObjectDesignator | mapUUIDToGlobalId (const DtUUID &) const |
| virtual DtUUID | mapGlobalIdToUUID (const DtGlobalObjectDesignator &) const |
| virtual bool | objectNameExists (const DtString &) const |
| Checks to see if the name exists. More... | |
| virtual DtSharedVrfObjectReference | lookupTopLevelVrfObject (DtForceType forceType) |
| Look up top-level superior, given the force type. More... | |
| virtual DtString | nextNameWithPrefix (const DtObjectType &objectType, const DtString &potentialPrefix) |
| Returns a new unique name given the prefix (stripped of numbers, if there are some at the end) More... | |
| virtual DtString | nextNameWithPrefix (int maxLength, const DtString &potentialPrefix) |
| Returns a new unique name given the prefix (stripped of numbers, if there are some at the end) that conforms to the maximum length. More... | |
| virtual unsigned int | getNextTransmitterId () |
| Returns next available radio transmitter Id. More... | |
| virtual DtVrfObject * | createAndInitTopLevelVrfObject (DtForceType forceType) |
| Creates and adds a top-level superior of a given force type. More... | |
| virtual DtVrfObject * | createAndInitTopLevelVrfObject (DtForceType forceType, const DtString &name) |
| Creates and adds a top-level superior of a given name (should be of the form "1 Force", "2 Force", etc.) More... | |
| virtual DtString | topLevelName (DtForceType forceType) |
| returns the name string for a top-level object of a given force type. More... | |
| virtual DtString | nextName (const DtObjectType &objectType) |
| Returns an unused name appropriate for the specified object type. More... | |
| virtual DtString | nextUnorganizedName () |
| Returns the next unorganized unique name string. More... | |
| virtual DtString | uniquifyName (const DtString &name, const DtObjectType &objectType) |
| Checks to see if the provided name is unique. More... | |
| virtual unsigned int | maxNameLengthForType (const DtObjectType &objectType) |
| virtual DtReflectedObject * | lookupReflectedObject (const DtGlobalObjectDesignator &globalId) const |
| Look up the reflected object for a given global Id. More... | |
| virtual void | rediscoverObjects (const std::set< DtGlobalObjectDesignator > &ignore=std::set< DtGlobalObjectDesignator >()) |
| run through the lists of known objects and perform discoveries. Ignore the list of global object designators passed in More... | |
| virtual void | requestUpdatesForRemoteNonVrfObjects () const |
| Walk through list of reflected objects and request updates on non-VR-Forces simulated objects. More... | |
| virtual void | objectNameChanged (DtVrfObject *, const DtString &oldName, const DtString &newName) |
| This is called by a DtVrfObject when it's named changes. More... | |
| virtual void | objectUUIDChanged (const DtUUID &oldUUID, const DtUUID &newUUID) |
| This is called by a DtVrfObject when it's UUID changes. More... | |
| virtual DtVrfObject * | aggregateAs (const DtObjectType &aggregateType, DtForceType force, const DtVector &dbPosition, DtReal heading, const std::vector< DtUUID > &subordinates=std::vector< DtUUID >(), const DtString &aggregateName=DtString::nullString(), bool addToOrbat=true) |
| Creates a new aggregate. More... | |
| virtual double | timeOfDay () const |
| Gets the current time of day from the environment manager. More... | |
| virtual double | dateAndTimeOfDay () const |
| Gets the current date and time of day from the environment manager. More... | |
| virtual void | setSimulationDateTimeBasedOnLocation (const DtVector &geocentricLocation, int timeOfDay) |
| Given the objects geocentric location, set the simulation date/time based on the running computers current date and the supplied UTC time. More... | |
| virtual const DtOrganizationManager * | organizationManager () const |
| virtual const DtOrbatManager * | orbatManager () const |
| virtual DtSubordinateFunctionTable & | subordinateFunctionTable () |
| returns a map of string key-value pairs representing subordinateFunction handles and role name text More... | |
| virtual const DtSubordinateFunctionTable & | subordinateFunctionTable () const |
| virtual DtDiGuyCharacterDataManager * | diGuyCharacterManager () |
| DI-Guy character Manager. More... | |
| virtual const DtDiGuyCharacterDataManager * | diGuyCharacterManager () const |
| virtual void | setCoordinateSystem (const Coordinate_System *coordinateSystem) |
| Set the coordinate system on all vrf objects. More... | |
| virtual unsigned | objectCount () const |
| Returns the number of DtVrfObject* items in the list. More... | |
| virtual DtSharedVrfObjectReference | lookupVrfObjectByEntityIdentifier (const DtEntityIdentifier &key) const |
| Looks up a DtVrfObject*, given a DtEntityIdentifier. More... | |
| virtual DtSharedVrfObjectReference | lookupVrfObjectByGlobalId (const DtGlobalObjectDesignator &globalId) const |
| Looks up an object for a given global Id. More... | |
| virtual DtSharedVrfObjectReference | lookupVrfObjectByUUID (const DtUUID &) const |
| Replacement for looking up object by name. More... | |
| virtual bool | uuidExists (const DtUUID &) const |
| Returns true if the given uuid exists. More... | |
| virtual bool | addNameAlias (const DtString &aliasName, DtVrfObject *object) |
| Adds an additional name to reference the specified object other than its actual name. More... | |
| virtual void | removeNameAlias (const DtString &alias) |
| virtual DtSharedVrfObjectReference | lookupVrfObjectByMarkingText (const DtString &) const |
| Looks up the object by the object name (marking text). More... | |
| virtual bool | hasObjectType (const DtObjectType &) const |
| Returns true if there is an object that has the exact object type (not matching type) More... | |
| virtual bool | markingTextExists (const DtString &) const |
| Returns true if the given marking text exists. More... | |
| virtual const DtSimulationAddress & | simulationAddress () const |
| Get the DIS/RPR simulation address from our exercise connection. More... | |
| const DtSimObjectMapIterator & | iterator () const |
| Returns an iterator for the list. More... | |
| virtual bool | createSimObjectList () |
| Called by create(). More... | |
| virtual const DtSimObjectMap & | objectMap () const |
| Map of all vrf objects maintained by the vrf object manager. More... | |
| virtual void | createRemoteEntitiesList (DtExerciseConn *exConn) |
| Called by setExerciseConnection(). More... | |
| virtual void | createRemoteAggregatesList (DtExerciseConn *exConn) |
| virtual void | processEntityChanged (DtReflectedExtEntity *entity) |
| Callback handlers for VR-Link entity and aggregate reflected list events. More... | |
| virtual bool | processEntityDiscoveryCriteria (DtReflectedEntity *entity) |
| Callback handler for processing discovery criteria of reflected objects. More... | |
| virtual bool | processAggregateDiscoveryCriteria (DtReflectedAggregate *aggregate) |
| Callback handler for processing discovery criteria of reflected objects. More... | |
| virtual DtReflectedDesignator * | lookupLasedTargetByGlobalId (const DtGlobalObjectDesignator &tgtGlobalId) |
| Look up a target Global id to if it is being lased. More... | |
| virtual bool | hostingDynamicTerrainServer () const |
| Returns true if this back-end is hosting a dynamic terrain server. More... | |
| virtual DtReflectedDesignator * | lookupLasedTargetByDesignatorCode (const int code) |
| Looks up a PRF code to see if there are any targets being lased by it Nothing fancy just return first match Returns null if no target being lased by this PRF code. More... | |
| virtual void | createRemoteDesignatorsList (DtExerciseConn *exConn) |
| Called by setExerciseConnection(). More... | |
| virtual void | createRemoteActiveSonarList (DtExerciseConn *exConn) |
| virtual void | createRemotePropulsionNoiseList (DtExerciseConn *exConn) |
| virtual void | createRemoteRadioTransmitterList (DtExerciseConn *exConn) |
| virtual void | createRemoteEmitterSystemList (DtExerciseConn *exConn) |
| virtual void | createRemoteIffList (DtExerciseConn *exConn) |
| virtual void | createRemoteExtendedAttributesList (DtExerciseConn *exConn) |
| Called by setExerciseConnection(). More... | |
| DtReflectedDesignatorList * | reflectedDesignatorList () const |
| DtReflectedActiveSonarList * | reflectedActiveSonarList () const |
| DtReflectedPropulsionNoiseList * | reflectedPropulsionNoiseList () const |
| DtReflectedRadioTransmitterList * | reflectedRadioTransmitterList () const |
| DtReflectedIffList * | reflectedIffList () const |
| virtual DtVrfParameterDb * | objectParametersDB () const |
| virtual void | addSimObjectQueuedForRemovalCallback (DtVrfObjectQueuedForRemocalCallbackFcn fcn, void *usr) const |
| Add callback for when an object is queued for removal. More... | |
| virtual void | removeSimObjectQueuedForRemovalCallback (DtVrfObjectQueuedForRemocalCallbackFcn fcn, void *usr) const |
| virtual void | invokeSimObjectQueuedForRemovalCallbacks (const DtVrfObject *object) |
| virtual void | addSimObjectAboutToBeAddedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtSimObject is about to be added. More... | |
| virtual void | addSimObjectAddedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtSimObject is added. More... | |
| virtual void | addSimObjectAboutToBeRemovedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtSimObject is added. More... | |
| virtual void | addSimObjectAboutToBeLoadedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Registers a callback for notification when a new DtSimObject is about to be loaded from an order of battle file. More... | |
| virtual void | removeSimObjectAboutToBeAddedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtSimObject is about to be added. More... | |
| virtual void | removeSimObjectAddedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtSimObject is added. More... | |
| virtual void | removeSimObjectAboutToBeLoadedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a new DtSimObject is about to be loaded from the order of battle file. More... | |
| virtual void | removeSimObjectAboutToBeRemovedCallback (DtSimObjectListActivityCallbackFcn fcn, void *usrData, const DtObjectType &filter=DtObjectType::anyType(), bool invertFilter=false) const |
| Remove a previously register callback for notification when a DtSimObject is removed. More... | |
| virtual void | invokeSimObjectAboutToBeAddedCallbacks (const DtVrfObject *simObject) |
| Called by add(). More... | |
| virtual void | invokeSimObjectAddedCallbacks (const DtVrfObject *simObject) |
| Called by add(). More... | |
| virtual void | invokeSimObjectAboutToBeRemovedCallbacks (const DtVrfObject *simObject) |
| Called by remove(). More... | |
| virtual void | invokeSimObjectAboutToBeLoadedCallbacks (const DtVrfObject *simObject) |
| Called by createAndInit in the DtVrfObject. More... | |
| virtual DtReflectedExtEntityList * | reflectedEntityList () const |
| Get the reflected entity list. More... | |
| virtual DtReflectedExtAggregateList * | reflectedAggregateList () const |
| Get the reflected aggregate list. More... | |
| virtual void | setOrbatEnabled (bool) |
| Whether or not orbat is enabled. Will pass to orbat manager if that is what was created. More... | |
| virtual bool | orbatEnabled () const |
| virtual void | setOrderOfBattleObjectsAddedToOrbatByDefault (bool b) |
| When reading an order of battle file should the objects be added to ORBAT by default. Default is false. More... | |
| virtual bool | orderOfBattleObjectsAddedToOrbatByDefault () const |
| virtual void | closingScenario () |
| Called when the scenario is closing. Do some cleanup. More... | |
| virtual bool | addUUIDMappingForObject (DtVrfObject *vrfObject) |
| Used by the object during initialization will add a pointer to this object before the full add in case it needs to be referenced during initialization by uuid. More... | |
| virtual void | removeUUIDMappingForObject (DtVrfObject *vrfObject) |
| Called only when there is a failure to add during initialization of object. More... | |
| virtual DtEntityIdentifier | nextId (DtVrfObject *o=NULL) |
| virtual DtString | generateUniqueName (int maxLength, const DtString &root="Object") const |
| Generates a name string which does not belong to any other object in the simulation, and does not exceed the maxLength. More... | |
| virtual void | setRollUpRules (const DtAssembliesReaderWriter::RwRootNode &) |
| Sets the roll up rules to be used when organizing state and parameter data. More... | |
| virtual const DtAssembliesReaderWriter::RwRootNode & | rollUpRules () const |
| Roll up rules. More... | |
| virtual void | setActivities (const DtRwActivities &) |
| Set the activities that are available to controllers. More... | |
| virtual const DtRwActivities & | activities () const |
| Return the activities available. More... | |
| virtual bool | isLocal (const DtBaseEntityStateRepository &stateRep) |
| virtual void | objectsEmbarkedOn (DtVrfObjectStateRepository *vrfObjSR, std::vector< DtSharedVrfObjectReference > &list, bool includePseudoAggregates=true) const |
| Fills in the supplied std:list with names of all entities that are embarked on the supplied object. More... | |
| virtual bool | canSimulate () const |
| Returns true if this simulation is ready to be simulated. More... | |
| virtual void | setCanSimulate (bool) |
| Sets whether or not this object manager can simulate. More... | |
| virtual void | printReflectedObjectCounts () const |
| Prints counts of different types of reflected objects. More... | |
| virtual void | addStealthType (const DtEntityType &) |
| Since the stealth type might be able to be configured in the future, use this call to maintain a list of valid stealth types. More... | |
| virtual void | removeStealthType (const DtEntityType &) |
| virtual bool | isStealthType (const DtEntityType &) const |
| std::vector< DtEntityType > & | stealthTypes () |
| const std::vector< DtEntityType > & | stealthTypes () const |
| virtual std::set< const DtVrfObject * > | objectsOnOverlayLayer (const DtString &) const |
| Returns all the objects on a particular overlay layer. More... | |
| virtual void | processVrfObjectDataChanged (const DtVrfObject *, int) |
| virtual void | clearObjectsAwaitingDiscovery () |
| Clears out all objects from simulation object groups awaiting discovery. More... | |
| virtual bool | addSubordinatesToAggregate (DtVrfObject *object, const std::vector< DtUUID > &subordinates, DtAggregateState desiredState=DtFullyDisaggregated) |
| Called by aggregateAs and createAndInitVrfObject(DtIfAggregateAs*). More... | |
| virtual std::vector < DtVrfObject * > | readSimulationObjectGroupOrderOfBattleFile (const DtString &filename, int flags, DtForceType force, DtlObjPtr *retArgs=0, bool *errorLoading=0) |
| Like readOrderOfBattleFile, read in the file with the notion of offsetting all positions of objects by the supplied geometric center. More... | |
| virtual std::vector < DtVrfObject * > | readSimulationObjectGroupOrderOfBattleFileFromZipFile (const DtFilename &scenarioZipFile, const DtString &filename, int flags, DtForceType force, DtlObjPtr *retArgs=0, bool *errorLoading=0) |
| virtual std::vector < DtVrfObject * > | readSimulationObjectGroupOrderOfBattleFile (int flags, DtForceType force, DtlObjPtr &args) |
| virtual std::vector < DtVrfObject * > | readSimulationObjectGroupOrderOfBattleFile (DtlInputStream *fStream, int flags, DtForceType force, DtlObjPtr *retArgs=0, bool *errorLoading=0) |
| DtObjectGeometricModelsManager * | objectModelsManager () const |
| DtVrfEntityIdentifierFactory * | vrfEntityIdentifierFactory () const |
| virtual DtGlobalObjectDesignator | nextGlobalObjectId () |
| Returns a new global object Id. More... | |
| virtual DtVrfObjectPlanAdministrator * | planAdministrator () |
| virtual const DtVrfObjectPlanAdministrator * | planAdministrator () const |
| virtual DtSimInternalCommunicationManager * | simInternalCommunicationManager () |
| virtual void | clearRemoteComponentAttachmentSystem () |
| Fully clear all remote component attachments and remote attachment rules. More... | |
| void | removeAllRemoteComponentAttachments () |
| Clear all remote component attachments. More... | |
| virtual bool | reuseEntityIdentifiersOnScenarioLoad () const |
| Set to true in order to reuse object identifiers that might be part of the scenario. More... | |
| virtual void | setReuseEntityIdentifiersOnScenarioLoad (bool) |
| virtual DtEntityIdentifier | nextEntityIdentifier (const DtVrfObject *, const DtEntityIdentifier &) |
| Returns the next usable entity identifier for publication for the given object. More... | |
| virtual void | addVrfObjectAboutToBePublishedCallback (DtVrfObjectAboutToBePublishedCallbackFcn fcn, void *usrData) const |
| virtual void | removeVrfObjectAboutToBePublishedCallback (DtVrfObjectAboutToBePublishedCallbackFcn fcn, void *usrData) const |
| virtual void | createRemoteComponentAttachmentManager () |
| Creates the DtRemoteComponentAttachmentManager. More... | |
| virtual bool | isRemoteComponentAttachment (const DtUUID &) const |
| Returns true if the object is a remote component that is attached. More... | |
| virtual bool | initializeRemoteComponentAttachmentSystem (const DtFilename &fromFile) |
| Purge the remote component attachment system, then reinitialize from the file. More... | |
| DtRemoteComponentAttachmentManager * | remoteComponentAttachmentManager () |
| Returns the remote component attachment manager. More... | |
| const DtRemoteComponentAttachmentManager * | remoteComponentAttachmentManager () const |
| virtual void | setSearchPaths (const DtReaderWriter::SearchPaths &) |
| virtual const DtReaderWriter::SearchPaths & | searchPaths () const |
| virtual void | addObjectNameChangedCallback (DtVrfObjectNameChangedCallbackFcn fcn, void *usr) const |
| Callback that is invoked whenever an object is renamed. More... | |
| virtual void | removeObjectNameChangedCallback (DtVrfObjectNameChangedCallbackFcn fcn, void *usr) const |
| virtual void | addObjectUUIDChangedCallback (DtVrfObjectUUIDChangedCallbackFcn fcn, void *usr) const |
| Callback that is invoked whenever an object uuid is changed. More... | |
| virtual void | removeObjectUUIDChangedCallback (DtVrfObjectUUIDChangedCallbackFcn fcn, void *usr) const |
| virtual void | setSimObjectType (const DtString &type) |
| The type of DtVrfObjects to create. More... | |
| virtual const DtString & | simObjectType () const |
Public Member Functions inherited from DtRwList | |
| DtRwList () | |
| default constructor More... | |
| DtRwList (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| real constructor More... | |
| DtRwList (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL) | |
| virtual | ~DtRwList () |
| const DtRwList & | operator= (const DtRwList &orig) |
| Calls down to DtReaderWriter::operator=(). List elements are not copied. More... | |
| virtual DtListItem * | add (DtReaderWriter *data) |
| Add element to the end of the list. More... | |
| virtual DtListItem * | addWithAlternateName (DtReaderWriter *data, const DtString &name) |
| Add element to the end of the list, but use the provided name in place of the object name on the data object. More... | |
| virtual DtListItem * | addToStart (DtReaderWriter *data) |
| Add element to the beginning of the list. More... | |
| virtual DtListItem * | addToEnd (DtReaderWriter *data) |
| Add element to the end of the list. More... | |
| virtual void * | remove (DtReaderWriter *data, DtListItem *item) |
| Remove an element from the list. More... | |
| virtual DtlObjPtr | getLocalData (DtlObjPtr args) |
| Since getData is usually used for local data, and we're overloading it here to get the list data, use this if you want any data before your lists. More... | |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Top level to read itself from an input stream. More... | |
| virtual void | getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual DtListItem * | addBefore (DtReaderWriter *data, DtReaderWriter *before) |
| Add element to the list just before the indicated item. More... | |
| virtual DtListItem * | addAfter (DtReaderWriter *data, DtReaderWriter *after) |
| Add element to the list just after the indicated item. More... | |
| virtual void | removeAll () |
| Removes all the items in the list. More... | |
| virtual void | removeAndDeleteAll () |
| Removes and deletes all items in the list. More... | |
| virtual void | reset () |
| Calls removeAndDeleteAll. More... | |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. More... | |
| bool | operator== (const DtRwList &rhs) const |
| Iterates over all items and calls the factory to compare. More... | |
| bool | operator!= (const DtRwList &rhs) const |
| virtual void | populateList (boost::function< void(DtReaderWriter *)> addFunction, DtEnvironmentSP env, DtEnvValueSP node, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &bindings) |
| virtual void | populateListByType (boost::function< void(DtReaderWriter *)> addFunction, DtEnvironmentSP env, DtEnvValueSP node, const DtString &bindingType, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &bindings) |
| DtRwList (const DtString &name, const DtRwList &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| Invokes DtReaderWriter copy constructor. More... | |
| DtRwList (const DtSymbolString &name, const DtRwList &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| virtual DtListItem * | addBefore (DtReaderWriter *data, const DtString &before) |
| Add element to the list just before the indicated item. More... | |
| virtual DtListItem * | addBefore (DtReaderWriter *data, const DtSymbolString &before) |
| virtual DtListItem * | addAfter (DtReaderWriter *data, const DtString &after) |
| Add element to the list just after the indicated item. More... | |
| virtual DtListItem * | addAfter (DtReaderWriter *data, const DtSymbolString &after) |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | getData (const DtEnvironmentSP, const DtEnvValueSP value, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| Gets data from the environment value. More... | |
| virtual const char * | xmlType () const |
| virtual std::set< DtString > | supportedXmlTypes () const |
| Returns the list of xml types supported by this list. Default is all. More... | |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| default constructor More... | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| real constructor Setting the readonly flag prevents object from writing itself to the stream. More... | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| pseudo-copy constructor More... | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor More... | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| assignment operator More... | |
| bool | operator== (const DtReaderWriter &) const |
| Equivalence operator. More... | |
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| destructor More... | |
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Top level call to write itself to file. More... | |
| virtual void | postPutSelf () |
| Called after either version of put self (file or environment). Default is no-op. More... | |
| virtual void | prePutSelf () |
| Called before either version of put self (file or environment). Default is no-op. More... | |
| virtual void | postGetSelf () |
| Called after either version of getSelf (mtl or environment). Default is no-op. More... | |
| virtual void | preGetSelf () |
| Called before either version of get self (file or environment). Default is no-op. More... | |
| virtual void | writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Called from putSelf, calls myRegistry.putSelf which in turn calls putSelf on each reader/writer in the registry. More... | |
| virtual DtSymbolString | name () const |
| Accessor for name of this readable/writable object. More... | |
| virtual void | addAlias (const DtSymbolString &alias) |
| Add an alias as an alternative name for this object. More... | |
| virtual void | addAlias (const DtString &alias) |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| Set read-only flag. More... | |
| bool | isReadonly () const |
| virtual int | alignment () const |
| For those items that are sent over the network via HLA, this will give the network alignment. More... | |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| Sets the myVariableIsBound flag to false. More... | |
| virtual void | setName (const DtString &) |
| Set the name of the object. More... | |
| virtual DtString | prettyPrint () const |
| Routine to return a human readable form of the reader/writer variable. More... | |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| Runs a variable binding pass on this reader writer and any of its children. More... | |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| Returns true if this variable has a child p in it's chain. More... | |
| virtual bool | hasVariableReference () const |
| Returns true if this item or any item in the registry (recursive) is a variable reference. More... | |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| Checks to see if this RW object is a variable reference that can be bound using the provided bindings. More... | |
| virtual void | recordUpdateTime () const |
| Can be implemented in subclasses to stamp the time when updated. More... | |
| virtual bool | wasUpdatedSince (DtTime t) const |
| Can be implemented in subclasses to return true if an update occurred after the specified time. More... | |
| virtual bool | changedSinceLastChecked () |
| Returns true if this objects value has changed since the last time this function was called. More... | |
| virtual bool | peekChangedSinceLastChecked () const |
| Returns the value that changedSinceLastChecked would return but does not reset the internal flag. More... | |
| virtual void | putData (std::string &fp, int indentLevel=0) |
| Deriving class overrides these to get/put class specific data. More... | |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| The specified flags are used for optional values. More... | |
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| Specifies whether or not this reader writer is really a variable that is specified elsewhere. More... | |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| Clears out all variable reference flags from all readerwriter items in registry recursively. More... | |
| virtual DtSymbolString | variableName () const |
| The variable name, if this object is a variable reference. More... | |
| virtual void | setVariableName (const DtSymbolString variableName) |
| virtual const DtReaderWriter * | defaultRWValue () const |
| The default value to use if the reader/writer object is a variable and that variable is not specified. More... | |
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| Previous default value, if exists, will be removed and replaced with a clone of the supplied variable. More... | |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Give the stream, if the stream contains a default value then set it here. More... | |
| const DtReaderWriterRegistry & | registry () const |
| Collection of child DtReaderWriter nodes owned by this object. More... | |
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual DtRwVariableBindings * | generateVariableBindings () const |
| Iterates over the registry (recursively) and returns a variable bindings object that contains all the variables that are contained in this read/writer class. More... | |
| virtual bool | toXml (const DtFilename &) const |
| Writes contents of xml result to the given filename. More... | |
| virtual bool | fromXml (const DtString &) |
| Restores object from given xml string. Returns true if valid. More... | |
| virtual bool | fromXmlFile (const DtFilename &) |
| Restores object from given xml file. More... | |
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| Called when the item is a variable reference. More... | |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| Called when the xml reader tries to parse an unknown reader/writer item. Default is a no-op. More... | |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
| Called when the item is a variable reference. More... | |
Static Public Member Functions | |
| static DtVrfObjectManager * | creator (DtSimManager *simManager, int entityAdvisory) |
| static void | testSettingsChangedCallback (const DtSettingsObject *settings, void *usr) |
| static void | updateTestSettingsCallback (DtSettingsObject *settings, void *usr) |
| static DtVrfObjectManager * | creator (DtSimManager *simManager, int entityAdvisory) |
Static Public Member Functions inherited from DtVrfObjectManager | |
| static void | tickCallback (void *args) |
| This callback is registered on the sim manager's tick list. More... | |
| static void | entityAddedCallback (DtReflectedExtEntity *entity, void *userData) |
| Called by reflected entity list when a new entity appears. More... | |
| static void | entityRemovedCallback (DtReflectedExtEntity *entity, void *userData) |
| Called by reflected entity list when an entity goes away. More... | |
| static void | aggregateAddedCallback (DtReflectedExtAggregate *entity, void *userData) |
| Called by reflected aggregate list when a new aggregate appears. More... | |
| static void | aggregateRemovedCallback (DtReflectedExtAggregate *entity, void *userData) |
| Called by reflected aggregate list when an aggregate goes away. More... | |
| static void | entityChangedCallback (DtReflectedExtEntity *entity, void *userData) |
| Called by reflected entity list when new state data for an entity has arrived. More... | |
| static void | aggregateChangedCallback (DtReflectedExtAggregate *aggregate, void *userData) |
| Called by reflected aggregate list when new state data for an aggregate has arrived. More... | |
| static bool | entityDiscoveryCriteriaCallback (DtReflectedObject *entity, void *userData) |
| Callback used to delay discovery of remote entity. More... | |
| static bool | aggregateDiscoveryCriteriaCallback (DtReflectedObject *aggregate, void *userData) |
| Callback used to delay discovery of remote aggregate. More... | |
| static int | aggregateSuperType (DtAggregateStateRepository *aggregate) |
| static void | designatorAddedCallback (DtReflectedDesignator *des, void *userData) |
| Called by reflected designator list when a new designator appears. More... | |
| static void | designatorRemovedCallback (DtReflectedDesignator *des, void *userData) |
| Called by reflected designator list when a designator goes away. More... | |
| static void | designatorChangedCallback (DtReflectedDesignator *des, void *userData) |
| Called by reflected designator list when new state data for a designator has arrived. More... | |
| static DtBoolean | designatorDiscoveryCriteriaCallback (DtReflectedObject *des, void *userData) |
| Callback used to delay discovery of remote designator. More... | |
| static void | activeSonarAddedCallback (DtReflectedActiveSonar *activeSonar, void *userData) |
| static void | activeSonarRemovedCallback (DtReflectedActiveSonar *activeSonar, void *userData) |
| static void | activeSonarChangedCallback (DtReflectedActiveSonar *activeSonar, void *userData) |
| static DtBoolean | activeSonarDiscoveryCriteriaCallback (DtReflectedObject *activeSonar, void *userData) |
| static void | propulsionNoiseAddedCallback (DtReflectedPropulsionNoise *propNoise, void *userData) |
| static void | propulsionNoiseRemovedCallback (DtReflectedPropulsionNoise *propNoise, void *userData) |
| static void | propulsionNoiseChangedCallback (DtReflectedPropulsionNoise *propNoise, void *userData) |
| static DtBoolean | propulsionNoiseDiscoveryCriteriaCallback (DtReflectedObject *propNoise, void *userData) |
| static void | radioTransmitterAddedCallback (DtReflectedRadioTransmitter *transmitter, void *userData) |
| static void | radioTransmitterRemovedCallback (DtReflectedRadioTransmitter *transmitter, void *userData) |
| static void | radioTransmitterChangedCallback (DtReflectedRadioTransmitter *transmitter, void *userData) |
| static DtBoolean | radioTransmitterDiscoveryCriteriaCallback (DtReflectedObject *transmitter, void *userData) |
| static void | iffAddedCallback (DtReflectedIff *propNoise, void *userData) |
| static void | iffRemovedCallback (DtReflectedIff *propNoise, void *userData) |
| static void | iffChangedCallback (DtReflectedIff *propNoise, void *userData) |
| static DtBoolean | iffDiscoveryCriteriaCallback (DtReflectedObject *iff, void *userData) |
| static void | vrfObjectDataChangedCallback (const DtVrfObjectCallbackData &, void *) |
| Called when the object data changes, see what the overlay is and change the overlay layer. More... | |
Static Public Member Functions inherited from DtRwList | |
| static const char * | theXmlType () |
| The type that is used when archiving to an XML stream. More... | |
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 char * | theXmlType () |
| The type that is used when archiving to an XML stream. More... | |
| static const DtFilename & | appPath () |
| Gets the current working directory. More... | |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| Sets the function to create the DtReaderWriterFactory. More... | |
| 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) |
| Given a filename, returns a newly created reader/writer object from the object found within. More... | |
| static DtReaderWriter * | createFromXml (const DtString &, bool createAsProperty=false) |
| Given a xml string, returns a newly created reader/writer object from the object found within. More... | |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP, bool createAsProperty=false) |
| Given a xml environment, returns a newly created reader/writer object from the object found within. More... | |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| Gets the named attribute from a DtEnvValueSP. More... | |
Public Attributes | |
| MySettingsManager * | mySettingsManager |
| double | myDoubleValue |
| bool | myBoolValue |
| MyObjectManager::MyObjectManager | ( | DtSimManager * | simManager, |
| int | entityAdvisory | ||
| ) |
|
virtual |
| MyObjectManager::MyObjectManager | ( | DtSimManager * | simManager, |
| int | entityAdvisory | ||
| ) |
|
virtual |
|
virtual |
Processes all pending object creations on the myObjectsToCreateQueue by checking DtCreateQueueEntry::isReadyForCreation which if true causes the create message to be passed on to processCreateVrfObject.
Calls the tick() function on all of the DtVrfObject objects. Ticks the vrf object manager. Calls removeObjectQueuedForRemoval() at the end of this function. If you override the tick(), make sure that you call down to the base class version. Make sure that the call to the base class version occurs at the end of your derived tick().
Reimplemented from DtVrfObjectManager.
|
static |
|
virtual |
Initialization - must be called after create() and before any other member functions are called.
Sets the type of objects to create to DtVrfObjectType.
Reimplemented from DtVrfObjectManager.
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
| MySettingsManager* MyObjectManager::mySettingsManager |
| double MyObjectManager::myDoubleValue |
| bool MyObjectManager::myBoolValue |