Struct astutedds::dcps::TimerService::HeapNode
Public Attributes
| Type | Name |
|---|---|
| TimerId | id |
| std::chrono::steady_clock::time_point | when |
Public Functions
| Type | Name |
|---|---|
| bool | operator> (const HeapNode & rhs) noexcept const |
Detailed Description
Heap entry. Stores the timer id and the scheduled-fire time at the moment of insertion. If the timer is later reset(), its entry in timers_ gets a new next_fire but the old heap node remains — we detect this mismatch on pop and skip the stale entry rather than paying the cost of erasing it.
Public Attributes Documentation
variable id
TimerId astutedds::dcps::TimerService::HeapNode::id;
variable when
std::chrono::steady_clock::time_point astutedds::dcps::TimerService::HeapNode::when;
Public Functions Documentation
function operator>
inline bool HeapNode::operator> (
const HeapNode & rhs
) noexcept const
The documentation for this class was generated from the following file include/astutedds/dcps/timer_service.hpp