roo_monitoring
API Documentation for roo_monitoring
Loading...
Searching...
No Matches
roo_monitoring::LogSample Class Reference

Sample stored in log files before compaction. More...

#include <log.h>

Public Member Functions

 LogSample (uint64_t stream_id, uint16_t value)
 Creates a log sample for a stream/value pair.
 
uint64_t stream_id () const
 Returns the stream identifier.
 
uint16_t value () const
 Returns the encoded sample value.
 

Detailed Description

Sample stored in log files before compaction.

Definition at line 14 of file log.h.

Constructor & Destructor Documentation

◆ LogSample()

roo_monitoring::LogSample::LogSample ( uint64_t  stream_id,
uint16_t  value 
)
inline

Creates a log sample for a stream/value pair.

Definition at line 17 of file log.h.

Member Function Documentation

◆ stream_id()

uint64_t roo_monitoring::LogSample::stream_id ( ) const
inline

Returns the stream identifier.

Definition at line 21 of file log.h.

Referenced by roo_monitoring::operator<().

◆ value()

uint16_t roo_monitoring::LogSample::value ( ) const
inline

Returns the encoded sample value.

Definition at line 23 of file log.h.


The documentation for this class was generated from the following file: