VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtScriptedTaskRwLocationReferenceVariableConverter Class Reference

Converter that will convert to/from DtRwLocationReference.

Inheritance diagram for DtScriptedTaskRwLocationReferenceVariableConverter:
Inheritance graph
[legend]

Public Member Functions

virtual DtReaderWritertoRwPtr (const DtScriptedTaskVariable &) const override
 
virtual std::string fromRwPtr (const DtReaderWriter *) const override
 
virtual DtString convertToString (const DtRwLocationReference &) const
 
virtual DtString stringRep (const DtReaderWriter *) const override
 
virtual bool upgradeFromVariable (DtReaderWriter *toUpgradeTo, const DtReaderWriter *originalValue) const override
 
- Public Member Functions inherited from DtScriptedTaskVariableConverter
virtual void upgradeVariable (DtReaderWriter *) const
 

Additional Inherited Members

- Public Types inherited from DtScriptedTaskVariableConverter
typedef DtString(* ResourceFormatterFcn )(const DtEntityType &)
 
- Static Public Member Functions inherited from DtScriptedTaskVariableConverter
static DtString formatOffset (const DtVector &loc)
 
static DtString formatTime (int time)
 
static DtString formatDateTime (time_t time)
 
static DtString formatLocation (const DtVector &loc)
 
static DtString formatSphere (const DtSphere &loc)
 
static DtString formatDistance (double d)
 
static DtString formatHeading (double d)
 
static DtString formatRate (double d)
 
static DtString formatAltitudeRate (double d)
 
static DtString formatTurnRate (double d)
 
static DtString formatAltitude (double d)
 
static ResourceFormatterFcn SetResourceFormatterFcn (ResourceFormatterFcn)
 
static DtString formatResource (const DtEntityType &)
 
static DtString formatResource (const std::string &)
 

Member Function Documentation

virtual DtReaderWriter* DtScriptedTaskRwLocationReferenceVariableConverter::toRwPtr ( const DtScriptedTaskVariable ) const
overridevirtual

Converts from the given scripted task variable to a DtReaderWriter variable that represents it.

Implements DtScriptedTaskVariableConverter.

virtual std::string DtScriptedTaskRwLocationReferenceVariableConverter::fromRwPtr ( const DtReaderWriter ) const
overridevirtual

Converts from the reader/writer variable to a std::string that will be used as the default value for converting scripted task variable.

Implements DtScriptedTaskVariableConverter.

virtual DtString DtScriptedTaskRwLocationReferenceVariableConverter::convertToString ( const DtRwLocationReference ) const
virtual

Converts from vector to parsable string in toRwPtr.

virtual DtString DtScriptedTaskRwLocationReferenceVariableConverter::stringRep ( const DtReaderWriter ) const
overridevirtual

Returns string representation.

Implements DtScriptedTaskVariableConverter.

virtual bool DtScriptedTaskRwLocationReferenceVariableConverter::upgradeFromVariable ( DtReaderWriter toUpgradeTo,
const DtReaderWriter originalValue 
) const
overridevirtual

Return true from this call if he toUpgradeTo variable should replace the original value.

Reimplemented from DtScriptedTaskVariableConverter.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)