aron_conversions.h
Go to the documentation of this file.
1 #pragma once
2 
5 #include <RobotAPI/libraries/armem_objects/aron/Attachment.aron.generated.h>
6 #include <RobotAPI/libraries/armem_objects/aron/Marker.aron.generated.h>
7 #include <RobotAPI/libraries/armem_objects/aron/ObjectClass.aron.generated.h>
8 #include <RobotAPI/libraries/armem_objects/aron/ObjectInstance.aron.generated.h>
10 
11 namespace armarx::armem
12 {
13  void fromAron(const arondto::ObjectInstance& dto, objpose::arondto::ObjectPose& bo);
14  void toAron(arondto::ObjectInstance& dto, const objpose::arondto::ObjectPose& bo);
15 
16  void fromAron(const arondto::ObjectInstance& dto, objpose::ObjectPose& bo);
17  void toAron(arondto::ObjectInstance& dto, const objpose::ObjectPose& bo);
18 
19 
20  /* Attachments */
21  void fromAron(const arondto::attachment::AgentDescription& dto,
22  attachment::AgentDescription& bo);
23  void toAron(arondto::attachment::AgentDescription& dto, const attachment::AgentDescription& bo);
24 
25  void fromAron(const arondto::attachment::ObjectAttachment& dto,
26  attachment::ObjectAttachment& bo);
27  void toAron(arondto::attachment::ObjectAttachment& dto, const attachment::ObjectAttachment& bo);
28 
29  void fromAron(const arondto::attachment::ArticulatedObjectAttachment& dto,
30  attachment::ArticulatedObjectAttachment& bo);
31  void toAron(arondto::attachment::ArticulatedObjectAttachment& dto,
32  const attachment::ArticulatedObjectAttachment& bo);
33 
34  void fromAron(const arondto::Marker& dto, marker::Marker& bo);
35  void toAron(arondto::Marker& dto, const marker::Marker& bo);
36 
37 } // namespace armarx::armem
38 
40 {
43 
44  void fromAron(const armarx::armem::arondto::ObjectClass& dto, ObjectClass& bo);
45  void toAron(armarx::armem::arondto::ObjectClass& dto, const ObjectClass& bo);
46 
47 } // namespace armarx::armem::clazz
48 
50 {
51  /// Make a Memory ID for the object instance snapshot representing this pose.
53 
54 } // namespace armarx::armem::obj
armarx::armem::obj
Definition: aron_conversions.h:49
armarx::armem::clazz
Definition: aron_conversions.h:39
MemoryID.h
armarx::armem::toAron
void toAron(arondto::MemoryID &dto, const MemoryID &bo)
Definition: aron_conversions.cpp:19
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:31
armarx::armem::clazz::ObjectClass
Definition: types.h:58
armarx::armem::MemoryID
A memory ID.
Definition: MemoryID.h:47
armarx::Feature
@ Feature
Definition: OpticalFlow.h:53
types.h
armarx::armem::clazz::Feature
Definition: types.h:49
ObjectPose.h
armarx::armem::clazz::toAron
void toAron(armarx::armem::arondto::Feature &dto, const Feature &bo)
armarx::armem::fromAron
void fromAron(const arondto::MemoryID &dto, MemoryID &bo)
Definition: aron_conversions.cpp:8
armarx::armem::clazz::fromAron
void fromAron(const armarx::armem::arondto::Feature &dto, Feature &bo)
armarx::armem::obj::makeObjectInstanceMemoryID
MemoryID makeObjectInstanceMemoryID(const objpose::ObjectPose &objectPose)
Make a Memory ID for the object instance snapshot representing this pose.
Definition: aron_conversions.cpp:186
armarx::objpose::ObjectPose
An object pose as stored by the ObjectPoseStorage.
Definition: ObjectPose.h:36
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:168