FOUND
Loading...
Searching...
No Matches
found::DataFile Struct Reference

Represents a complete serialized data file. More...

#include <datafile.hpp>

Collaboration diagram for found::DataFile:

Public Member Functions

 DataFile ()=default
 Constructs this.
 
 DataFile (DataFile &&other) noexcept=default
 Moves another DataFile.
 
DataFileoperator= (DataFile &&other)=default
 Moves another DataFile.
 

Public Attributes

DataFileHeader header
 Metadata header for the file (includes magic, version, and CRC).
 
Quaternion relative_attitude
 Relative orientation (attitude) of the object as Euler angles.
 
std::unique_ptr< LocationRecord[]> positions
 Collection of location records in the file.
 
std::string path
 The path of this DataFile.
 

Detailed Description

Represents a complete serialized data file.

Contains the file header, relative orientation of the sensor, and a list of spatial position records.

Constructor & Destructor Documentation

◆ DataFile() [1/2]

found::DataFile::DataFile ( )
default

Constructs this.

◆ DataFile() [2/2]

found::DataFile::DataFile ( DataFile &&  other)
defaultnoexcept

Moves another DataFile.

Parameters
otherThe file to copy

Member Function Documentation

◆ operator=()

DataFile & found::DataFile::operator= ( DataFile &&  other)
default

Moves another DataFile.

Parameters
otherThe file to copy

Member Data Documentation

◆ header

DataFileHeader found::DataFile::header

Metadata header for the file (includes magic, version, and CRC).

◆ path

std::string found::DataFile::path

The path of this DataFile.

Note
This is not a saved field

◆ positions

std::unique_ptr<LocationRecord[]> found::DataFile::positions

Collection of location records in the file.

◆ relative_attitude

Quaternion found::DataFile::relative_attitude

Relative orientation (attitude) of the object as Euler angles.


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