12#ifndef WSFCONTROLMESSAGE_HPP
13#define WSFCONTROLMESSAGE_HPP
15#include "wsf_export.h"
44 static std::unique_ptr<UtScriptClass>
CreateScriptClass(
const std::string& aClassName, UtScriptTypes* aScriptTypesPtr);
80 std::string GetResource()
const;
85 void SetResource(
const std::string& aResource);
99 void SetTrack(
const WsfTrack& aTrack);
112 void SetRoute(
const WsfRoute& aRoute);
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfControlMessage.hpp:35
WsfStringId GetFunction() const
Get the function (string form).
Definition WsfControlMessage.cpp:86
const WsfTrackId & GetRequestId() const
Get the request ID to which the status applies.
Definition WsfControlMessage.hpp:65
static std::unique_ptr< UtScriptClass > CreateScriptClass(const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
Definition WsfControlMessage.cpp:160
WsfControlMessage()
Constructor, for XIO (de)serialization.
Definition WsfControlMessage.cpp:26
void SetFunction(WsfStringId aFunction)
Set the function (string form).
Definition WsfControlMessage.cpp:92
const WsfTrack & GetTrack() const
Return the track (const form).
Definition WsfControlMessage.hpp:94
WsfTrack mTrack
The associated track.
Definition WsfControlMessage.hpp:129
WsfTrackId mRequestId
Definition WsfControlMessage.hpp:127
const WsfRoute & GetRoute() const
Return the route (const form).
Definition WsfControlMessage.hpp:107
void Serialize(T &aBuff)
For XIO (de)serialization.
Definition WsfControlMessage.hpp:117
WsfRoute & GetRoute()
Return the route (non-const form).
Definition WsfControlMessage.hpp:110
WsfStringId mResourceId
String ID of the resource.
Definition WsfControlMessage.hpp:128
void SetRequestId(const WsfTrackId &aRequestId)
Set the request ID to which the status applies.
Definition WsfControlMessage.hpp:68
WsfStringId GetResourceId() const
Definition WsfControlMessage.hpp:78
void SetResourceId(WsfStringId aResourceId)
Set the resource (string ID form).
Definition WsfControlMessage.hpp:83
WsfRoute mRoute
The associated route.
Definition WsfControlMessage.hpp:130
WsfTrack & GetTrack()
Return the track (non-const form).
Definition WsfControlMessage.hpp:97
WsfMessage(WsfStringId aType)
Constructor for XIO (de)serialization.
Definition WsfMessage.cpp:25
WsfMessage & operator=(const WsfMessage &aRhs)=default
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
A collection of WsfWaypoint objects that represent a path to be followed.
Definition WsfRoute.hpp:40
Definition WsfTrackId.hpp:33
An object that represents an 'track' (perception) of something.
Definition WsfTrack.hpp:120