WPILibC++ 2024.1.1-beta-4
wpi::log::StartRecordData Struct Reference

Data contained in a start control record as created by DataLog::Start() when writing the log. More...

#include <wpi/DataLogReader.h>

Public Attributes

int entry
 Entry ID; this will be used for this entry in future records. More...
 
std::string_view name
 Entry name. More...
 
std::string_view type
 Type of the stored data for this entry, as a string, e.g. More...
 
std::string_view metadata
 Initial metadata. More...
 

Detailed Description

Data contained in a start control record as created by DataLog::Start() when writing the log.

This can be read by calling DataLogRecord::GetStartData().

Member Data Documentation

◆ entry

int wpi::log::StartRecordData::entry

Entry ID; this will be used for this entry in future records.

◆ metadata

std::string_view wpi::log::StartRecordData::metadata

Initial metadata.

◆ name

std::string_view wpi::log::StartRecordData::name

Entry name.

◆ type

std::string_view wpi::log::StartRecordData::type

Type of the stored data for this entry, as a string, e.g.

"double".


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