Class Function

Inheritance Relationships

Base Type

  • public plansys2_msgs::msg::Node

Class Documentation

class Function : public plansys2_msgs::msg::Node

Represents a function in the planning domain.

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

Public Functions

inline Function()

Default constructor.

inline explicit Function(const std::string &func)

Construct a Function from a string representation.

Parameters:

func[in] The function as a string.

inline Function(const plansys2_msgs::msg::Node &func)

Construct a Function from an existing Node message.

Parameters:

func[in] The Node message.

inline bool operator==(const Function &f2) const