gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
Gaps::CRFrame Struct Reference

Public Member Functions

auto to_string () const -> std::string
 
auto get_tofpacket (std::string name) -> r::Result< TofPacket, Gaps::IOError >
 extract a tofpacket if this frame object is of the correct type
 
auto get_telemetrypacket (std::string name) -> Gaps::Telemetry::Packet
 

Static Public Member Functions

static auto from_bytestream (Vec< u8 > stream, usize &pos) -> CRFrame
 
static auto parse_index (Vec< u8 > stream, usize &pos) -> std::map< std::string, std::tuple< u64, CRFrameObjectType > >
 

Public Attributes

std::map< std::string, std::tuple< u64, CRFrameObjectType > > index
 
Vec< u8 > bytestorage
 

Static Public Attributes

static constexpr u16 HEAD = 0xAAAA
 
static constexpr u16 TAIL = 0x5555
 

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