|
roo_monitoring
API Documentation for roo_monitoring
|
Represents a single write operation to a monitoring collection. More...
#include <roo_monitoring.h>
Public Member Functions | |
| WriteTransaction (Writer *writer) | |
| ~WriteTransaction () | |
| void | write (int64_t timestamp, uint64_t stream_id, float data) |
Represents a single write operation to a monitoring collection.
Intended as a transient RAII object; commit happens on destruction.
Definition at line 95 of file roo_monitoring.h.
| roo_monitoring::WriteTransaction::WriteTransaction | ( | Writer * | writer | ) |
Definition at line 49 of file monitoring.cpp.
| roo_monitoring::WriteTransaction::~WriteTransaction | ( | ) |
Definition at line 53 of file monitoring.cpp.
References roo_monitoring::LogWriter::close().
| void roo_monitoring::WriteTransaction::write | ( | int64_t | timestamp, |
| uint64_t | stream_id, | ||
| float | data | ||
| ) |
Definition at line 55 of file monitoring.cpp.
References roo_monitoring::Transform::apply(), roo_monitoring::LogWriter::can_skip_write(), roo_monitoring::LogWriter::resolution(), roo_monitoring::timestamp_ms_floor(), and roo_monitoring::LogWriter::write().