VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtFlyHeadingAndAltitudeTask Class Reference

A task for an aircraft to fly a specified heading and altitude using the specified rates to achieve those values. More...

Inheritance diagram for DtFlyHeadingAndAltitudeTask:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtFlyHeadingAndAltitudeTask ()
 default constructor
 DtFlyHeadingAndAltitudeTask (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtFlyHeadingAndAltitudeTask (const DtString &writeName, const DtFlyHeadingAndAltitudeTask &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtFlyHeadingAndAltitudeTaskoperator= (const DtFlyHeadingAndAltitudeTask &orig)
 assignment operator
virtual ~DtFlyHeadingAndAltitudeTask ()
virtual int type () const
virtual DtSimTaskclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
 Make a copy of this task.
virtual DtString stringRep () const
 Get a readable string representation of this task.
virtual int netRepSize () const
 Returns the size of the full network representation (control object name included) padded to an 8-byte boundary.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 Fills in the task from the network buffer.
virtual bool setToNet ()
 Fills in the network buffer (created by base class simTask) with the task contents.
virtual double altitude () const
 The altitude to fly at specified in meters.
virtual void setAltitude (double altitude)
 The altitude to fly at specified in meters.
virtual double climbDescentRate () const
 Climb / Descent rate used to reach the desired altitude.
virtual void setClimbDescentRate (double rate)
 Climb / Descent rate used to reach the desired altitude.
virtual double heading () const
 The heading to fly, specified in radians.
virtual void setHeading (double heading)
 The heading to fly, specified in radians.
virtual double turnRate () const
 Turn rate used to reach the desired heading, specified in radians / second.
virtual void setTurnRate (double rate)
 Turn rate used to reach the desired heading, specified in radians / second.

Static Public Member Functions

static DtSimTaskcreator ()

Protected Attributes

DtRwReal myHeading
DtRwReal myTurnRate
DtRwReal myAltitude
DtRwReal myClimbDescentRate

Detailed Description

A task for an aircraft to fly a specified heading and altitude using the specified rates to achieve those values.


Constructor & Destructor Documentation

default constructor

constructor

copy constructor


Member Function Documentation

const DtFlyHeadingAndAltitudeTask& DtFlyHeadingAndAltitudeTask::operator= ( const DtFlyHeadingAndAltitudeTask orig)

assignment operator

virtual int DtFlyHeadingAndAltitudeTask::type ( ) const [virtual]
Returns:
DtFlyHeadingAndAltitudeTaskType

Implements DtSimTask.

virtual DtSimTask* DtFlyHeadingAndAltitudeTask::clone ( const DtString name,
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

Make a copy of this task.

Returns a newly allocated instance of a DtSimTask. Override this member function to return a pointer to a newly allocated instance of the derived class.

Implements DtSimTask.

virtual DtString DtFlyHeadingAndAltitudeTask::stringRep ( ) const [virtual]

Get a readable string representation of this task.

Implements DtSimTask.

virtual double DtFlyHeadingAndAltitudeTask::altitude ( ) const [virtual]

The altitude to fly at specified in meters.

virtual void DtFlyHeadingAndAltitudeTask::setAltitude ( double  altitude) [virtual]

The altitude to fly at specified in meters.

virtual double DtFlyHeadingAndAltitudeTask::climbDescentRate ( ) const [virtual]

Climb / Descent rate used to reach the desired altitude.

Specified in meters / second.

Note:
Will always be positive.
virtual void DtFlyHeadingAndAltitudeTask::setClimbDescentRate ( double  rate) [virtual]

Climb / Descent rate used to reach the desired altitude.

Specified in meters / second.

Note:
Will always be positive.
virtual double DtFlyHeadingAndAltitudeTask::heading ( ) const [virtual]

The heading to fly, specified in radians.

virtual void DtFlyHeadingAndAltitudeTask::setHeading ( double  heading) [virtual]

The heading to fly, specified in radians.

virtual double DtFlyHeadingAndAltitudeTask::turnRate ( ) const [virtual]

Turn rate used to reach the desired heading, specified in radians / second.

Note:
Will always be positive.
virtual void DtFlyHeadingAndAltitudeTask::setTurnRate ( double  rate) [virtual]

Turn rate used to reach the desired heading, specified in radians / second.

Note:
Will always be positive.
virtual int DtFlyHeadingAndAltitudeTask::netRepSize ( ) const [virtual]

Returns the size of the full network representation (control object name included) padded to an 8-byte boundary.

Reimplemented from DtSimTask.

virtual bool DtFlyHeadingAndAltitudeTask::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Fills in the task from the network buffer.

Reimplemented from DtSimTask.

Fills in the network buffer (created by base class simTask) with the task contents.

Reimplemented from DtSimTask.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)