Extractor Class Referenceabstract

#include <RobotAPI/libraries/armem/server/ltm/processors/extractor/Extractor.h>

+ Inheritance diagram for Extractor:

Classes

struct  ExtractionResult
 

Public Member Functions

virtual void configure (const nlohmann::json &json)
 
virtual ExtractionResult extract (aron::data::DictPtr &data)=0
 
 Extractor (const aron::type::Descriptor t, const std::string &id)
 
virtual aron::data::DictPtr merge (ExtractionResult &encoding)=0
 
virtual ~Extractor ()=default
 

Public Attributes

const aron::type::Descriptor extractsType
 
const std::string identifier
 

Detailed Description

Definition at line 15 of file Extractor.h.

Constructor & Destructor Documentation

◆ Extractor()

Extractor ( const aron::type::Descriptor  t,
const std::string &  id 
)
inline

Definition at line 24 of file Extractor.h.

◆ ~Extractor()

virtual ~Extractor ( )
virtualdefault

Member Function Documentation

◆ configure()

void configure ( const nlohmann::json &  json)
virtual

Definition at line 6 of file Extractor.cpp.

◆ extract()

virtual ExtractionResult extract ( aron::data::DictPtr data)
pure virtual

Implemented in DepthImageExtractor, and ImageExtractor.

◆ merge()

virtual aron::data::DictPtr merge ( ExtractionResult encoding)
pure virtual

Implemented in DepthImageExtractor, and ImageExtractor.

Member Data Documentation

◆ extractsType

const aron::type::Descriptor extractsType

Definition at line 33 of file Extractor.h.

◆ identifier

const std::string identifier

Definition at line 34 of file Extractor.h.


The documentation for this class was generated from the following files: