rclcpp_lifecycle
master
C++ ROS Lifecycle Library API
|
brief child class of rclcpp Publisher class. More...
#include <lifecycle_publisher.hpp>
Public Types | |
using | MessageAllocTraits = rclcpp::allocator::AllocRebind< MessageT, Alloc > |
using | MessageAlloc = typename MessageAllocTraits::allocator_type |
using | MessageDeleter = rclcpp::allocator::Deleter< MessageAlloc, MessageT > |
using | MessageUniquePtr = std::unique_ptr< MessageT, MessageDeleter > |
![]() | |
typedef allocator::AllocRebind< MessageT, AllocatorT > | MessageAllocatorTraits |
typedef typename MessageAllocatorTraits::allocator_type | MessageAllocator |
typedef allocator::Deleter< MessageAllocator, MessageT > | MessageDeleter |
typedef std::unique_ptr< MessageT, MessageDeleter > | MessageUniquePtr |
typedef std::shared_ptr< const MessageT > | MessageSharedPtr |
![]() | |
typedef std::shared_ptr< rclcpp::experimental::IntraProcessManager > | IntraProcessManagerSharedPtr |
brief child class of rclcpp Publisher class.
Overrides all publisher functions to check for enabled/disabled state.
using rclcpp_lifecycle::LifecyclePublisher< MessageT, Alloc >::MessageAllocTraits = rclcpp::allocator::AllocRebind<MessageT, Alloc> |
using rclcpp_lifecycle::LifecyclePublisher< MessageT, Alloc >::MessageAlloc = typename MessageAllocTraits::allocator_type |
using rclcpp_lifecycle::LifecyclePublisher< MessageT, Alloc >::MessageDeleter = rclcpp::allocator::Deleter<MessageAlloc, MessageT> |
using rclcpp_lifecycle::LifecyclePublisher< MessageT, Alloc >::MessageUniquePtr = std::unique_ptr<MessageT, MessageDeleter> |
|
inline |
|
inline |
|
inlinevirtual |
LifecyclePublisher publish function.
The publish function checks whether the communication was enabled or disabled and forwards the message to the actual rclcpp Publisher base class
|
inlinevirtual |
LifecyclePublisher publish function.
The publish function checks whether the communication was enabled or disabled and forwards the message to the actual rclcpp Publisher base class
Reimplemented from rclcpp::Publisher< MessageT, std::allocator< void > >.
|
inlinevirtual |
Implements rclcpp_lifecycle::LifecyclePublisherInterface.
|
inlinevirtual |
Implements rclcpp_lifecycle::LifecyclePublisherInterface.
|
inlinevirtual |
Implements rclcpp_lifecycle::LifecyclePublisherInterface.