rclcpp  master
C++ ROS Client Library API
Public Member Functions | Public Attributes | List of all members
rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry Class Reference

#include <dynamic_storage.hpp>

Collaboration diagram for rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry:
Collaboration graph
[legend]

Public Member Functions

 WeakSubscriptionEntry (const std::shared_ptr< rclcpp::SubscriptionBase > &subscription_in, const rclcpp::SubscriptionWaitSetMask &mask_in) noexcept
 
 WeakSubscriptionEntry (const SubscriptionEntry &other)
 
std::shared_ptr< rclcpp::SubscriptionBaselock () const
 
bool expired () const noexcept
 

Public Attributes

std::weak_ptr< rclcpp::SubscriptionBasesubscription
 
rclcpp::SubscriptionWaitSetMask mask
 

Constructor & Destructor Documentation

◆ WeakSubscriptionEntry() [1/2]

rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::WeakSubscriptionEntry ( const std::shared_ptr< rclcpp::SubscriptionBase > &  subscription_in,
const rclcpp::SubscriptionWaitSetMask mask_in 
)
inlineexplicitnoexcept

◆ WeakSubscriptionEntry() [2/2]

rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::WeakSubscriptionEntry ( const SubscriptionEntry other)
inlineexplicit

Member Function Documentation

◆ lock()

std::shared_ptr<rclcpp::SubscriptionBase> rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::lock ( ) const
inline

◆ expired()

bool rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::expired ( ) const
inlinenoexcept

Member Data Documentation

◆ subscription

std::weak_ptr<rclcpp::SubscriptionBase> rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::subscription

◆ mask

rclcpp::SubscriptionWaitSetMask rclcpp::wait_set_policies::DynamicStorage::WeakSubscriptionEntry::mask

The documentation for this class was generated from the following file: