Public Member Functions |
| | DtVrfObject (const DtObjectType &objectType, DtVrfObjectManager *vrfObjectManager, bool createLocalObject=true, bool publishLocalObject=true, const DtEntityIdentifier &objectIdentifier=DtEntityIdentifier::nullId(), const DtGlobalObjectDesignator *globalId=0, DtReflectedObject *reflectedObject=0, 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="vrf-object", DtReaderWriterRegistry *parentRegistry=0, const DtUUID &uuid=DtUUID::nullUUID(), bool connectToRadioNetowrk=true) |
| virtual | ~DtVrfObject () |
| | destructor
|
| virtual bool | create (bool createNetworkInterface=true) |
| | Virtual construction - must be called before any other member functions are called.
|
| virtual bool | finalizeObjectCreation () |
| | Called to create the network interface (if not already created) and finalize other object creation.
|
| virtual void | finalizeObjectRead () |
| | Called after the object has been read from a saved scenario.
|
| virtual void | setSimulationCapable (bool) |
| | Get/set whether or not this object is simulation capable.
|
| virtual bool | simulationCapable () const |
| virtual void | createCommunicationsInterface () |
| | Allows an external process to invoke creation of a communications interface, if myCommunicationInterface is NULL.
|
| virtual void | createCommunicationsInterface (const DtRadioDescriptorList &descList) |
| | Allows an external process to invoke creation of a communications interface, if myCommunicationInterface is NULL, and pass a radio descriptor list.
|
| virtual void | createSetDataManager () |
| | Allows an external process to invoke creation of a DtSetDataManager, if mySetDataManager is NULL.
|
| virtual int | vrfSessionId () const |
| | Return the session id of this object.
|
| virtual bool | init () |
| | Initialization - must be called after create() and before any other member functions are called.
|
| virtual void | tick () |
| | Called by create().
|
| virtual void | startTick () |
| virtual void | tickComponents () |
| virtual void | endTick () |
| virtual void | tickPublisherOnly () |
| | Ticks only the publisher (net interface)
|
| virtual bool | createRepository (DtVrfObjectParameters *parameterEntry) |
| | Override createRepository() to check if repository created in base class version is a DtSimVrfObjectBaseStateRepository (or a derived type).
|
| virtual bool | createTaskManager () |
| virtual bool | createScriptInterfaceHandler () |
| virtual bool | createComponentManager () |
| virtual bool | createVrfObjectPlanManager () |
| | Creates myVrfObjectPlanManager based on the type specified in mySubComponentTypes.
|
| virtual bool | createRadio () |
| virtual bool | createNavigationInterfaceManager () |
| virtual void | setNavigationEnabled (bool) |
| | Accessors for navigation enabled.
|
| virtual bool | navigationEnabled () const |
| virtual void | addToPotentialLuaScripts (int) |
| | Durning object reload from sccenario, controllers can add to this variable, such that when the read is done, an amount of scripts can be preallocated in the lua script manager based on the total number of objects.
|
| virtual int | potentialLuaScripts () const |
| virtual int | scenarioRunId () const |
| | The id of the scenario being run (if set). Retrieved from the sim manager.
|
| virtual double | timeOfDay () const |
| | Gets the current time of day from the environment manager.
|
| virtual double | dateAndTimeOfDay () const |
| | Gets the current date and time of day from the environment manager.
|
| virtual DtSharedVrfObjectReference | sharedReference () |
| | Returns the shared object reference to this object. Looks it up in object manager.
|
| virtual DtSharedVrfObjectReference | sharedReference () const |
| virtual double | illumination () const |
| | How illuminated this object is.
|
| virtual DtVrfObject * | weather () const |
| | Returns the weather object last calculated when the illumination was updated.
|
virtual
MAKVRinTerra::DtFeatureGeometry | featureGeometry () const |
| | Compute DtFeatureGeometry representation of object geometry.
|
| virtual void | updateIllumination () const |
| | Updates illumination value by providing local position to environment manager to calculate illumination value.
|
| virtual void | updateWeather () |
| | Updates weather object at the entities location.
|
| virtual void | setRangeRingsParametersPublisherTickRange (double d) |
| | Sets the tick rate for updating range rings. Default is 5 seconds plus a random value (set in the range ring publisher)
|
| virtual void | createAndInitializeRangeRingsParameterPublisher () |
| | Creates range ring publisher and sets tick rate to 5 seconds plus a random value (set in the range ring publisher)
|
| virtual bool | needsIlluminationUpdate () const |
| | Returns true if the entity has moved more than half a degree since (either in lat or lon) the last time the illumination was checked or the calculation time has changed.
|
| virtual bool | isOnTopOf (const DtVrfObject *) const |
| | Returns true if the entity is almost on top of the entity specified.
|
| virtual bool | isOnTopOf (const DtVrfObject *, double d) const |
| virtual bool | isSimulationObject () const |
| | Returns true if this is an entity or a unit.
|
| virtual bool | isEntity () const |
| virtual bool | isUnit () const |
| virtual bool | intersect (const DtChord &, DtVrfChordIntersectionRecord *record=0) const |
| | Returns true if this chord intersects this entity. Uses the entities object geometry model.
|
| virtual bool | checkAndDisembarkIfEmbarked (const DtVector &localPosition) |
| | Check terrain hit, and, if entity is embarked, and there is no terrain hit on parent, disembark. Will only check if embarked.
|
| virtual bool | checkIfMoveOntoEmbarked (const DtVector &localPosition, DtVrfObject *&hit, const std::list< DtUUID > &additionalIgnore=std::list< DtUUID >()) |
| | Check to see if there are any entities at the location given that can be moved onto for embarkation.
|
| virtual bool | hasHighFidelityObjectGeometryModel () const |
| | Returns true if the object geometry model is high fidelity (loaded from an medf file)
|
| virtual bool | isEmbeddedInTerrain () const |
| | Returns true if the object has its object geometry model embedded into the terrain.
|
| virtual bool | needsWeatherAreaUpdate () const |
| | Returns true if the entity has moved more than half a degree since (either in lat or lon) the last time the illumination was checked or the calculation time has changed for weather.
|
| virtual bool | isGlobalPlan () const |
| | Returns true if this object represents a global plan.
|
| virtual const DtSimManager * | simManager () const |
| | Get a pointer to our sim manager.
|
| virtual DtSimManager * | simManager () |
| virtual DtSimTaskManager * | taskManager () const |
| | Get pointers to our various types of subcomponents.
|
| virtual DtScriptInterfaceHandler * | scriptInterfaceHandler () const |
| virtual DtSimComponentManager * | componentManager () const |
| virtual DtVrfObjectPlanManager * | vrfObjectPlanManager () const |
| virtual DtSimRadio * | radio () const |
virtual
DtVrfObjectStateRepository * | vrfState () const |
| virtual DtExtent | extent () const |
| | Returns the extent of the vrfObject, if the vrfObject has one.
|
| virtual DtExtent | roughExtent () const |
| const DtVrfObjectParameters * | parameterEntry () const |
| | Parameters used by this object in it's definition.
|
| const DtMovingObjectParameters * | movingObjectParameterEntry () const |
| | Moving object parameters used by this object.
|
| virtual void | expandExtent (DtExtent &extent) const |
| | If the vrfObject has geometry, and thus an extent, then this function expands the specified extent to include the vrfObjects extent.
|
| virtual void | sendVrfObjectCreated (unsigned long requestId=0, bool requestCreated=true) |
| | Create and send a DtVrfObjectCreated message about ourself.
|
| virtual void | setupFromMessageContent (DtIfModifyVrfObject *ifModVrfObject) |
| | Setup self from interface messages.
|
| virtual void | setIsVrfSimulatedObject (bool b) |
| | Returns true if object is being simulated by a VR-Forces-simulated object, false if not.
|
| virtual bool | isVrfSimulatedObject () const |
| virtual bool | isVrfSimulated () const |
| virtual bool | isSimulatingComponents () const |
| | returns true if object is simulating components VR-Forces components can be attached to non- VR-Forces entities.
|
| virtual void | save (std::string &) |
| | Saves the object to the given std::string.
|
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=true, const DtFilename &path=DtReaderWriter::appPath()) |
| | Override to write out <use-default> string for unspecified parameters.
|
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| | Override to do additional setup required when reading older oob, ovl files.
|
| virtual bool | validNameLength (const DtString &name) const |
| virtual bool | setMarkingText (const DtString &name, bool rename=true) |
| | Override to inform the vrfObjectManager when the name changes.
|
| virtual void | addVrfObjectChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| | WARNING: These methods are obsolete but have been retained for backward compatibility.
|
| virtual void | removeVrfObjectChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| virtual void | addNavigationInterfaceChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| | Add/remove callback for when the navigation interface has changed due to navigation being enabled/disabled.
|
| virtual void | removeNavigationInterfaceChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| virtual void | addVrfObjectPredicateCallback (DtVrfObjectPredicateCallbackFunction function, const DtVrfObjectPredicate &predicate, DtTime evaluationPeriod=0, void *userData=0) |
| | Add/remove a callback function to be invoked when the DtVrfObject predicate object associated with it returns true().
|
| virtual void | removeVrfObjectPredicateCallback (DtVrfObjectPredicateCallbackFunction function, const DtVrfObjectPredicate &predicate, DtTime evaluationPeriod=0, void *userData=0) |
| virtual int | predicateCallbackCount () const |
| | For testing.
|
| virtual void | invokeVrfObjectPredicateCallbacks () |
| | Called each tick.
|
| virtual void | setCoordinateSystem (const Coordinate_System *coordinateSystem) |
| | Sets the coordinate system in mySimState (a DtVrfObjectStateRepository) and in myOvlVertices.
|
| virtual const DtVrfObjectManager * | simObjectManager () const |
| virtual DtVrfObjectManager * | simObjectManager () |
| virtual void | setSimObjectManager (DtVrfObjectManager *simObjectManager) |
| virtual bool | createNetInterface () |
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| | Set/get the entity's global Id.
|
virtual const
DtGlobalObjectDesignator & | globalId () const |
| virtual const DtString & | globalIdString () const |
| | Produces the same result as globalId().string(), but the result is cached for faster access in the future.
|
| virtual bool | baseSetMarkingText (const DtString &name) |
| | Set/get the name of the object.
|
| virtual const DtString & | markingText () const |
| virtual const DtString & | objectName () const |
| | Deprecated as of 4.4 Used for backwards compatibility only.
|
| virtual void | addNameAlias (const DtString &name) |
| | Adds a new string which can be used to reference this object by name.
|
| virtual void | unregisterAliases () |
| | Unregisters all aliases with object manager and removes the aliases from the local alias list.
|
| virtual void | setUUID (const DtUUID &) |
| | Sets the UUID of this object. Use only if you know the repercussions of setting it!
|
| virtual const DtUUID & | uuid () const |
| | Returns the UUID of this object.
|
| virtual const DtString & | objectLabel () const |
| | Set/get the label of the object.
|
| virtual void | setObjectLabel (const DtString &objectLabel) |
| virtual DtForceType | forceType () const |
| | Set/get force type.
|
| virtual void | setForceType (DtForceType f) |
| virtual void | setIsSubordinateOfForceLevel (bool) |
| | Get/set whether or not this item is a subordinate of force level. If changes a change callback will be made.
|
| virtual bool | isSubordinateOfForceLevel () const |
| virtual const DtString & | overlayParent () const |
| | Set/get the overlay parent of the object.
|
| virtual void | setOverlayParent (const DtString &overlayParent) |
| virtual DtStateRepository * | netState () |
| | VR-Link network state repository.
|
| virtual const DtStateRepository * | netState () const |
| virtual DtSimObjectNetInterface * | netInterface () |
| | VR-Forces network interface.
|
virtual const
DtSimObjectNetInterface * | netInterface () const |
| virtual void | setNetInterface (DtSimObjectNetInterface *netInterface) |
| virtual void | setObjectIdentifier (const DtEntityIdentifier &objectId) |
| | Set/get the object identifier (DIS/RPR site:host:entity).
|
| virtual const DtEntityIdentifier & | objectIdentifier () const |
| virtual const DtString & | objectIdentifierString () const |
| | Produces the same result as objectIdentifier().string(), but the result is cached for faster access in the future.
|
| virtual bool | isLocal () const |
| | Returns true if object is local (has the same simulation address as the manager), false if not.
|
| virtual DtString | type () const |
| | set by factory on creation
|
| virtual DtString | objectClassType () const |
| virtual void | setObjectClassType (const DtString &objectClassType) |
| | same as type()
|
| virtual void | clearVerticesChangedCallbacks () |
| | Clear out vertices changed callback list.
|
| virtual void | clearRelativeVerticesChangedCallbacks () |
| | Clear out relative vertices changed callback list.
|
| virtual void | clearPredicateCallbacks () |
| | Clear out object predicate callback list.
|
| virtual void | processObjectAboutToBeRemoved (DtVrfObject *) |
virtual
DtSimObjectStateRepository * | simState () |
virtual const
DtSimObjectStateRepository * | simState () const |
| virtual void | setSimState (DtVrfObjectStateRepository *simState) |
| void | setEntityType (const DtEntityType &entityType) |
| const DtEntityType & | entityType () const |
| void | setDestroyed (bool destroyed) |
| bool | isDestroyed () const |
| virtual void | place (const DtVector &location, bool *dataAvailable=0, bool requireAllData=false) |
| | place entity at 'location', on the ground, keeping its current heading
|
| virtual void | place (const DtReal heading, bool *dataAvailable=0, bool requireAllData=false) |
| | give entity the specified 'heading', but stay at its current location
|
| virtual void | place (const DtVector &location, const DtReal heading, bool *dataAvailable=0, bool requireAllData=false) |
| | place entity at specified 'location' and 'heading' on the ground
|
| const DtString & | echelonIdString () const |
| virtual DtSharedVrfObjectReference | leadEntity () const |
| virtual DtSharedVrfObjectReference | firstSubordinate () const |
| virtual DtSharedVrfObjectReference | lastSubordinate () const |
| virtual DtSharedVrfObjectReference | firstHealthySubordinate () const |
| | Returns first healthy subordinate if it exists, 0 if not.
|
| virtual void | echelonIdChanged () |
| virtual const DtObjectId & | objectId () const |
| virtual const DtObjectType & | objectType () const |
| virtual bool | isEmbarked () const |
| virtual DtVector | locationRelativeTo (const DtVector &, DtVrfObject *relativeTo) const |
| | Given the local position vector, return a location that is relative to this entity given that position (in parent coordinates)
|
| virtual DtVector | velocityRelativeTo (const DtVector &, DtVrfObject *relativeTo) const |
| | Given the local velocity vector, return a velocity that is relative to this entity given that velocity (in parent coordinates)
|
| virtual DtVector | accelerationRelativeTo (const DtVector &, DtVrfObject *relativeTo) const |
| | Given the local acceleration vector, return an acceleration that is relative to this entity given that acceleration (in parent coordinates)
|
| virtual DtTaitBryan | orientationRelativeTo (const DtTaitBryan &, DtVrfObject *relativeTo) const |
| | Given the local orientation vector, return an orientation that is relative to this entity given that orientation (in parent coordinates)
|
| virtual DtVrfObject * | embarkedOn () const |
| virtual bool | isEmbarkedOn (const DtUUID &parent) const |
| DtAttachedTerrain * | terrainAttachedTo () |
| const DtAttachedTerrain * | terrainAttachedTo () const |
| virtual const DtPhysicalWorld * | physicalWorld () const |
| virtual DtPhysicalWorld * | physicalWorld () |
| void | setAboutToBeRemoved (bool) |
| | Set to true when object is about to be removed.
|
| bool | aboutToBeRemoved () const |
| virtual DtSetDataManager * | setDataManager () |
| virtual const DtSetDataManager * | setDataManager () const |
virtual
DtVrfObjectCommunicationInterface * | communicationInterface () |
| virtual DtVrfObjectNavInterface * | navInterface () |
virtual
DtVrfObjectTerrainPreloadManager * | terrainPreloadManager () |
| DtVrfObjectSubComponentTypes * | vrfSubComponentTypes () const |
| | For use in virtual construction.
|
| virtual void | duplicateVrfSubComponentTypes () |
| | Duplicates the sub component type.
|
| virtual void | restoreDuplicatedVrfSubComponentTypes () |
| | Restores (if duplicated) to parameter default for sub component types.
|
| virtual bool | hasPlan () const |
| virtual bool | executingPlan () const |
| virtual bool | isCurrentlyTasked () const |
| virtual bool | isEllipsoid () const |
| | Returns true if this object is an ellipsoid object.
|
| virtual DtU8 | getNextEmitterSystemId () |
| virtual void | addScriptExtension (DtLuaScriptInterfaceExtension::CreatorFcn extension, void *usr) |
| | Add a lua script extension for this entity only.
|
| virtual void | removeScriptExtension (DtLuaScriptInterfaceExtension::CreatorFcn extension, void *usr) |
| | Remove a lua script extension that was previously added.
|
virtual const
ScriptInterfaceExtensions & | scriptExtensions () const |
| virtual void | regenerateUUIDForImport () |
| | Regenerates the existing UUID and maps it to be updated for import.
|
| virtual void | addedToObjectManager () |
| | Called right after this object is added to the object manager.
|
| virtual DtVrfUnderwaterAcoustics * | underwaterAcoustics () |
| | Accesses acoustics publisher. Use to set sonar or propulstion noise.
|
| virtual DtVrfObjectDeletionHandle | objectDeletionHandle () |
| virtual void | updateTerrainEmbeddedGeometry (bool force=false) |
| | Updates geometry embedded into terrain (if configured) with current info.
|
|
| virtual void | addVerticesChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| | Adds/removes a callback to be invoked whenever an object's local vertices change.
|
| virtual void | removeVerticesChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
|
| virtual void | addObjectDataChangedCallback (DtObjectDataChangedCallbackFunction, void *) |
| | Adds/removes callbacks for when values in the object have changed.
|
| virtual void | removeObjectDataChangedCallback (DtObjectDataChangedCallbackFunction, void *) |
| virtual void | invokeObjectDataChangedCallbacks (ChangeFlag) |
|
| virtual void | addRelativeVerticesChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
| | Adds/removes a callback to be invoked whenever an object's relative vertices change.
|
| virtual void | removeRelativeVerticesChangedCallback (DtVrfObjectCallbackFunction function, void *userData) |
|
| virtual void | setPublishObject (bool publishObject) |
| | Set/get flag indicating whether or not object should be published.
|
| virtual bool | publishObject () const |
|
| virtual DtOutputStream & | objectConsoleDebug (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleVerbose (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleInfo (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleWarn (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleError (const DtString &channel="") const |
|
| virtual DtObjectConsole * | objectConsole () |
| | Returns a pointer to the object console member of this object.
|
| virtual const DtObjectConsole * | objectConsole () const |
|
| virtual void | addPostInitFromParamsCallback (DtVrfObjectCallbackFunction fcn, void *usr) |
| | Add/remove callback function to be invoked immediately following the point at which the newly created object gets initialized from its parameter entry.
|
| virtual void | removePostInitFromParamsCallback (DtVrfObjectCallbackFunction fcn, void *usr) |
|
| virtual void | addObjectAboutToBeRemovedCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| | Callback that is invoked when the entity is about to be removed from the simulation.
|
| virtual void | removeObjectAboutToBeRemovedCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| virtual void | invokeVrfObjectAboutToBeRemovedCallbacks () |
|
| virtual void | addObjectModifiedViaMessageCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| | Callback that is triggered when the object is modified via a VRF modify message.
|
| virtual void | removeObjectModifiedViaMessageCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| virtual void | invokeObjectModifiedViaMessageCallback () |
|
| virtual void | addNewSensorContactCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| | Callback that is invoked when the entity detects a new sensor contact or when a sensor contact's CID level is increased.
|
| virtual void | removeNewSensorContactCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| virtual void | invokeNewSensorContactCallbacks () |
|
| virtual void | addSetLocationCompleteCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| | Callback that is invoked when a set location request is completed.
|
| virtual void | removeSetLocationCompleteCallback (DtVrfObjectCallbackList::DtCallbackFunctionType fcn, void *usr) |
| virtual void | invokeSetLocationCompleteCallbacks () |
| | DtReaderWriter () |
| | default constructor
|
| | DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) |
| | real constructor Setting the readonly flag prevents object from writing itself to the stream.
|
| | DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) |
| | DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) |
| | pseudo-copy constructor
|
| | DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) |
| | DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) |
| | copy constructor
|
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| | assignment operator
|
| bool | operator== (const DtReaderWriter &) const |
| | Equivalence operator.
|
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| | destructor
|
| virtual void | postPutSelf () |
| | Called after either version of put self (file or environment). Default is no-op.
|
| virtual void | prePutSelf () |
| | Called before either version of put self (file or environment). Default is no-op.
|
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| | Top level to read itself from an input stream.
|
| virtual void | postGetSelf () |
| | Called after either version of getSelf (mtl or environment). Default is no-op.
|
| virtual void | preGetSelf () |
| | Called before either version of get self (file or environment). Default is no-op.
|
| 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.
|
| virtual DtSymbolString | name () const |
| | Accessor for name of this readable/writable object.
|
| virtual void | addAlias (const DtSymbolString &alias) |
| | Add an alias as an alternative name for this object.
|
| 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.
|
| bool | isReadonly () const |
| virtual void | reset () |
| | For those reader/writer items that support it, resets the reader/writer value to original state Default is no-op.
|
| virtual int | alignment () const |
| | For those items that are sent over the network via HLA, this will give the network alignment.
|
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| | Sets the myVariableIsBound flag to false.
|
| virtual void | setName (const DtString &) |
| | Set the name of the object.
|
| virtual const char * | readerWriterType () const |
| | Used to supply a string type that this reader writer type is.
|
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| | Routine to return a human readable form of the reader/writer variable.
|
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| | Runs a variable binding pass on this reader writer and any of its children.
|
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.
|
| virtual bool | hasVariableReference () const |
| | Returns true if this item or any item in the registry (recursive) is a variable reference.
|
| 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.
|
| virtual void | recordUpdateTime () const |
| | Can be implemented in subclasses to stamp the time when updated.
|
| virtual bool | wasUpdatedSince (DtTime t) const |
| | Can be implemented in subclasses to return true if an update occurred after the specified time.
|
| virtual bool | changedSinceLastChecked () |
| | Returns true if this objects value has changed since the last time this function was called.
|
| virtual bool | peekChangedSinceLastChecked () const |
| | Returns the value that changedSinceLastChecked would return but does not reset the internal flag.
|
| virtual void | putData (std::string &fp, int indentLevel=0) |
| | Deriving class overrides these to get/put class specific data.
|
| virtual DtlObjPtr | getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| | The specified flags are used for optional values.
|
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| | Specifies whether or not this reader writer is really a variable that is specified elsewhere.
|
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| | Clears out all variable reference flags from all readerwriter items in registry recursively.
|
| virtual DtSymbolString | variableName () const |
| | The variable name, if this object is a variable reference.
|
| 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.
|
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| | Previous default value, if exists, will be removed and replaced with a clone of the supplied variable.
|
| 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.
|
| const DtReaderWriterRegistry & | registry () const |
| | Collection of child DtReaderWriter nodes owned by this object.
|
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual bool | toXml (const DtFilename &) const |
| | Writes contents of xml result to the given filename.
|
| virtual bool | fromXml (const DtString &) |
| | Restores object from given xml string. Returns true if valid.
|
| virtual bool | fromXmlFile (const DtFilename &) |
| | Restores object from given xml file.
|
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| | Override to add attributes of actual data.
|
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| | Called when the item is a variable reference.
|
| 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()) |
| | Gets data from the environment value.
|
| 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.
|
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
| | Called when the item is a variable reference.
|
Static Public Member Functions |
| static void | enableSingleObjectMode () |
| | Puts VRF in "single object mode" which limits it to simulating only a single local entity or lifeform object.
|
| static bool | singleObjectModeActive () |
| static void | addSimObjectCreatorFcn (const DtString &type, DtSimObjectCreatorFcn fcn) |
| static void | objectAboutToBeRemoved (DtVrfObject *msg, void *usr) |
| static DtSimObjectFactory * | factory () |
| | a DtSimObjectFactory is allocated by the DtSimCreator, and this pointer is set.
|
| static void | setFactory (DtSimObjectFactory *factory) |
| static void | setDefaultNotifyLevel (DtNotifyLevelType level) |
| | Sets the notify level for all object consoles.
|
| static DtNotifyLevelType | defaultNotifyLevel () |
| static DtVrfObject * | creator (const DtObjectType &objectType, DtVrfObjectManager *simObjectManager, bool createLocalObject=true, bool publishLocalObject=true, const DtEntityIdentifier &objectIdentifier=DtEntityIdentifier::nullId(), const DtGlobalObjectDesignator *globalId=0, DtReflectedObject *reflectedObject=0, 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, const DtUUID &uuid=DtUUID::nullUUID(), bool connectToRadioNetowrk=true) |
| | Returns a newly created DtVrfObject.
|
| static DtVrfObject * | createObject (const DtObjectType &objectType, DtVrfObjectManager *vrfObjectManager, const DtString &classType, bool createLocalObject=true, bool publishLocalObject=true, const DtEntityIdentifier &objectIdentifier=DtEntityIdentifier::nullId(), const DtGlobalObjectDesignator *globalId=0, DtReflectedObject *reflectedObject=0, 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, const DtUUID &initialUUID=DtUUID::nullUUID(), bool connectToRadioNetowrk=true) |
| | Create and initialize a new sim object, using the factory.
|
| static DtVrfObject * | createObject (const DtObjectType &objectType, DtVrfObjectManager *vrfObjectManager, const DtString &classType, bool createLocalObject=true, bool publishLocalObject=true, const DtEntityIdentifier &objectIdentifier=DtEntityIdentifier::nullId(), const DtGlobalObjectDesignator *globalId=0, DtReflectedObject *reflectedObject=0, const DtString &objectName=DtString::nullString(), const DtString &objectLabel=DtString::nullString(), DtForceType forceType=DtForceOther, const DtVector &location=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, const DtUUID &uuid=DtUUID::nullUUID(), bool connectToRadioNetowrk=true) |
| | Create and initialize a new sim object, using the factory.
|
| static DtVrfObject * | createAndInit (DtVrfObjectManager *vrfObjectManager, DtlObjPtr mtlStream) |
| | Create and initialize a new sim object from a mtl stream.
|
| static DtVrfObject * | createAndInitForSimulationObjectGroup (DtVrfObjectManager *vrfObjectManager, DtlObjPtr mtlStream, int flags, int force, const DtVector &geocentricOffsetLocation, double offsetRotation=0.) |
| | Create and initialize a new sim object from a mtl stream as created as part of a simulation object group.
|
| static void | verticesChangedCallback (DtVrfObject *obj, DtVrfObjectPredicateEvaluator *predicateEval, void *userData) |
| | Invokes all vertices-changed callbacks that have registered with the object.
|
| static void | relativeVerticesChangedCallback (DtVrfObject *obj, DtVrfObjectPredicateEvaluator *predicateEval, void *userData) |
| | Invokes all relative-vertices-changed callbacks.
|
| static void | postInitFromParamsCallback (DtVrfObjectStateRepository &stateRepository, void *usr) |
| | Callback function registered with object's state repository.
|
| 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.
|
| static const DtFilename & | appPath () |
| | Gets the current working directory.
|
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| | Sets the function to create the DtReaderWriterFactory.
|
| static void | createReaderWriterFactory () |
| static void | cleanupFactory () |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &, bool createAsProperty=false) |
| | Given a filename, returns a newly created reader/writer object from the object found within.
|
| static DtReaderWriter * | createFromXml (const DtString &, bool createAsProperty=false) |
| | Given a xml string, returns a newly created reader/writer object from the object found within.
|
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP, bool createAsProperty=false) |
| | Given a xml environment, returns a newly created reader/writer object from the object found within.
|
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| | Gets the named attribute from a DtEnvValueSP.
|
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |