Template Class StoragePolicyCommon
Defined in File storage_policy_common.hpp
Class Documentation
-
template<bool HasStrongOwnership>
class StoragePolicyCommon Common structure for storage policies, which provides rcl wait set access.
Protected Functions
-
inline ~StoragePolicyCommon()
-
template<class SubscriptionsIterable, class GuardConditionsIterable, class ExtraGuardConditionsIterable, class TimersIterable, class ClientsIterable, class ServicesIterable, class WaitablesIterable>
inline 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.
The wait set is rebuilt by:
resizing the wait set if needed,
clearing the wait set if not already done by resizing, and
re-adding the entities.
-
inline const rcl_wait_set_t &storage_get_rcl_wait_set() const
-
inline rcl_wait_set_t &storage_get_rcl_wait_set()
-
inline void storage_flag_for_resize()
-
inline size_t size_of_subscriptions() const
-
inline size_t size_of_timers() const
-
inline size_t size_of_clients() const
-
inline size_t size_of_services() const
-
inline size_t size_of_waitables() const
-
template<class SubscriptionsIterable>
inline SubscriptionsIterable::value_type subscriptions(size_t) const
-
template<class TimersIterable>
inline TimersIterable::value_type timers(size_t) const
-
template<class ClientsIterable>
inline ClientsIterable::value_type clients(size_t) const
-
template<class ServicesIterable>
inline ServicesIterable::value_type services(size_t) const
-
template<class WaitablesIterable>
inline WaitablesIterable::value_type waitables(size_t) const
-
inline ~StoragePolicyCommon()