aron_conversions.cpp
Go to the documentation of this file.
1 #include "aron_conversions.h"
2 
5 #include <RobotAPI/libraries/armem/aron/MemoryID.aron.generated.h>
6 
7 
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 
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 
30 std::ostream& armarx::armem::arondto::operator<<(std::ostream& os, const MemoryID& rhs)
31 {
33  fromAron(rhs, bo);
34  return os << bo;
35 }
MemoryID.h
armarx::armem::toAron
void toAron(arondto::MemoryID &dto, const MemoryID &bo)
Definition: aron_conversions.cpp:19
armarx::navigation::traj_ctrl::local::fromAron
void fromAron(const arondto::TrajectoryFollowingControllerParams &dto, TrajectoryFollowingControllerParams &bo)
Definition: aron_conversions.cpp:27
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
armarx::navigation::traj_ctrl::local::toAron
void toAron(arondto::TrajectoryFollowingControllerParams &dto, const TrajectoryFollowingControllerParams &bo)
Definition: aron_conversions.cpp:17
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:168
armarx::human::MemoryID
const armem::MemoryID MemoryID
Definition: memory_ids.cpp:29