Struct ReadyEntity

Nested Relationships

Nested Types

Struct Documentation

struct ReadyEntity

Public Functions

inline explicit ReadyEntity(const rclcpp::SubscriptionBase::WeakPtr ptr)
inline explicit ReadyEntity(const ReadyTimerWithExecutedCallback &timer)
inline explicit ReadyEntity(const rclcpp::ServiceBase::WeakPtr ptr)
inline explicit ReadyEntity(const rclcpp::ClientBase::WeakPtr ptr)
inline explicit ReadyEntity(const CBGScheduler::WaitableWithEventType &ev)
inline explicit ReadyEntity(const CBGScheduler::CallbackEventType &ev)
inline std::function<void()> get_execute_function() const
inline bool expired() const

Returns true if the event has expired / does not need to be executed any more

Public Members

std::variant<rclcpp::SubscriptionBase::WeakPtr, ReadyTimerWithExecutedCallback, rclcpp::ServiceBase::WeakPtr, rclcpp::ClientBase::WeakPtr, CBGScheduler::WaitableWithEventType, CBGScheduler::CallbackEventType> entity
GlobalEventIdProvider::MonotonicId id
struct ReadyTimerWithExecutedCallback

Public Functions

inline bool expired() const

Public Members

const rclcpp::TimerBase::WeakPtr timer_ptr
std::function<void()> timer_was_executed