Class RosSerializeCppState

Inheritance Relationships

Base Type

  • public yasmin::State

Class Documentation

class RosSerializeCppState : public yasmin::State

A state for serializing C++ objects into ROS 2 messages.

Public Functions

RosSerializeCppState()

Construct a new RosSerializeCppState.

~RosSerializeCppState() override = default

Destroy the RosSerializeCppState.

virtual void configure() override

Configure the state before execution.

std::string execute(yasmin::Blackboard::SharedPtr blackboard) override

Execute the serialization operation.

Parameters:

blackboard – A shared pointer to the blackboard for data storage.

Returns:

A string outcome indicating the result of the serialization operation.