WSF
engage::Platform Class Reference

This class in the interface between WSF platforms and ENGAGE players. More...

#include <Platform.hpp>

Public Member Functions

 Platform (const RunConfig &aRunConfig, WsfSimulation &aSimulation, const std::string &aType, const std::string &aName)
 Platform (const RunConfig &aRunConfig, WsfPlatform *aPlatformPtr)
bool AddToSimulation (double aSimTime, WsfSimulation &aSimulation)
void Update (double aSimTime)
void SetFlightPath (TargetConfig::FlightPathVec aFlightPath)
bool IsValid () const
WsfPlatformGetWsfPlatform () const
double GetLocationX ()
double GetLocationY ()
double GetLocationZ ()
double GetVelocityX ()
double GetVelocityY ()
double GetVelocityZ ()
double GetAccelerationX ()
double GetAccelerationY ()
double GetAccelerationZ ()
void SetLocationXYZ (double aX, double aY, double aZ)
void SetSpeedAndOrientationXYZ (double aSpeed, double aHeading, double aPitch, double aRoll)

Detailed Description

This class in the interface between WSF platforms and ENGAGE players.

Constructor & Destructor Documentation

◆ Platform() [1/2]

engage::Platform::Platform ( const RunConfig & aRunConfig,
WsfSimulation & aSimulation,
const std::string & aType,
const std::string & aName )

◆ Platform() [2/2]

engage::Platform::Platform ( const RunConfig & aRunConfig,
WsfPlatform * aPlatformPtr )

References mFlags.

Member Function Documentation

◆ AddToSimulation()

bool engage::Platform::AddToSimulation ( double aSimTime,
WsfSimulation & aSimulation )

◆ GetAccelerationX()

double engage::Platform::GetAccelerationX ( )
inline

◆ GetAccelerationY()

double engage::Platform::GetAccelerationY ( )
inline

◆ GetAccelerationZ()

double engage::Platform::GetAccelerationZ ( )
inline

◆ GetLocationX()

double engage::Platform::GetLocationX ( )
inline

◆ GetLocationY()

double engage::Platform::GetLocationY ( )
inline

◆ GetLocationZ()

double engage::Platform::GetLocationZ ( )
inline

◆ GetVelocityX()

double engage::Platform::GetVelocityX ( )
inline

◆ GetVelocityY()

double engage::Platform::GetVelocityY ( )
inline

◆ GetVelocityZ()

double engage::Platform::GetVelocityZ ( )
inline

◆ GetWsfPlatform()

WsfPlatform * engage::Platform::GetWsfPlatform ( ) const

◆ IsValid()

bool engage::Platform::IsValid ( ) const

◆ SetFlightPath()

void engage::Platform::SetFlightPath ( TargetConfig::FlightPathVec aFlightPath)

◆ SetLocationXYZ()

void engage::Platform::SetLocationXYZ ( double aX,
double aY,
double aZ )

◆ SetSpeedAndOrientationXYZ()

void engage::Platform::SetSpeedAndOrientationXYZ ( double aSpeed,
double aHeading,
double aPitch,
double aRoll )

◆ Update()

void engage::Platform::Update ( double aSimTime)

Member Data Documentation

◆ mAccelerationXYZ_Valid

bool engage::Platform::mAccelerationXYZ_Valid

◆ mFlags

unsigned int engage::Platform::mFlags

Referenced by Platform(), and Platform().

◆ mLocationXYZ_Valid

bool engage::Platform::mLocationXYZ_Valid

◆ mVelocityXYZ_Valid

bool engage::Platform::mVelocityXYZ_Valid

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