Log entry base class.
More...
#include <wpi/DataLog.h>
◆ DataLogEntry() [1/4]
wpi::log::DataLogEntry::DataLogEntry |
( |
| ) |
|
|
protecteddefault |
◆ DataLogEntry() [2/4]
◆ DataLogEntry() [3/4]
wpi::log::DataLogEntry::DataLogEntry |
( |
const DataLogEntry & |
| ) |
|
|
delete |
◆ DataLogEntry() [4/4]
◆ Finish()
void wpi::log::DataLogEntry::Finish |
( |
int64_t |
timestamp = 0 | ) |
|
|
inline |
Finishes the entry.
- Parameters
-
timestamp | Time stamp (may be 0 to indicate now) |
◆ operator bool()
wpi::log::DataLogEntry::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetMetadata()
void wpi::log::DataLogEntry::SetMetadata |
( |
std::string_view |
metadata, |
|
|
int64_t |
timestamp = 0 |
|
) |
| |
|
inline |
Updates the metadata for the entry.
- Parameters
-
metadata | New metadata for the entry |
timestamp | Time stamp (may be 0 to indicate now) |
◆ m_entry
int wpi::log::DataLogEntry::m_entry = 0 |
|
protected |
◆ m_log
DataLog* wpi::log::DataLogEntry::m_log = nullptr |
|
protected |
The documentation for this class was generated from the following file: