|
| | DtScriptOwnshipObject (const DtUUID &name, DtVrfObject *const vrfObject) |
| |
| | DtScriptOwnshipObject (const DtUUID &name, DtSimManager *simManager, DtVrfObject *const vrfobject) |
| |
| | DtScriptOwnshipObject (const DtScriptOwnshipObject &orig) |
| |
| | ~DtScriptOwnshipObject () |
| |
|
| void | setLocation3D (const DtLocation3D &newloc) |
| | Script API functions. More...
|
| |
| void | setHeading (const double heading) |
| |
| void | setPitch (const double heading) |
| |
| virtual void | setLabel (const std::string &) |
| |
| virtual void | setExtendedLabel (int, const std::string &) |
| |
| virtual void | setNavigationEnabled (bool) |
| |
| DtVrfObject * | ownshipObject () |
| | Ownship can modify itself. More...
|
| |
| virtual std::list< std::string > | getResourceNames (void) const |
| |
| virtual double | getResourceAmounts (const std::string &resourceName, double *fullAmount) const |
| | Returns the current amount as the return value for the supplied resource name. More...
|
| |
| virtual void | depleteResource (const std::string &resourceName, double amount) |
| | Deplete the resource by the current amount, not going below zero. More...
|
| |
| virtual void | replenishResource (const std::string &resourceName, double amount) |
| | Replenishes the resource amount, not going above full. More...
|
| |
| virtual int | getNotifyLevel () const |
| | Returns the notify level this object is currently set to. More...
|
| |
| virtual std::string | getMunitionType (const std::string &resourceName) |
| | Returns the entity type of the munition resource. More...
|
| |
| virtual bool | addResource (const std::string &resourceType, const std::string &resourceName, double currentAmount, double fullAmount) |
| | Adds a new resource given the type, name (including any systems it should be in) current amount and full amount. More...
|
| |
| virtual void | updateStateAndParameterProperties () |
| | If this is a psuedo aggregate will update state and parameter properties in the state repository given the composition of the leaf nodes and their current values. More...
|
| |
| virtual void | removeResource (const std::string &resourceName) |
| | Removes the resource from the supplied system. More...
|
| |
| virtual bool | isUnderFire () const |
| | True if under fire, as defined in the object state repository. More...
|
| |
| virtual int | suppressionLevel () const |
| | Returns the suppression level: an integer from 0 to 3. More...
|
| |
| virtual std::string | nonLethalDamageEffect () const |
| | Returns the non lethal damage type of the entity. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getObservedHostileContacts (void) |
| | It gets the list of contacts for the entity and filters out all but known hostile objects that were detected by sensors (vs. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getAllHostileContacts (void) |
| | It gets the list of contacts for the entity and filters out all but known hostile objects. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getAllContacts (void) |
| | It gets the list of contacts and returns it. More...
|
| |
| virtual int | targetPriority (const DtScriptVrfObject &otherEntity) |
| | It gets the list of priority targets and returns it. More...
|
| |
| virtual bool | registerDetonationInterest (double range, const std::string &munitionType) |
| | It registers interest in any detonation that occurs within the specified range of the object with the specified munition type. More...
|
| |
| virtual bool | registerFireInterest (double range, const std::string &munitionType) |
| | It registers interest in any fire that occurs within the specified range of the object with the specified munition type. More...
|
| |
| virtual bool | getLastDetonation (std::string &munitionType, DtLocation3D &location) |
| | If interest in detonations has previously been registered, this function will return the munition type and location of the detonation. More...
|
| |
| virtual bool | getLastFire (std::string &munitionType, DtLocation3D &location) |
| | If interest in fires has previously been registered, this function will return the munition type and location of the fire. More...
|
| |
| virtual void | setDestroyed (bool destroyed) |
| | Sets the damage state of this entity to be destroyed if true, or not damaged if false. More...
|
| |
| virtual std::string | getRulesOfEngagement () |
| | Returns the current rules of engagement of this entity. More...
|
| |
| virtual void | setRulesOfEngagement (const std::string &rule) |
| | Sets the rules of engagement of this entity. More...
|
| |
| virtual std::list< std::string > | embeddedEntityNames () |
| | Returns the complete list of Embedded Entity names available to this object. More...
|
| |
| virtual std::list< std::string > | embeddedEntitiesOfType (std::string typeString) |
| | Returns a list of Embedded Entity names available to this object matching the given typeString, where typeString is a string representation of the seven digit DIS enumeration. More...
|
| |
| virtual std::list< std::string > | embeddedEntitiesCapableOf (std::string taskSetName) |
| | Returns a list of Embedded Entity names available to this object that are capable of the given task/set, where taskSetName is the string identifier of any task or set. More...
|
| |
| virtual DtScriptVrfObject | simObjectByEmbeddedEntityName (std::string eeName) |
| | Returns the DtScriptVrfObject corresponding to the given Embedded Entity name. More...
|
| |
| virtual std::string | embeddedEntityStatus (std::string eeName) |
| | Returns the deployment status of the Embedded Entity with the given name. More...
|
| |
| virtual double | normalizedSensorSignature (const DtScriptVrfObject &targetEntity, std::string domain) |
| | This function determines if the given target entity is detectable by the ownship entity in the given domain. More...
|
| |
| virtual void | changeAttachment (const std::string &parentUUID) |
| | This allows the object to change its attachment without using the embarkation controller which is some circumstances is not desired. More...
|
| |
| virtual void | setExtendedData (const std::string &key, const std::string &val) |
| | Sets the extended data with the given key to the new value. More...
|
| |
| virtual bool | canFireAt (const DtLocation3D &location) |
| | Can fire at a location given the rules of engagement. More...
|
| |
| | DtScriptVrfObject (const DtUUID &name, const DtVrfObject *const vrfObject) |
| |
| | DtScriptVrfObject (const DtUUID &name, const DtSimManager *simManager, const DtVrfObject *const vrfObject) |
| |
| | DtScriptVrfObject (const DtScriptVrfObject &orig) |
| |
| DtScriptVrfObject & | operator= (const DtScriptVrfObject &orig) |
| |
| | ~DtScriptVrfObject () |
| |
| bool | operator== (const DtScriptVrfObject &orig) |
| |
| virtual double | getHeightAboveTerrain (bool &available) const |
| | Gets the height above terrain, which is just ownship altitude - terrain altitude. More...
|
| |
| virtual bool | hasLosToObject (const DtScriptVrfObject &target, bool &dataAvailable) const |
| | Check LOS to a target entity through terrain and objects, except for ownship object and target object. More...
|
| |
| virtual bool | isPointInside (const DtLocation3D &point) const |
| | Determine if the given point is inside the polygon described by the vertices (footprint) of this object. More...
|
| |
| virtual bool | independentlyTasked () const |
| | Returns true if item is independently tasked. More...
|
| |
| virtual bool | hasLosToLocation (DtLocation3D &targetLoc, bool &dataAvailable) const |
| | Check LOS to a location through terrain and objects, except for ownship object. More...
|
| |
| virtual std::string | getEntityType () const |
| | Return the entity type. More...
|
| |
| virtual bool | isAggregate () const |
| | Returns whether the object is an aggregate, using the object state repository definition of isAggregate(). More...
|
| |
| virtual bool | isPseudoAggregate () const |
| | Returns whether the object is an aggregate, using the object state repository definition of isAggregate() and the object is in a DtDisaggregated state. More...
|
| |
| virtual std::string | getEchelonLevel () const |
| | Returns the echelon level as a string. More...
|
| |
| virtual std::string | getForceType () const |
| | Returns entity force. More...
|
| |
| virtual int | getForceEnumeration () const |
| | Returns entity force enumeration (integer) More...
|
| |
| virtual std::string | getDamageState () const |
| | Returns the current damage state as: none slight moderate destroyed. More...
|
| |
| virtual unsigned | getLifeformPosture () const |
| | Returns the DIS enumerated value for the current lifeform posture. More...
|
| |
| virtual unsigned | getAppearance () const |
| | Returns the current appearance bits of the entity. More...
|
| |
| virtual bool | isDestroyed () const |
| | Returns whether or not this entity is destroyed. More...
|
| |
| virtual bool | isFirePowerKilled () const |
| | Returns whether or not this entity's fire power has been killed. More...
|
| |
| virtual bool | isMobilityKilled () const |
| | Returns whether or not this entity's mobility has been killed. More...
|
| |
| virtual bool | isSensorKilled () const |
| | Returns whether or not this entity's sensors have been killed. More...
|
| |
| virtual bool | isInvisible () const |
| | Returns whether or not this entity is invisible. More...
|
| |
| virtual bool | isEmbarked () const |
| | Returns whether or not this item is embarked on any other item. More...
|
| |
| virtual void | attachToParent (DtScriptVrfObject &) const |
| | Given an object which is a parent, attach to it (immediate embark) More...
|
| |
| virtual bool | isOnTopOf (DtScriptVrfObject &) const |
| | Will return true if this entity is near the top of the specified entity given the specified distance (in meters). More...
|
| |
| virtual bool | isOnTopOfWithDistance (DtScriptVrfObject &, double) const |
| |
| virtual DtScriptVrfObject | getEmbarkedOn () const |
| | Parent this object is embarked on. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getEmbarkedObjects (void) const |
| |
| virtual DtVectorOffset3D | getOffsetFromParent () const |
| |
| virtual DtVectorOffset3D | getOffsetOfLocation (const DtLocation3D &location) const |
| |
virtual std::list
< DtScriptVrfObject > | getSubordinates (void) const |
| | Returns a list of the immediate subordinates of this aggregate. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getVrfSubordinates (bool isVrf) const |
| | Returns a list of the vrf simulated immediate subordinates of this aggregate. More...
|
| |
| virtual DtScriptVrfObject | getSuperior () const |
| | Returns the superior of this object. More...
|
| |
| virtual double | recalculatePhysicalFootprintFromSubordinates (const std::list< DtScriptVrfObject > &) const |
| | Given the list of subordinates, return a DtRwReal that will contain the physical footprint (radius) of aggregate. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getAllSubordinates (void) const |
| | Returns a list of all leaf (lowest level) nodes (subordinates) of this aggregate. More...
|
| |
virtual std::list
< DtScriptVrfObject > | getAllVrfSubordinates (bool isVrf) const |
| |
virtual std::list
< DtScriptVrfObject > | getCapableSubordinates (void) const |
| |
virtual std::list
< DtScriptVrfObject > | getCapableVrfSubordinates (bool isVrf) const |
| |
| virtual bool | isVrfSimulated () const |
| | Returns true if this object is simulated by VR-Forces. More...
|
| |
| virtual std::list< DtLocation3D > | getLocations3D (void) const |
| |
| virtual std::string | getName () const |
| |
| virtual std::string | getLabel () const |
| |
| virtual std::string | getExtendedLabel (int) const |
| |
| virtual std::string | getGlobalId () const |
| |
| virtual std::string | getObjectId () const |
| |
| virtual double | getHeading () const |
| |
| virtual double | getPitch () const |
| |
| virtual double | getRoll () const |
| |
| virtual double | getDraft () const |
| |
| void | terrainSurfaceDebug () |
| | For debugging the terrain surface(s) at the entity's location. More...
|
| |
| void | deleteObject () |
| | Deletes object from simulation. More...
|
| |
| bool | isDeleted () const |
| | Returns true if the object has been deleted from the simulation. More...
|
| |
| virtual bool | isValid () const |
| |
| virtual bool | isLocal () const |
| | Returns true if the object is local to the back-end the script is running on. More...
|
| |
| virtual DtVectorOffset3D | getBoundingVolume (DtVectorOffset3D &offset) const |
| | Returns the bounding volume and the bounding volume offset. More...
|
| |
| virtual std::string | getNbcDamage (int &dmgPerSec, int &moppLvl) const |
| | Returns the damage type, damage per second, and the MOPP level required to protect against the NBC contaminated area. More...
|
| |
| virtual std::string | getNbcAgent () const |
| | Returns the agent type of the NBC area. More...
|
| |
| virtual bool | isBreached () const |
| | Returns true if this is an engineering object which has been breached. More...
|
| |
| virtual std::string | getExtendedData (const std::string &key) const |
| | Returns the extended data with the given key, or an empty string if not found. More...
|
| |
| virtual DtLocation3D | getClosestPointToLocation2D (const DtLocation3D &location, double &distance) const |
| | Finds the closest point on the object's geometry to the given location. More...
|
| |
| virtual DtLocation3D | getIntersectionPointWithLine2D (const DtLocation3D &point1, const DtLocation3D &point2, bool &hasIntersection) const |
| | Calculates the point where the line defined by the two points intersects with the object. More...
|
| |
| virtual bool | isActive () const |
| | Returns true if this is an environmental and it is active. All others will be considered active. More...
|
| |
| virtual std::string | getDiGuyHandItem () const |
| | If object is lifeform with Diguy representation will return handitem if has one. More...
|
| |
| virtual bool | isAnimationAvailable (const std::string &animationName) const |
| |
| virtual bool | isAppearanceAvailable (const std::string &appearanceName) const |
| |
| virtual bool | isHandItemAvailable (const std::string &handItemName) const |
| |
| virtual bool | isHeadAvailable (const std::string &headName) const |
| |
| virtual bool | isGestureAvailable (const std::string &gestureName) const |
| |
| virtual double | animationDuration (const std::string &animationName) const |
| |
| virtual double | animationSpeed (const std::string &animationName) const |
| |
| virtual double | getAnimationTransitionInfo (const std::string &fromAnimation, const std::string &toAnimation, DtVectorOffset3D &deltaPos, double &deltaHeading) const |
| | as well as the delta position and heading. More...
|
| |
virtual boost::shared_ptr
< DtScriptComponentSystem > | lookupSystem (const std::string &systemName) |
| | Gets a script component system from the system name. More...
|
| |
| virtual std::list< std::string > | getSystemNames () |
| | Gets a list of all system names for this entity. More...
|
| |
| virtual std::string | getSystemCategory (const std::string &systemName) |
| | Gets the category, e.g. More...
|
| |
| virtual std::list< std::string > | getFormationNames () |
| | Gets a list of all formation names for this entity (if an aggregate) More...
|
| |
virtual std::list
< DtVectorOffset3D > | getFormationPositions (const std::string &formationName) |
| | Gets a list of position offsets for this formation. More...
|
| |
| virtual void | setSimManager (DtSimManager *simManager) |
| | Script API functions above. ////////////////////////////////////! More...
|
| |
| virtual DtString | objectType () const |
| | Should return the string name of this object. More...
|
| |
| DtString | serialize () |
| | Inherited from DtAsciiSerializable. Returns a string serialized version of this class. More...
|
| |
| bool | deserialize (const DtString &data) |
| | Inherited from DtAsciiSerializable. More...
|
| |
| const DtVrfObject * | vrfObject () const |
| | For use by C++ side methods. More...
|
| |
| void | testValid () const |
| | Makes sure the object is valid. If not, throws exception. More...
|
| |
| virtual DtLocation3D | getLocation3D () const |
| | Script API functions. More...
|
| |
| virtual double | getSpeed () const |
| | Returns the objects current speed in meters/second. More...
|
| |
| virtual std::string | getUUID () const |
| | Returns the UUID of this object. More...
|
| |
| virtual DtVector3D | getDirection3D () const |
| | Vector info about entity. More...
|
| |
| virtual DtVector3D | getVelocity3D () const |
| | Velocity of entity, meters/sec. More...
|
| |
| virtual bool | getNavigationEnabled () const |
| |
| virtual DtVectorOffset3D | getPartParentPosition (int) const |
| |
| virtual DtLocation3D | getPartWorldPosition (int) const |
| |
| virtual double | getPartPitch (int) const |
| |
| virtual double | getPartPitchIncludingParent (int, bool includeParent=false) const |
| |
| virtual double | getPartHeading (int) const |
| |
| virtual double | getPartHeadingIncludingParent (int, bool includeParent=false) const |
| |
| virtual double | getPartTranslationForward (int) const |
| |
| virtual double | getPartTranslationRight (int) const |
| |
| virtual double | getPartTranslationUp (int) const |
| |
| bool | hasStateProperty (const std::string &propertyName) |
| | Checks to see if the property exists. More...
|
| |
| bool | hasParameterProperty (const std::string &propertyName) |
| |
| | DtAsciiSerializable () |
| | The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface. More...
|
| |
| | DtAsciiSerializable (const DtAsciiSerializable &orig) |
| |
| virtual | ~DtAsciiSerializable () |
| |
| virtual std::string | objectTypeC () const |
| | Returns a std::string version of the objectType. More...
|
| |
| virtual void | init (void *userData) |
| | This function is called right after the object is constructed during the deserialization process, but before deserialize() is called. More...
|
| |