| DtScriptAerodromeObject::DtScriptAerodromeObject |
( |
const DtSimulationServices * |
, |
|
|
const std::string & |
name |
|
) |
| |
| DtScriptAerodromeObject::DtScriptAerodromeObject |
( |
const std::string & |
| ) |
|
| DtScriptAerodromeObject::DtScriptAerodromeObject |
( |
| ) |
|
This constructor will produce an invalid object. However, it is needed by luabind to instantiate a function out-parameter (which gets assigned a value before the function returns).
| DtScriptAerodromeObject::~DtScriptAerodromeObject |
( |
| ) |
|
| virtual bool DtScriptAerodromeObject::isValid |
( |
| ) |
const |
|
virtual |
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
| virtual int DtScriptAerodromeObject::getAeroromeLightIntensity |
( |
const std::string & |
lightGroup | ) |
const |
|
virtual |
If published on the network, the value of the given light group from 0 - 100%.
| virtual bool DtScriptAerodromeObject::isActive |
( |
| ) |
const |
|
virtual |
If published on the network returns whether or not this is active. If it is not on the network always assumed to be active.
| virtual bool DtScriptAerodromeObject::isManaged |
( |
| ) |
const |
|
virtual |
Returns whether or not the state of this aerodrome is managed by VRF.
Returns a DtScriptVrfObject if this aerodrome is simulated on the network, or a null object.
| virtual DtLocation3D DtScriptAerodromeObject::getLocation3D |
( |
| ) |
const |
|
virtual |
Returns the location of the aerodrome. If this is a unit, it returns the center mass of the living subordinates.
| virtual bool DtScriptAerodromeObject::runwayExists |
( |
const std::string & |
| ) |
const |
|
virtual |
Returns true if this route exists at the aerodrome.
| virtual std::list<std::string> DtScriptAerodromeObject::getRunways |
( |
| ) |
const |
|
virtual |
Returns the names of all the runways with this aerodrome.
| virtual int DtScriptAerodromeObject::getRunwayLightIntensity |
( |
const std::string & |
runway, |
|
|
const std::string & |
lightGroup |
|
) |
| const |
|
virtual |
If published on the network, the value of the given light group of the runway from 0 - 100%.
| virtual double DtScriptAerodromeObject::getRunwayLength |
( |
const std::string & |
| ) |
const |
|
virtual |
Returns the length of the specified runway (in meters)
| virtual double DtScriptAerodromeObject::getRunwayHeading |
( |
const std::string & |
| ) |
const |
|
virtual |
Returns the heading of the given runway (in degrees)
| virtual bool DtScriptAerodromeObject::runwayIsActive |
( |
const std::string & |
| ) |
const |
|
virtual |
Returns whether or not this runway is active. If this is published on the network will check the network representation, else, it is considered active.
| virtual std::list<DtLocation3D> DtScriptAerodromeObject::getRunwayLocations3D |
( |
const std::string & |
runway | ) |
const |
|
virtual |
Returns the points of the specified runway object or an empty list if the runway does not exist. Use runwayExists to see if the runway exists before making this call.
| virtual int DtScriptAerodromeObject::getRunwayCondition |
( |
const std::string & |
runway | ) |
const |
|
virtual |
Returns the condition of the runway if the aerodrome is published. If the aerodrome is not a published aerodrome will always return 0 (Unknown)
| virtual bool DtScriptAerodromeObject::runwayIsDamaged |
( |
const std::string & |
runway | ) |
const |
|
virtual |
Gets whether or not runway is damaged if the aerodrome is published. If the aerodrome is not published will always return false.
| virtual std::string DtScriptAerodromeObject::getAirportCode |
( |
| ) |
const |
|
virtual |
Returns the airport code of this aerodrome.
| virtual std::string DtScriptAerodromeObject::getAirportName |
( |
| ) |
const |
|
virtual |
Returns the long name of this aerodrome.
| virtual int DtScriptAerodromeObject::getForceType |
( |
| ) |
const |
|
virtual |
Returns the force type of this aerodrome. If it is published will return the published force value, else will return DtForceNeutral.
| virtual DtString DtScriptAerodromeObject::objectType |
( |
| ) |
const |
|
overridevirtual |
Script API functions above. ////////////////////////////////////.
Implements DtAsciiSerializable.
| virtual void DtScriptAerodromeObject::setSimulationServices |
( |
const DtSimulationServices * |
simManager | ) |
|
|
virtual |
Used by the object serializer so that an instance of this object can call checkSelf()
| virtual DtString DtScriptAerodromeObject::serialize |
( |
| ) |
|
|
overridevirtual |
| virtual bool DtScriptAerodromeObject::deserialize |
( |
const DtString & |
data | ) |
|
|
overridevirtual |
| void DtScriptAerodromeObject::testValid |
( |
| ) |
const |
Makes sure the object is valid. If not, throws exception.
Simulation services associated with this object.
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
| DtString DtScriptAerodromeObject::myAerodrome |
|
protected |
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
Script API functions. ////////////////////////////////////.
Returns whether or not this is a valid aerodrome
The documentation for this class was generated from the following file: