12#ifndef WSFSTATUSMESSAGE_HPP
13#define WSFSTATUSMESSAGE_HPP
15#include "wsf_export.h"
40 static std::unique_ptr<UtScriptClass>
CreateScriptClass(
const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
52 const std::string& GetStatus()
const;
80 std::string GetSystemName()
const;
87 void SetSystemName(
const std::string& aSystemName);
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
void SetSubType(WsfStringId aSubType)
Definition WsfMessage.hpp:129
WsfMessage(WsfStringId aType)
Constructor for XIO (de)serialization.
Definition WsfMessage.cpp:25
void Serialize(T &aBuff)
(De)serializer for XIO
Definition WsfMessage.hpp:207
const char * GetScriptClassName() const override
Definition WsfMessage.cpp:235
static WsfStringId GetTypeId()
Definition WsfMessage.cpp:159
virtual WsfMessage * Clone() const
Definition WsfMessage.cpp:150
WsfStringId GetSubType() const
Definition WsfMessage.hpp:125
The main controller for a simulation.
Definition WsfSimulation.hpp:109
WsfStatusMessage()
Constructor, for XIO (de)serialization (create a Status message).
Definition WsfStatusMessage.cpp:22
size_t mPlatformIndex
The other platform index.
Definition WsfStatusMessage.hpp:121
WsfStringId GetSystemNameId() const
Definition WsfStatusMessage.hpp:78
WsfStringId mSystemNameId
The system name ID to which the status pertains.
Definition WsfStatusMessage.hpp:118
WsfTrackId mRequestId
The request ID to which the status pertains.
Definition WsfStatusMessage.hpp:115
static std::unique_ptr< UtScriptClass > CreateScriptClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfStatusMessage.cpp:141
WsfStringId GetStatusId() const
Get the status (string ID form).
Definition WsfStatusMessage.hpp:50
void SetRequestId(const WsfTrackId &aRequestId)
Set the request ID to which the status applies.
Definition WsfStatusMessage.hpp:68
void SetSystemNameId(WsfStringId aSystemNameId)
Definition WsfStatusMessage.hpp:85
void SetPlatformIndex(size_t aPlatformIndex)
Definition WsfStatusMessage.hpp:99
size_t GetPlatformIndex() const
Definition WsfStatusMessage.hpp:96
void Serialize(T &aBuff)
For XIO (de)serialization.
Definition WsfStatusMessage.hpp:104
WsfStatusMessage(WsfSimulation &aSimulation)
const WsfTrackId & GetRequestId() const
Get the request ID to which the status applies.
Definition WsfStatusMessage.hpp:65
void SetStatusId(WsfStringId aStatusId)
Set the status (string ID form).
Definition WsfStatusMessage.hpp:55
Definition WsfTrackId.hpp:33