aron_conversions.cpp
Go to the documentation of this file.
1 #include "aron_conversions.h"
2 
3 #include <RobotAPI/libraries/armem/aron/MemoryID.aron.generated.h>
6 
7 void
9 {
10  aron::fromAron(dto.memoryName, bo.memoryName);
11  aron::fromAron(dto.coreSegmentName, bo.coreSegmentName);
12  aron::fromAron(dto.providerSegmentName, bo.providerSegmentName);
13  aron::fromAron(dto.entityName, bo.entityName);
14  aron::fromAron(dto.timestamp, bo.timestamp);
15  aron::fromAron(dto.instanceIndex, bo.instanceIndex);
16 }
17 
18 void
20 {
21  aron::toAron(dto.memoryName, bo.memoryName);
22  aron::toAron(dto.coreSegmentName, bo.coreSegmentName);
23  aron::toAron(dto.providerSegmentName, bo.providerSegmentName);
24  aron::toAron(dto.entityName, bo.entityName);
25  aron::toAron(dto.timestamp, bo.timestamp);
26  aron::toAron(dto.instanceIndex, bo.instanceIndex);
27 }
28 
29 std::ostream&
30 armarx::armem::arondto::operator<<(std::ostream& os, const MemoryID& rhs)
31 {
33  fromAron(rhs, bo);
34  return os << bo;
35 }
armarx::view_selection::gaze_targets::toAron
void toAron(arondto::GazeTarget &dto, const GazeTarget &bo)
Definition: aron_conversions.cpp:123
armarx::view_selection::gaze_targets::fromAron
void fromAron(const arondto::GazeTarget &dto, GazeTarget &bo)
Definition: aron_conversions.cpp:139
MemoryID.h
armarx::armem::toAron
void toAron(arondto::MemoryID &dto, const MemoryID &bo)
Definition: aron_conversions.cpp:19
armarx::armem::arondto::operator<<
std::ostream & operator<<(std::ostream &os, const MemoryID &rhs)
Definition: aron_conversions.cpp:30
armarx::armem::MemoryID
A memory ID.
Definition: MemoryID.h:47
aron_conversions.h
aron_conversions.h
armarx::armem::fromAron
void fromAron(const arondto::MemoryID &dto, MemoryID &bo)
Definition: aron_conversions.cpp:8
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:174
armarx::human::MemoryID
const armem::MemoryID MemoryID
Definition: memory_ids.cpp:28