rclcpp
master
C++ ROS Client Library API
|
WaitSet policy that provides dynamically sized storage. More...
#include <dynamic_storage.hpp>
Classes | |
class | SubscriptionEntry |
class | WaitableEntry |
class | WeakSubscriptionEntry |
class | WeakWaitableEntry |
Protected Types | |
using | is_mutable = std::true_type |
using | SequenceOfWeakSubscriptions = std::vector< WeakSubscriptionEntry > |
using | SubscriptionsIterable = std::vector< SubscriptionEntry > |
using | SequenceOfWeakGuardConditions = std::vector< std::weak_ptr< rclcpp::GuardCondition > > |
using | GuardConditionsIterable = std::vector< std::shared_ptr< rclcpp::GuardCondition > > |
using | SequenceOfWeakTimers = std::vector< std::weak_ptr< rclcpp::TimerBase > > |
using | TimersIterable = std::vector< std::shared_ptr< rclcpp::TimerBase > > |
using | SequenceOfWeakClients = std::vector< std::weak_ptr< rclcpp::ClientBase > > |
using | ClientsIterable = std::vector< std::shared_ptr< rclcpp::ClientBase > > |
using | SequenceOfWeakServices = std::vector< std::weak_ptr< rclcpp::ServiceBase > > |
using | ServicesIterable = std::vector< std::shared_ptr< rclcpp::ServiceBase > > |
using | SequenceOfWeakWaitables = std::vector< WeakWaitableEntry > |
using | WaitablesIterable = std::vector< WaitableEntry > |
Protected Member Functions | |
template<class ArrayOfExtraGuardConditions > | |
DynamicStorage (const SubscriptionsIterable &subscriptions, const GuardConditionsIterable &guard_conditions, const ArrayOfExtraGuardConditions &extra_guard_conditions, const TimersIterable &timers, const ClientsIterable &clients, const ServicesIterable &services, const WaitablesIterable &waitables, rclcpp::Context::SharedPtr context) | |
~DynamicStorage ()=default | |
template<class ArrayOfExtraGuardConditions > | |
void | storage_rebuild_rcl_wait_set (const ArrayOfExtraGuardConditions &extra_guard_conditions) |
void | storage_add_subscription (std::shared_ptr< rclcpp::SubscriptionBase > &&subscription) |
void | storage_remove_subscription (std::shared_ptr< rclcpp::SubscriptionBase > &&subscription) |
void | storage_add_guard_condition (std::shared_ptr< rclcpp::GuardCondition > &&guard_condition) |
void | storage_remove_guard_condition (std::shared_ptr< rclcpp::GuardCondition > &&guard_condition) |
void | storage_add_timer (std::shared_ptr< rclcpp::TimerBase > &&timer) |
void | storage_remove_timer (std::shared_ptr< rclcpp::TimerBase > &&timer) |
void | storage_add_client (std::shared_ptr< rclcpp::ClientBase > &&client) |
void | storage_remove_client (std::shared_ptr< rclcpp::ClientBase > &&client) |
void | storage_add_service (std::shared_ptr< rclcpp::ServiceBase > &&service) |
void | storage_remove_service (std::shared_ptr< rclcpp::ServiceBase > &&service) |
void | storage_add_waitable (std::shared_ptr< rclcpp::Waitable > &&waitable, std::shared_ptr< void > &&associated_entity) |
void | storage_remove_waitable (std::shared_ptr< rclcpp::Waitable > &&waitable) |
void | storage_prune_deleted_entities () noexcept |
void | storage_acquire_ownerships () |
void | storage_release_ownerships () |
![]() | |
StoragePolicyCommon (const SubscriptionsIterable &subscriptions, const GuardConditionsIterable &guard_conditions, const ExtraGuardConditionsIterable &extra_guard_conditions, const TimersIterable &timers, const ClientsIterable &clients, const ServicesIterable &services, const WaitablesIterable &waitables, rclcpp::Context::SharedPtr context) | |
~StoragePolicyCommon () | |
std::pair< void *, EntityT * > | get_raw_pointer_from_smart_pointer (const std::shared_ptr< EntityT > &shared_pointer) |
std::pair< std::shared_ptr< EntityT >, EntityT * > | get_raw_pointer_from_smart_pointer (const std::weak_ptr< EntityT > &weak_pointer) |
void | storage_rebuild_rcl_wait_set_with_sets (const SubscriptionsIterable &subscriptions, const GuardConditionsIterable &guard_conditions, const ExtraGuardConditionsIterable &extra_guard_conditions, const TimersIterable &timers, const ClientsIterable &clients, const ServicesIterable &services, const WaitablesIterable &waitables) |
Rebuild the wait set, preparing it for the next wait call. More... | |
const rcl_wait_set_t & | storage_get_rcl_wait_set () const |
rcl_wait_set_t & | storage_get_rcl_wait_set () |
void | storage_flag_for_resize () |
Static Protected Member Functions | |
template<class EntityT , class SequenceOfEntitiesT > | |
static bool | storage_has_entity (const EntityT &entity, const SequenceOfEntitiesT &entities) |
template<class EntityT , class SequenceOfEntitiesT > | |
static auto | storage_find_entity (const EntityT &entity, const SequenceOfEntitiesT &entities) |
WaitSet policy that provides dynamically sized storage.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineexplicitprotected |
|
protecteddefault |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectednoexcept |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |