LogMessage Class
Logs a user specified message via the LoggerROS class. ROS 2 log severity of message specified by log_level. More...
Declaration
Included Headers
Base class
| class | SharedResourcesNode<BehaviorTreeNodeT> |
|
The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More... | |
Public Constructors Index
| LogMessage (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources) | |
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
When the message is actually logged. Implementation of BT::SyncActionNode::tick() More... | |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
| static BT::KeyValueVector | metadata () |
Description
Logs a user specified message via the LoggerROS class. ROS 2 log severity of message specified by log_level.
| Data Port Name | Port Type | Object Type |
|---|---|---|
| message | input | std::string |
| log_level | input | std::string |
Definition at line 26 of file log_message.hpp.
Public Constructors
LogMessage()
|
Declaration at line 29 of file log_message.hpp, definition at line 48 of file log_message.cpp.
Public Member Functions
tick()
|
When the message is actually logged. Implementation of BT::SyncActionNode::tick()
- Returns
Failure when a port was set incorrectly, Success otherwise.
Declaration at line 40 of file log_message.hpp, definition at line 67 of file log_message.cpp.
Public Static Functions
metadata()
| static |
Declaration at line 34 of file log_message.hpp, definition at line 62 of file log_message.cpp.
providedPorts()
| static |
Declaration at line 32 of file log_message.hpp, definition at line 54 of file log_message.cpp.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.