CatapultServer
v0.5.0.1 (Elephant)
|
Holds information about a consumer. More...
Public Member Functions | |
ConsumerEntry (size_t level) | |
Creates an entry with a level and position. More... | |
PositionType | advance () |
Advances the position. More... | |
PositionType | position () const |
Returns current position (in the circular buffer). More... | |
size_t | level () const |
Returns consumer level. More... | |
Private Attributes | |
const size_t | m_level |
PositionType | m_position |
Holds information about a consumer.
|
inlineexplicit |
Creates an entry with a level and position.
|
inline |
Advances the position.
|
inline |
Returns consumer level.
|
inline |
Returns current position (in the circular buffer).
|
private |
|
private |