DepthImageExtractor.h
Go to the documentation of this file.
1
#pragma once
2
3
// Base Class
4
#include <
RobotAPI/libraries/aron/core/data/visitor/variant/VariantVisitor.h
>
5
6
#include "../Extractor.h"
7
8
namespace
armarx::armem::server::ltm::processor::extractor
9
{
10
class
DepthImageExtractorVisitor
:
public
aron::data::RecursiveVariantVisitor
11
{
12
public
:
13
std::map<std::string, aron::data::VariantPtr>
depthImages
;
14
15
void
visitDictOnEnter
(
Input
&
data
);
16
void
visitUnknown
(
Input
&
data
);
17
};
18
19
class
DepthImageExtractor
:
public
Extractor
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
RobotAPI
libraries
armem
server
ltm
processors
extractor
imageExtractor
DepthImageExtractor.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17