Go to the documentation of this file.
25 #ifndef SRC_CORE_INCLUDE_CORBO_CORE_YAML_EXPORT_H_
26 #define SRC_CORE_INCLUDE_CORBO_CORE_YAML_EXPORT_H_
29 #include <yaml-cpp/yaml.h>
44 class YamlExporter :
public DataExporterInterface
47 using Ptr = std::shared_ptr<YamlExporter>;
54 std::string
getFileSuffix()
const override {
return ".yaml"; }
92 #endif // SRC_CORE_INCLUDE_CORBO_CORE_YAML_EXPORT_H_
bool exportTimeSeriesSequenceSignal(const std::string &filename, const TimeSeriesSequenceSignal &signal) override
Signal containing values indexed by a single integer.
bool isSupportingMatrixSetSignal() const override
void emitMatrixSet(const MatrixSetSignal &signal, YAML::Emitter &emitter, bool wrap_in_map=true)
bool exportTimeSeries(const std::string &filename, const TimeSeries &time_series) override
void emitIndexedValues(const IndexedValuesSignal &signal, YAML::Emitter &emitter, bool wrap_in_map=true)
void emitMatrix(const MatrixSignal &signal, YAML::Emitter &emitter, bool wrap_in_map=true)
DataExporterInterface::Ptr getInstance() const override
Return a newly created shared instance of the implemented class.
bool isSupportingMatrixSignal() const override
void emitTimeSeries(const TimeSeries &time_series, YAML::Emitter &emitter, bool wrap_in_map=true)
std::shared_ptr< YamlExporter > Ptr
Time Series signal (trajectory resp. sequence of values w.r.t. time)
std::string getFileSuffix() const override
bool exportTimeSeriesSignal(const std::string &filename, const TimeSeriesSignal &signal) override
void emitIndexedValuesSet(const IndexedValuesSetSignal &signal, YAML::Emitter &emitter, bool wrap_in_map=true)
void emitTimeSeriesSequence(const TimeSeriesSequenceSignal &signal, YAML::Emitter &emitter, bool wrap_in_map=true)
bool isSupportingTimeSeries() const override
std::shared_ptr< DataExporterInterface > Ptr
std::string getFormatName() const override
FACTORY_REGISTER_DATA_EXPORTER(TsvExporter)
Signal containing values indexed by an integer (int to double[] map)
Signal containing a set of matrices.
bool exportIndexedValuesSetSignal(const std::string &filename, const IndexedValuesSetSignal &signal) override
Time Series (trajectory resp. sequence of values w.r.t. time)
bool exportMatrixSignal(const std::string &filename, const MatrixSignal &signal) override
bool isSupportingTimeSeriesSignal() const override
bool isSupportingSignalGroup() const override
bool exportMatrixSetSignal(const std::string &filename, const MatrixSetSignal &signal) override
bool exportSignalGroup(const std::string &filename, const CommonSignalTarget::SignalGroup &signal_group) override
Signal for a sequence of time series objects.
bool isSupportingIndexedValuesSetSignal() const override
bool exportIndexedValuesSignal(const std::string &filename, const IndexedValuesSignal &signal) override
bool isSupportingTimeSeriesSequenceSignal() const override
Signal containing a simple matrix.
void emitSignalGroup(const CommonSignalTarget::SignalGroup &signal_group, YAML::Emitter &emitter, bool wrap_in_map=true)
bool isSupportingIndexedValuesSignal() const override
bool write_file(const YAML::Emitter &emitter, const std::string &filename)
Tree node containing a group of signals and a set of child tree nodes.
void emitHeader(const SignalHeader &header, YAML::Emitter &emitter)
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:07:16