WSF
WsfXIO_ReRoutePlatformPkt Class Reference

#include <WsfXIO_PacketRegistry.hpp>

Inheritance diagram for WsfXIO_ReRoutePlatformPkt:
Collaboration diagram for WsfXIO_ReRoutePlatformPkt:

Public Types

enum  RouteType {
  cFOLLOW_ROUTE , cGO_TO_HEADING , cGO_TO_SPEED , cGO_TO_ALTITUDE ,
  cGO_TO_LOCATION , cSET_LOCATION , cRETURN_TO_ROUTE , cUPDATE_DEFAULT_ROUTE
}
typedef WsfXIO_Packet BaseType
Public Types inherited from WsfXIO_Packet
enum  PacketFlags { cSYNCHRONIZED = 1 }
typedef bool BaseType

Public Member Functions

 WsfXIO_ReRoutePlatformPkt (int aPacketId=cPACKET_ID)
template<typename T>
void Serialize (T &aBuff)
void ReceiveCleanup () override
Public Member Functions inherited from WsfXIO_Packet
 WsfXIO_Packet (int aPacketId)
template<typename T>
void Serialize (T &aBuff)
 Serializes the packet header. Must be called first from derived class Serialize().
float GetTimeStamp () const
void SetTimeStamp (float aTimeStamp)
void SetFlags (uint32_t aFlags)
void AddFlags (uint32_t aFlags)
uint32_t GetFlags () const

Public Attributes

int32_t mPlatformIndex
 Index of platform to change route.
RouteType mType
 Type of route information.
float mHeading
 Heading if type is cGO_TO_HEADING.
float mSpeed
 Speed if type is cGO_TO_SPEED.
float mAltitude
 Altitude if type is cGO_TO_ALTITUDE.
float mRateOfChange
 Rate of Change if type is cGO_TO_ALTITUDE || cGO_TO_HEADING || cGO_TO_SPEED.
bool mKeepRoute
 Keep Route if type is cGO_TO_ALTITUDE || cGO_TO_SPEED.
bool mRelativeHeading
 Use Relative Heading if type is cGO_TO_HEADING.
double mLocationWCS [3]
 Location for cSET_LOCATION and cGO_TO_LOCATION.
WsfRoutemRoutePtr
 New route to give platform. Valid for type cFOLLOW_ROUTE.
Public Attributes inherited from WsfXIO_Packet
GenUniqueId mApplicationId

Static Public Attributes

static const int cPACKET_ID = 27
Static Public Attributes inherited from WsfXIO_Packet
static const int cPACKET_ID = -1

Additional Inherited Members

Protected Attributes inherited from WsfXIO_Packet
uint32_t mFlags
float mTimeStamp

Member Typedef Documentation

◆ BaseType

Member Enumeration Documentation

◆ RouteType

Enumerator
cFOLLOW_ROUTE 
cGO_TO_HEADING 
cGO_TO_SPEED 
cGO_TO_ALTITUDE 
cGO_TO_LOCATION 
cSET_LOCATION 
cRETURN_TO_ROUTE 
cUPDATE_DEFAULT_ROUTE 

Constructor & Destructor Documentation

◆ WsfXIO_ReRoutePlatformPkt()

WsfXIO_ReRoutePlatformPkt::WsfXIO_ReRoutePlatformPkt ( int aPacketId = cPACKET_ID)
inline

Member Function Documentation

◆ ReceiveCleanup()

void WsfXIO_ReRoutePlatformPkt::ReceiveCleanup ( )
inlineoverride

References mRoutePtr.

◆ Serialize()

template<typename T>
void WsfXIO_ReRoutePlatformPkt::Serialize ( T & aBuff)
inline

Member Data Documentation

◆ cPACKET_ID

const int WsfXIO_ReRoutePlatformPkt::cPACKET_ID = 27
static

◆ mAltitude

float WsfXIO_ReRoutePlatformPkt::mAltitude

Altitude if type is cGO_TO_ALTITUDE.

Referenced by Serialize().

◆ mHeading

float WsfXIO_ReRoutePlatformPkt::mHeading

Heading if type is cGO_TO_HEADING.

Referenced by Serialize().

◆ mKeepRoute

bool WsfXIO_ReRoutePlatformPkt::mKeepRoute

Keep Route if type is cGO_TO_ALTITUDE || cGO_TO_SPEED.

Referenced by Serialize(), and WsfXIO_ReRoutePlatformPkt().

◆ mLocationWCS

double WsfXIO_ReRoutePlatformPkt::mLocationWCS[3]

Location for cSET_LOCATION and cGO_TO_LOCATION.

Referenced by Serialize().

◆ mPlatformIndex

int32_t WsfXIO_ReRoutePlatformPkt::mPlatformIndex

Index of platform to change route.

Referenced by Serialize().

◆ mRateOfChange

float WsfXIO_ReRoutePlatformPkt::mRateOfChange

Rate of Change if type is cGO_TO_ALTITUDE || cGO_TO_HEADING || cGO_TO_SPEED.

Referenced by Serialize(), and WsfXIO_ReRoutePlatformPkt().

◆ mRelativeHeading

bool WsfXIO_ReRoutePlatformPkt::mRelativeHeading

Use Relative Heading if type is cGO_TO_HEADING.

Referenced by Serialize(), and WsfXIO_ReRoutePlatformPkt().

◆ mRoutePtr

WsfRoute* WsfXIO_ReRoutePlatformPkt::mRoutePtr

New route to give platform. Valid for type cFOLLOW_ROUTE.

Referenced by ReceiveCleanup(), Serialize(), and WsfXIO_ReRoutePlatformPkt().

◆ mSpeed

float WsfXIO_ReRoutePlatformPkt::mSpeed

Speed if type is cGO_TO_SPEED.

Referenced by Serialize().

◆ mType

RouteType WsfXIO_ReRoutePlatformPkt::mType

Type of route information.

Referenced by Serialize().


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