Converter.cpp
Go to the documentation of this file.
1
#include "
Converter.h
"
2
3
namespace
armarx::armem::server::ltm::processor::converter::data
4
{
5
void
6
ImageConverter::configure
(
const
nlohmann::json& json)
7
{
8
}
9
10
ImageConverter::ConversionResult
11
ImageConverter::convert
(
const
aron::data::VariantPtr
&
data
)
12
{
13
auto
d =
aron::data::NDArray::DynamicCastAndCheck
(
data
);
14
return
_convert
(d);
15
}
16
17
aron::data::VariantPtr
18
ImageConverter::convert
(
const
ConversionResult
&
data
,
const
armarx::aron::Path
& p)
19
{
20
auto
d =
_convert
(
data
, p);
21
return
d;
22
}
23
24
}
// namespace armarx::armem::server::ltm::processor::converter::data
armarx::aron::data::detail::SpecializedVariantBase< data::dto::NDArray, NDArray >::DynamicCastAndCheck
static PointerType DynamicCastAndCheck(const VariantPtr &n)
Definition:
SpecializedVariant.h:135
armarx::aron::Path
The Path class.
Definition:
Path.h:36
armarx::aron::data::VariantPtr
std::shared_ptr< Variant > VariantPtr
Definition:
forward_declarations.h:11
armarx::armem::server::ltm::processor::converter::data::ImageConverter::_convert
virtual ConversionResult _convert(const aron::data::NDArrayPtr &data)=0
data
uint8_t data[1]
Definition:
EtherCATFrame.h:68
Converter.h
armarx::armem::server::ltm::processor::converter::data::ImageConverter::configure
void configure(const nlohmann::json &json) override
Definition:
Converter.cpp:6
armarx::armem::server::ltm::processor::converter::data
Definition:
Converter.cpp:3
armarx::armem::server::ltm::processor::converter::data::ImageConverter::convert
ConversionResult convert(const aron::data::VariantPtr &data) final
Definition:
Converter.cpp:11
armarx::armem::server::ltm::processor::DataConverter::ConversionResult
Definition:
Converter.h:25
RobotAPI
libraries
armem
server
ltm
processors
converter
data
image
Converter.cpp
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17