54 const rclcpp_lifecycle::State & initialize(
57 const rclcpp_lifecycle::State & configure();
59 const rclcpp_lifecycle::State & cleanup();
61 const rclcpp_lifecycle::State & shutdown();
63 const rclcpp_lifecycle::State & activate();
65 const rclcpp_lifecycle::State & deactivate();
67 const rclcpp_lifecycle::State & error();
69 std::vector<StateInterface::ConstSharedPtr> export_state_interfaces();
71 std::vector<CommandInterface::SharedPtr> export_command_interfaces();
73 return_type prepare_command_mode_switch(
74 const std::vector<std::string> & start_interfaces,
75 const std::vector<std::string> & stop_interfaces);
77 return_type perform_command_mode_switch(
78 const std::vector<std::string> & start_interfaces,
79 const std::vector<std::string> & stop_interfaces);
81 const std::string & get_name()
const;
83 const std::string & get_group_name()
const;
85 const rclcpp_lifecycle::State & get_lifecycle_state()
const;
87 const rclcpp::Time & get_last_read_time()
const;
89 const rclcpp::Time & get_last_write_time()
const;
91 const HardwareComponentStatisticsCollector & get_read_statistics()
const;
93 const HardwareComponentStatisticsCollector & get_write_statistics()
const;
95 return_type read(
const rclcpp::Time & time,
const rclcpp::Duration & period);
97 return_type write(
const rclcpp::Time & time,
const rclcpp::Duration & period);
99 std::recursive_mutex & get_mutex();
102 std::unique_ptr<HardwareComponentInterface> impl_;
103 mutable std::recursive_mutex component_mutex_;
105 rclcpp::Time last_read_cycle_time_;
107 rclcpp::Time last_write_cycle_time_;
109 HardwareComponentStatisticsCollector read_statistics_;
110 HardwareComponentStatisticsCollector write_statistics_;