VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtScriptedTaskVariableConverter Class Reference

A class that is used for converting to/from scripted task variables and reader/writer variables to be used in lua tasks. More...

Inheritance diagram for DtScriptedTaskVariableConverter:
Inheritance graph
[legend]

Public Member Functions

virtual DtReaderWritertoRwPtr (const DtScriptedTaskVariable &) const =0
 Converts from the given scripted task variable to a DtReaderWriter variable that represents it.
virtual std::string fromRwPtr (const DtReaderWriter *) const =0
 Converts from the reader/writer variable to a std::string that will be used as the default value for converting scripted task variable.
virtual DtString stringRep (const DtReaderWriter *) const =0
 Returns string representation.

Static Public Member Functions

static DtString formatOffset (const DtVector &loc)
 Common formatting routines.
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)

Detailed Description

A class that is used for converting to/from scripted task variables and reader/writer variables to be used in lua tasks.

Member Function Documentation

virtual DtReaderWriter* DtScriptedTaskVariableConverter::toRwPtr ( const DtScriptedTaskVariable ) const
pure virtual
virtual std::string DtScriptedTaskVariableConverter::fromRwPtr ( const DtReaderWriter ) const
pure virtual
virtual DtString DtScriptedTaskVariableConverter::stringRep ( const DtReaderWriter ) const
pure virtual
static DtString DtScriptedTaskVariableConverter::formatOffset ( const DtVector loc)
static

Common formatting routines.

static DtString DtScriptedTaskVariableConverter::formatTime ( int  time)
static
static DtString DtScriptedTaskVariableConverter::formatDateTime ( time_t  time)
static
static DtString DtScriptedTaskVariableConverter::formatLocation ( const DtVector loc)
static
static DtString DtScriptedTaskVariableConverter::formatSphere ( const DtSphere loc)
static
static DtString DtScriptedTaskVariableConverter::formatDistance ( double  d)
static
static DtString DtScriptedTaskVariableConverter::formatHeading ( double  d)
static
static DtString DtScriptedTaskVariableConverter::formatRate ( double  d)
static
static DtString DtScriptedTaskVariableConverter::formatAltitudeRate ( double  d)
static
static DtString DtScriptedTaskVariableConverter::formatTurnRate ( double  d)
static

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)