PositionType position() const
Returns current position (in the circular buffer).
Definition: ConsumerEntry.h:42
Holds information about a consumer.
Definition: ConsumerEntry.h:27
ConsumerEntry(size_t level)
Creates an entry with a level and position.
Definition: ConsumerEntry.h:30
size_t level() const
Returns consumer level.
Definition: ConsumerEntry.h:47
PositionType m_position
Definition: ConsumerEntry.h:53
PositionType advance()
Advances the position.
Definition: ConsumerEntry.h:36
const size_t m_level
Definition: ConsumerEntry.h:52