WSF
WsfTSPI Class Reference

A Time-Space-Position-Information (TSPI) class. More...

#include <WsfTSPI.hpp>

Collaboration diagram for WsfTSPI:

Classes

class  Element
 A single TSPI element (time, lat, heading, etc.). More...

Public Member Functions

 WsfTSPI ()
virtual ~WsfTSPI ()=default
virtual bool ProcessInput (UtInput &aInput)

Public Attributes

Element mTime
Element mLat
Element mLon
Element mAlt
Element mSpeed
Element mHeading
Element mPitch
Element mRoll

Friends

WSF_EXPORT std::ostream & operator<< (std::ostream &aStream, const WsfTSPI &aTSPI)
 Stream out operator (typically, to a file); units are converted on output.
WSF_EXPORT std::istream & operator>> (std::istream &aStream, WsfTSPI &aTSPI)
 Stream in operator (typically, from a file); units are converted on input.

Detailed Description

A Time-Space-Position-Information (TSPI) class.

The data contained in a TSPI object are of the following form:

<time> <latitude> <longitude> <altitude> <speed> <heading> <pitch> <roll>

In the BLUEMAX formulation, the altitude is in feet, and the roll is inverted. Other formulations are allowed; the user configures the TSPI format via input file keywords.

Constructor & Destructor Documentation

◆ WsfTSPI()

WsfTSPI::WsfTSPI ( )

References mAlt, mHeading, mLat, mLon, mPitch, mRoll, mSpeed, and mTime.

Referenced by operator<<, operator>>, and ~WsfTSPI().

◆ ~WsfTSPI()

virtual WsfTSPI::~WsfTSPI ( )
virtualdefault

References ProcessInput(), WSF_EXPORT, and WsfTSPI().

Member Function Documentation

◆ ProcessInput()

bool WsfTSPI::ProcessInput ( UtInput & aInput)
virtual

◆ operator<<

WSF_EXPORT std::ostream & operator<< ( std::ostream & aStream,
const WsfTSPI & aTSPI )
friend

Stream out operator (typically, to a file); units are converted on output.

References mAlt, mHeading, mLat, mLon, mPitch, mRoll, mSpeed, mTime, and WsfTSPI().

◆ operator>>

WSF_EXPORT std::istream & operator>> ( std::istream & aStream,
WsfTSPI & aTSPI )
friend

Stream in operator (typically, from a file); units are converted on input.

References mAlt, mHeading, mLat, mLon, mPitch, mRoll, mSpeed, mTime, and WsfTSPI().

Member Data Documentation

◆ mAlt

Element WsfTSPI::mAlt

◆ mHeading

Element WsfTSPI::mHeading

◆ mLat

Element WsfTSPI::mLat

Referenced by operator<<, operator>>, and WsfTSPI().

◆ mLon

Element WsfTSPI::mLon

Referenced by operator<<, operator>>, and WsfTSPI().

◆ mPitch

Element WsfTSPI::mPitch

◆ mRoll

Element WsfTSPI::mRoll

◆ mSpeed

Element WsfTSPI::mSpeed

◆ mTime

Element WsfTSPI::mTime

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved