Manages core functionality for a robotic component, including lifecycle transitions and connections to afferent and efferent processing components.
More...
#include <Core.hpp>
|
| virtual bool | activate ()=0 |
| | Activates the Core component.
|
| |
| virtual bool | configure ()=0 |
| | Configures the Core component.
|
| |
| | Core (rclcpp_lifecycle::LifecycleNode::SharedPtr parent) |
| | Constructs a Core object associated with a parent lifecycle node.
|
| |
| virtual bool | deactivate ()=0 |
| | Deactivates the Core component.
|
| |
| void | set_afferent (cs4home_core::Afferent::SharedPtr afferent) |
| | Sets the Afferent component associated with this Core.
|
| |
| void | set_efferent (cs4home_core::Efferent::SharedPtr efferent) |
| | Sets the Efferent component associated with this Core.
|
| |
|
| cs4home_core::Afferent::SharedPtr | afferent_ |
| | Shared pointer to the Afferent component.
|
| |
| cs4home_core::Efferent::SharedPtr | efferent_ |
| | Shared pointer to the Efferent component.
|
| |
| rclcpp_lifecycle::LifecycleNode::SharedPtr | parent_ |
| | Shared pointer to the parent lifecycle node.
|
| |
Manages core functionality for a robotic component, including lifecycle transitions and connections to afferent and efferent processing components.
◆ Core()
| Core |
( |
rclcpp_lifecycle::LifecycleNode::SharedPtr | parent | ) |
|
|
explicit |
Constructs a Core object associated with a parent lifecycle node.
Constructs a Core object associated with a given lifecycle node.
- Parameters
-
| parent | Shared pointer to the lifecycle node managing this Core instance. |
◆ activate()
| virtual bool activate |
( |
| ) |
|
|
pure virtual |
◆ configure()
◆ deactivate()
| virtual bool deactivate |
( |
| ) |
|
|
pure virtual |
◆ set_afferent()
| void set_afferent |
( |
cs4home_core::Afferent::SharedPtr | afferent | ) |
|
Sets the Afferent component associated with this Core.
- Parameters
-
| afferent | Shared pointer to an Afferent component. |
◆ set_efferent()
| void set_efferent |
( |
cs4home_core::Efferent::SharedPtr | efferent | ) |
|
Sets the Efferent component associated with this Core.
- Parameters
-
| efferent | Shared pointer to an Efferent component. |
◆ afferent_
| cs4home_core::Afferent::SharedPtr afferent_ |
|
protected |
Shared pointer to the Afferent component.
◆ efferent_
| cs4home_core::Efferent::SharedPtr efferent_ |
|
protected |
Shared pointer to the Efferent component.
◆ parent_
| rclcpp_lifecycle::LifecycleNode::SharedPtr parent_ |
|
protected |
Shared pointer to the parent lifecycle node.
The documentation for this class was generated from the following files:
- cs4home_core/include/cs4home_core/Core.hpp
- cs4home_core/src/cs4home_core/Core.cpp