Class Instance

Inheritance Relationships

Base Type

  • public plansys2_msgs::msg::Param

Class Documentation

class Instance : public plansys2_msgs::msg::Param

Represents an instance (object) in the planning domain.

Inherits from plansys2_msgs::msg::Param and provides constructors for easy creation from strings or existing Param messages.

Public Functions

inline Instance()

Default constructor.

inline explicit Instance(const std::string &name, const std::string &type = {})

Construct an Instance from a name and optional type.

Parameters:
  • name[in] The name of the instance.

  • type[in] The type of the instance (optional).

inline Instance(const plansys2_msgs::msg::Param &instance)

Construct an Instance from an existing Param message.

Parameters:

instance[in] The Param message.

inline bool operator==(const Instance &i2) const