JsonConverter.h
Go to the documentation of this file.
1
#pragma once
2
3
// Base Class
4
#include "../Converter.h"
5
6
// Simox
7
#include <SimoxUtility/json.h>
8
9
namespace
armarx::armem::server::ltm::processor::converter::type::object
10
{
11
class
JsonConverter
:
public
ObjectConverter
12
{
13
public
:
14
JsonConverter
() :
ObjectConverter
(
"dict"
,
".json"
)
15
{
16
}
17
18
std::pair<std::vector<unsigned char>, std::string>
19
convert
(
const
aron::type::ObjectPtr
&
data
)
final
;
20
aron::type::ObjectPtr
convert
(
const
std::vector<unsigned char>&
data
,
21
const
std::string&)
final
;
22
};
23
}
// namespace armarx::armem::server::ltm::processor::converter::type::object
armarx::armem::server::ltm::processor::converter::type::object::JsonConverter::JsonConverter
JsonConverter()
Definition:
JsonConverter.h:14
data
uint8_t data[1]
Definition:
EtherCATFrame.h:68
armarx::armem::server::ltm::processor::converter::type::object::JsonConverter
Definition:
JsonConverter.h:11
armarx::armem::server::ltm::processor::converter::type::object
Definition:
JsonConverter.cpp:5
armarx::armem::server::ltm::processor::converter::type::ObjectConverter
Definition:
Converter.h:16
armarx::armem::server::ltm::processor::converter::type::object::JsonConverter::convert
std::pair< std::vector< unsigned char >, std::string > convert(const aron::type::ObjectPtr &data) final
Definition:
JsonConverter.cpp:8
armarx::aron::type::ObjectPtr
std::shared_ptr< Object > ObjectPtr
Definition:
Object.h:36
RobotAPI
libraries
armem
server
ltm
processors
converter
type
object
json
JsonConverter.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17