DepthImageExtractor.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Base Class
5 
6 #include "../Extractor.h"
7 
9 {
11  {
12  public:
13  std::map<std::string, aron::data::VariantPtr> depthImages;
14 
16  void visitUnknown(Input& data);
17  };
18 
20  {
21  public:
22  DepthImageExtractor() : Extractor(aron::type::Descriptor::IMAGE, "depthimage"){};
23 
24  ExtractionResult extract(aron::data::DictPtr& data) override;
25  aron::data::DictPtr merge(ExtractionResult& encoding) override;
26  };
27 } // namespace armarx::armem::server::ltm::processor::extractor
armarx::armem::server::ltm::processor::extractor::DepthImageExtractor::merge
aron::data::DictPtr merge(ExtractionResult &encoding) override
Definition: DepthImageExtractor.cpp:44
armarx::armem::server::ltm::processor::extractor::DepthImageExtractorVisitor
Definition: DepthImageExtractor.h:10
armarx::armem::server::ltm::processor::extractor
Definition: DepthImageExtractor.cpp:4
armarx::armem::server::ltm::processor::extractor::DepthImageExtractor::DepthImageExtractor
DepthImageExtractor()
Definition: DepthImageExtractor.h:22
armarx::aron::data::RecursiveVariantVisitor
Definition: VariantVisitor.h:157
armarx::aron::data::RecursiveVisitor< data::VariantPtr >::Input
typename VisitorBase< data::VariantPtr >::Input Input
Definition: RecursiveVisitor.h:39
armarx::armem::server::ltm::processor::extractor::DepthImageExtractorVisitor::visitDictOnEnter
void visitDictOnEnter(Input &data)
Definition: DepthImageExtractor.cpp:6
armarx::armem::server::ltm::processor::extractor::DepthImageExtractor
Definition: DepthImageExtractor.h:19
armarx::armem::server::ltm::processor::extractor::DepthImageExtractor::extract
ExtractionResult extract(aron::data::DictPtr &data) override
Definition: DepthImageExtractor.cpp:31
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
armarx::armem::server::ltm::processor::Extractor
Definition: Extractor.h:15
armarx::armem::server::ltm::processor::extractor::DepthImageExtractorVisitor::depthImages
std::map< std::string, aron::data::VariantPtr > depthImages
Definition: DepthImageExtractor.h:13
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::armem::server::ltm::processor::extractor::DepthImageExtractorVisitor::visitUnknown
void visitUnknown(Input &data)
Definition: DepthImageExtractor.cpp:26
VariantVisitor.h
armarx::aron::type::Descriptor
Descriptor
Definition: Descriptor.h:76