Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
vulcan::io Namespace Reference

Namespaces

namespace  detail

Classes

struct  CSVExportOptions
 CSV export options. More...
class  Frame
 Single timestep of telemetry data. More...
class  FrameSerializer
 Binary frame serializer for Hermes real-time streaming. More...
class  HDF5Reader
 HDF5 telemetry file reader. More...
class  HDF5Writer
 HDF5 telemetry file writer. More...
struct  SignalDescriptor
 Individual signal descriptor. More...
class  TelemetrySchema
 Telemetry schema builder and container. More...
class  EnvVarError
 Exception for undefined environment variables. More...
class  YamlEnv
 Environment variable expansion utilities. More...
class  YamlFile
 YAML file utilities. More...
class  YamlError
 Exception for YAML parsing/access errors. More...
class  YamlNode
 Wrapper around yaml-cpp node with ergonomic accessors. More...

Enumerations

enum class  SignalType { Double , Int32 , Int64 }
 Signal data type (all scalar, 8-byte aligned slots). More...
enum class  SignalLifecycle { Static , Dynamic }
 Signal lifecycle for telemetry optimization. More...

Functions

void export_to_csv (const HDF5Reader &reader, std::ostream &out, const CSVExportOptions &options={})
 Export HDF5 reader to output stream.
void export_to_csv (const std::string &hdf5_path, const std::string &csv_path, const CSVExportOptions &options={})
 Export HDF5 file to CSV.
template<>
std::string YamlNode::As< std::string > () const
 Convert node to string.
template<>
janus::Vec3< double > YamlNode::As< janus::Vec3< double > > () const
 Convert node to Vec3<double> from [x, y, z].
template<>
janus::Quaternion< double > YamlNode::As< janus::Quaternion< double > > () const
 Convert node to Quaternion<double> from [w, x, y, z].
template<>
janus::Mat3< double > YamlNode::As< janus::Mat3< double > > () const
 Convert node to Mat3<double> from nested or flat array.
template<>
std::vector< double > YamlNode::As< std::vector< double > > () const
 Convert node to vector of doubles.
template<>
std::vector< int > YamlNode::As< std::vector< int > > () const
 Convert node to vector of ints.
template<>
std::vector< std::string > YamlNode::As< std::vector< std::string > > () const
 Convert node to vector of strings.

Enumeration Type Documentation

◆ SignalLifecycle

enum class vulcan::io::SignalLifecycle
strong

Signal lifecycle for telemetry optimization.

Enumerator
Static 

Constant after init, sent in schema handshake only.

Dynamic 

Updated each step, included in streaming telemetry.

◆ SignalType

enum class vulcan::io::SignalType
strong

Signal data type (all scalar, 8-byte aligned slots).

Enumerator
Double 

8 bytes - physical quantities

Int32 

4 bytes + 4 padding - modes, phases, counters

Int64 

8 bytes - timestamps, large counters

Function Documentation

◆ export_to_csv() [1/2]

void vulcan::io::export_to_csv ( const HDF5Reader & reader,
std::ostream & out,
const CSVExportOptions & options = {} )
inline

Export HDF5 reader to output stream.

Parameters
readerHDF5 reader
outOutput stream
optionsExport options

◆ export_to_csv() [2/2]

void vulcan::io::export_to_csv ( const std::string & hdf5_path,
const std::string & csv_path,
const CSVExportOptions & options = {} )
inline

Export HDF5 file to CSV.

Parameters
hdf5_pathInput HDF5 file path
csv_pathOutput CSV file path
optionsExport options

◆ YamlNode::As< janus::Mat3< double > >()

template<>
janus::Mat3< double > vulcan::io::YamlNode::As< janus::Mat3< double > > ( ) const
inline

Convert node to Mat3<double> from nested or flat array.

◆ YamlNode::As< janus::Quaternion< double > >()

template<>
janus::Quaternion< double > vulcan::io::YamlNode::As< janus::Quaternion< double > > ( ) const
inline

Convert node to Quaternion<double> from [w, x, y, z].

◆ YamlNode::As< janus::Vec3< double > >()

template<>
janus::Vec3< double > vulcan::io::YamlNode::As< janus::Vec3< double > > ( ) const
inline

Convert node to Vec3<double> from [x, y, z].

◆ YamlNode::As< std::string >()

template<>
std::string vulcan::io::YamlNode::As< std::string > ( ) const
inline

Convert node to string.

◆ YamlNode::As< std::vector< double > >()

template<>
std::vector< double > vulcan::io::YamlNode::As< std::vector< double > > ( ) const
inline

Convert node to vector of doubles.

◆ YamlNode::As< std::vector< int > >()

template<>
std::vector< int > vulcan::io::YamlNode::As< std::vector< int > > ( ) const
inline

Convert node to vector of ints.

◆ YamlNode::As< std::vector< std::string > >()

template<>
std::vector< std::string > vulcan::io::YamlNode::As< std::vector< std::string > > ( ) const
inline

Convert node to vector of strings.