|
#include <RobotAPI/libraries/armem/server/ltm/processors/converter/data/Converter.h>
Classes | |
struct | ConversionResult |
Public Types | |
enum | ConverterType { Str, Binary } |
Public Member Functions | |
virtual void | configure (const nlohmann::json &json) |
virtual ConversionResult | convert (const aron::data::VariantPtr &data)=0 |
virtual aron::data::VariantPtr | convert (const ConversionResult &, const armarx::aron::Path &p)=0 |
DataConverter (const ConverterType t, const std::string &id, const std::string &s, const aron::type::Descriptor c, std::unique_ptr< Extractor > &&ex) | |
virtual | ~DataConverter ()=default |
Public Attributes | |
const aron::type::Descriptor | convertsType |
const std::unique_ptr< Extractor > | extractor |
const std::string | identifier |
const std::string | suffix |
const ConverterType | type |
Definition at line 16 of file Converter.h.
|
strong |
Enumerator | |
---|---|
Str | |
Binary |
Definition at line 19 of file Converter.h.
|
inline |
Definition at line 31 of file Converter.h.
|
virtualdefault |
|
virtual |
Reimplemented in ImageConverter, and PngConverter.
Definition at line 6 of file Converter.cpp.
|
pure virtual |
Implemented in ImageConverter, and ObjectConverter.
|
pure virtual |
Implemented in ImageConverter, and ObjectConverter.
const aron::type::Descriptor convertsType |
Definition at line 52 of file Converter.h.
const std::unique_ptr<Extractor> extractor |
Definition at line 54 of file Converter.h.
const std::string identifier |
Definition at line 50 of file Converter.h.
const std::string suffix |
Definition at line 51 of file Converter.h.
const ConverterType type |
Definition at line 49 of file Converter.h.