class task_ring_buffer::reservation
Declaration
class task_ring_buffer::reservation { /* full declaration omitted */ };
Member Variables
- bool m_consumed = false
- task_id m_tid
- task_ring_buffer& m_buffer
Member Function Overview
- get_tid() const → task_id
- operator=(const reservation &) → reservation &
- reservation(task_id tid, task_ring_buffer & buffer)
- reservation(const reservation &)
- reservation(reservation &&)
- ~reservation()
- consume() → void
Member Functions
¶task_id get_tid() const
task_id get_tid() const
¶reservation& operator=(const reservation&)
reservation& operator=(const reservation&)
Parameters
- const reservation&
¶reservation(task_id tid, task_ring_buffer& buffer)
reservation(task_id tid, task_ring_buffer& buffer)
Parameters
- task_id tid
- task_ring_buffer& buffer
¶reservation(const reservation&)
reservation(const reservation&)
Parameters
- const reservation&
¶reservation(reservation&&)
reservation(reservation&&)
Parameters
¶~reservation()
~reservation()
¶void consume()
void consume()