RIT VEXU Core API
|
#include <types.hpp>
Public Member Functions | |
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 | fetch () override |
void | read_data_from_message (PacketReader &reader) override |
![]() | |
Part (std::string name) | |
std::string | pretty_print () const |
std::string | pretty_print_data () const |
Protected Member Functions | |
void | write_schema (PacketWriter &sofar) const override |
void | write_message (PacketWriter &sofar) const override |
Defines a Part that contains another Part essentially an array of parts that is formatted so that it can be sent to the debug board
|
explicit |
VDP::Record::Record | ( | std::string | name, |
const std::vector< Part * > & | parts ) |
VDP::Record::Record | ( | std::string | name, |
std::vector< PartPtr > | parts ) |
Creates a Record with a name that contains the Parts inside a vector of Part Pointers a Record is essentially an array of parts that is formatted so that it can be sent to the debug board
name | the name for the part |
parts | the vector of Part Pointers for the record to hold |
Creates a Record with a name that contains the Parts inside a vector of Part Pointers a Record is essentially an array of parts that is formatted so that it can be sent to the debug board
VDP::Record::Record | ( | std::string | name, |
PacketReader & | reader ) |
Creates a record with a name based off of a packet read by a PacketReader a Record is essentially an array of parts that is formatted so that it can be sent to the debug board
name | |
reader |
|
overridevirtual |
sets the values of each Part the Record contains
Implements VDP::Part.
Reimplemented in VDP::TimestampedRecord.
|
overridevirtual |
writes a message to the packet containing part record
sofar | the PacketWriter to write with |
Implements VDP::Part.
void VDP::Record::set_fields | ( | std::vector< PartPtr > | fs | ) |
|
overrideprotectedvirtual |
writes a message to the packet containing part record
sofar | the PacketWriter to write with |
Implements VDP::Part.
|
overrideprotectedvirtual |