RIT VEXU Core API
Loading...
Searching...
No Matches
VDP::TimestampedRecord Class Reference

#include <builtins.hpp>

Inheritance diagram for VDP::TimestampedRecord:
VDP::Record VDP::Part

Public Member Functions

 TimestampedRecord (std::string name, Part *data)
 
void fetch ()
 
- Public Member Functions inherited from VDP::Record
 Record (std::string name)
 
 Record (std::string name, const std::vector< Part * > &parts)
 
 Record (std::string name, std::vector< PartPtr > parts)
 
 Record (std::string name, PacketReader &reader)
 
void set_fields (std::vector< PartPtr > fields)
 
void read_data_from_message (PacketReader &reader) override
 
- Public Member Functions inherited from VDP::Part
 Part (std::string name)
 
std::string pretty_print () const
 
std::string pretty_print_data () const
 

Additional Inherited Members

- Protected Member Functions inherited from VDP::Record
void write_schema (PacketWriter &sofar) const override
 
void write_message (PacketWriter &sofar) const override
 

Detailed Description

Defines a record that holds a timestamp and data

Constructor & Destructor Documentation

◆ TimestampedRecord()

VDP::TimestampedRecord::TimestampedRecord ( std::string name,
Part * data )

Creates a record that contains a Float of a timestamp Part of data

Parameters
namethe name of the record to create
datathe data to put into the record

Member Function Documentation

◆ fetch()

void VDP::TimestampedRecord::fetch ( )
virtual

sets the data that the Timestamp Parts hold

Reimplemented from VDP::Record.


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