WSF
WsfBMAssignmentTrackMessage Class Reference

#include <WsfBMAssignmentTrackMessage.hpp>

Inheritance diagram for WsfBMAssignmentTrackMessage:
Collaboration diagram for WsfBMAssignmentTrackMessage:

Public Member Functions

 WsfBMAssignmentTrackMessage (WsfSimulation *simPtr)
 WsfBMAssignmentTrackMessage (WsfPlatform *plat)
 WsfBMAssignmentTrackMessage (WsfPlatform *plat, const std::shared_ptr< il::baseMessage > &message)
 WsfBMAssignmentTrackMessage (const WsfBMAssignmentTrackMessage &aSrc)
virtual ~WsfBMAssignmentTrackMessage ()
WsfBMAssignmentTrackMessageClone () const override
const char * GetScriptClassName () const override
virtual const char * GetBaseClassName ()
void SetTrack (WsfSimulation *sim, const WsfLocalTrack &track)
const WsfTrackGetTrack () const
void SetAssignedPlatform (const WsfPlatform *plat)
WsfPlatformGetAssignedPlatform (WsfSimulation *sim) const
std::shared_ptr< const il::assignmentTrackMessage > GetRawMessagePtr () const
Public Member Functions inherited from WsfMessage
 WsfMessage (WsfStringId aType)
 Constructor for XIO (de)serialization.
 WsfMessage (WsfStringId aType, const wsf::comm::Address &aSrcAddr, WsfSimulation &aSimulation)
 WsfMessage (WsfPlatform *aPlatformPtr)
 WsfMessage (WsfStringId aType, WsfPlatform *aPlatformPtr)
 WsfMessage (WsfStringId aType, WsfStringId aSubType, WsfPlatform *aPlatformPtr)
 WsfMessage (WsfSimulation &aSimulation)
WsfMessageoperator= (const WsfMessage &aRhs)=default
 ~WsfMessage () override
const char * GetScriptClassName () const override
WsfSimulationGetSimulation () const
 Get the simulation that owns the message.
void SetSimulation (WsfSimulation *aSimulationPtr)
WsfStringId GetOriginator () const
void SetOriginator (WsfPlatform *aPlatformPtr)
 Set the originator of this message.
size_t GetOriginatorIndex () const
int GetSizeBits () const
void SetSizeBits (int aSizeBits)
int GetSizeBytes () const
void SetSizeBytes (int aSizeBytes)
unsigned int GetSerialNumber () const
void SetSerialNumber (unsigned int aSerialNumber)
double GetDataTag () const
void SetDataTag (double aDataTag)
WsfStringId GetStaticType () const
WsfStringId GetType () const
void SetType (WsfStringId aType)
WsfStringId GetSubType () const
void SetSubType (WsfStringId aSubType)
int GetPriority () const
void SetPriority (int aPriority)
const wsf::comm::AddressGetSrcAddr () const
void SetSrcAddr (const wsf::comm::Address &aSrcAddr)
const wsf::comm::AddressGetDstAddr () const
void SetDstAddr (const wsf::comm::Address &aDstAddr)
const wsf::comm::AddressGetNextHopAddr () const
void SetNextHopAddr (const wsf::comm::Address &aNextHopAddr)
virtual bool CanBeReplacedBy (const WsfMessage &aMessage) const
WsfStringId GetGroup () const
void SetGroup (WsfStringId aGroup) const
void PrintDataTagPrecise (std::ostream &aStream, std::streamsize aPrecision) const
template<typename T>
void Serialize (T &aBuff)
 (De)serializer for XIO
virtual WsfStringId GetComponentNameId () const
virtual WsfStringId GetComponentTypeId () const
virtual WsfStringId GetComponentModeId () const
Public Member Functions inherited from WsfAuxDataEnabled
 WsfAuxDataEnabled ()=default
 WsfAuxDataEnabled (const WsfAuxDataEnabled &aSrc)=default
WsfAuxDataEnabledoperator= (const WsfAuxDataEnabled &aRhs)
 WsfAuxDataEnabled (WsfAuxDataEnabled &&)=default
WsfAuxDataEnabledoperator= (WsfAuxDataEnabled &&)=default
virtual ~WsfAuxDataEnabled () noexcept
void SetAuxData (const WsfAttributeContainer &aAuxData)
void DeleteAuxData ()
 Delete the aux data container from the object.
void MergeAuxData (const WsfAuxDataEnabled &aSrc)
 Merge the object's aux data with aux data from an existing object.
void UpdateAuxData (const WsfAuxDataEnabled &aSrc)
 Update the object's aux data with aux data from an existing object.
bool HasAuxData () const
 Returns true if this object has aux data.
bool ProcessInput (UtInput &aInput)
template<typename T>
void Serialize (T &aBuff)
 (De)serialization for XIO
WsfAttributeContainerGetAuxData ()
const WsfAttributeContainerGetAuxData () const noexcept
const WsfAttributeContainerGetAuxDataConst () const noexcept
Public Member Functions inherited from WsfBMManagedTypeWrapper< il::baseMessage >
 WsfBMManagedTypeWrapper (const std::string &script_class_name)
virtual void SetTable (std::shared_ptr< il::baseMessage > &data_to_wrap)
Public Member Functions inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > >
 WsfBMTypeWrapper (const std::string &script_class_name)
virtual tType GetRawPtr () const
virtual bool IsValidRef () const
Public Member Functions inherited from WsfObject
 WsfObject ()
 This is the constructor for the WsfObject class.
 ~WsfObject () override
 This is the destructor for the WsfObject class.
const char * GetScriptClassName () const override
virtual bool ProcessInput (UtInput &aInput)
const std::string & GetType () const
WsfStringId GetTypeId () const
 Get the string ID of the 'type' of the object.
void SetType (WsfStringId aType)
const std::string & GetBaseType () const
WsfStringId GetBaseTypeId () const
const TypeListGetTypeList () const
bool IsA_TypeOf (WsfStringId aType) const
WsfObjectoperator= (const WsfObject &aRhs)
 Assignment operator.
template<typename T>
void Serialize (T &aBuff)
 For XIO (de)serialization.
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Static Public Member Functions

static WsfStringId GetTypeId ()
Static Public Member Functions inherited from WsfMessage
static WsfStringId GetTypeId ()

Additional Inherited Members

Public Types inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > >
typedef std::shared_ptr< il::baseMessage > tType
Public Types inherited from WsfObject
typedef std::vector< WsfStringIdTypeList
 The list of types returned by GetTypeList.
Static Public Attributes inherited from WsfMessage
static constexpr size_t cBITS_IN_BYTE = 8U
Static Public Attributes inherited from WsfAuxDataEnabled
static UtCallbackListN< void(const WsfAuxDataEnabled *)> AuxDataAccessed
static UtCallbackListN< void(const WsfAuxDataEnabled *)> AuxDataDestroyed
 WsfMessage (const WsfMessage &aSrc)=default
 WsfObject (const WsfObject &aSrc)
 Copy constructor (for Clone()).
Protected Attributes inherited from WsfBMTypeWrapper< il::baseMessage, std::shared_ptr< il::baseMessage > >
std::string m_script_class_name
std::shared_ptr< il::baseMessage > m_wrapped_ptr

Constructor & Destructor Documentation

◆ WsfBMAssignmentTrackMessage() [1/4]

◆ WsfBMAssignmentTrackMessage() [2/4]

◆ WsfBMAssignmentTrackMessage() [3/4]

WsfBMAssignmentTrackMessage::WsfBMAssignmentTrackMessage ( WsfPlatform * plat,
const std::shared_ptr< il::baseMessage > & message )

◆ WsfBMAssignmentTrackMessage() [4/4]

◆ ~WsfBMAssignmentTrackMessage()

WsfBMAssignmentTrackMessage::~WsfBMAssignmentTrackMessage ( )
virtual

Member Function Documentation

◆ Clone()

WsfBMAssignmentTrackMessage * WsfBMAssignmentTrackMessage::Clone ( ) const
overridevirtual

Clone this object by creating an identical copy and returning a pointer to it.

Returns
A pointer to the cloned object.

Reimplemented from WsfMessage.

References WsfBMAssignmentTrackMessage().

◆ GetAssignedPlatform()

WsfPlatform * WsfBMAssignmentTrackMessage::GetAssignedPlatform ( WsfSimulation * sim) const

◆ GetBaseClassName()

const char * WsfBMAssignmentTrackMessage::GetBaseClassName ( )
virtual

◆ GetRawMessagePtr()

std::shared_ptr< const il::assignmentTrackMessage > WsfBMAssignmentTrackMessage::GetRawMessagePtr ( ) const
inline

◆ GetScriptClassName()

const char * WsfBMAssignmentTrackMessage::GetScriptClassName ( ) const
overridevirtual

◆ GetTrack()

const WsfTrack & WsfBMAssignmentTrackMessage::GetTrack ( ) const

◆ GetTypeId()

◆ SetAssignedPlatform()

void WsfBMAssignmentTrackMessage::SetAssignedPlatform ( const WsfPlatform * plat)

◆ SetTrack()

void WsfBMAssignmentTrackMessage::SetTrack ( WsfSimulation * sim,
const WsfLocalTrack & track )

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