Class SetupStep

Class Documentation

class SetupStep

Contains all of the non-GUI code necessary for doing one “screen” worth of setup.

Public Functions

SetupStep() = default
SetupStep(const SetupStep&) = default
SetupStep(SetupStep&&) = default
SetupStep &operator=(const SetupStep&) = default
SetupStep &operator=(SetupStep&&) = default
virtual ~SetupStep() = default
inline void initialize(const rclcpp::Node::SharedPtr &parent_node, const DataWarehousePtr &config_data)

Called after construction to initialize the step.

Parameters:

parent_node – Shared pointer to the parent node

inline virtual void onInit()

Overridable initialization method.

virtual std::string getName() const = 0

Returns the name of the setup step.

inline virtual bool isReady() const

Return true if the data necessary to proceed with this step has been configured.

inline const rclcpp::Logger &getLogger() const

Makes a namespaced logger for this step available to the widget.

Protected Attributes

DataWarehousePtr config_data_
rclcpp::Node::SharedPtr parent_node_
std::shared_ptr<rclcpp::Logger> logger_