ice_conversions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <RobotAPI/interface/armem/commit.h>
4 #include <RobotAPI/interface/armem/memory.h>
5 
6 #include "memory_definitions.h"
7 
8 
9 namespace armarx::armem::wm
10 {
11 
12  void toIce(data::EntityInstance& ice, const EntityInstance& data);
14 
15 
16  void toIce(data::EntitySnapshot& ice, const EntitySnapshot& snapshot);
17  void fromIce(const data::EntitySnapshot& ice, EntitySnapshot& snapshot);
18 
19  void toIce(data::Entity& ice, const Entity& entity);
20  void fromIce(const data::Entity& ice, Entity& entity);
21 
22 
23  void toIce(data::ProviderSegment& ice, const ProviderSegment& providerSegment);
24  void fromIce(const data::ProviderSegment& ice, ProviderSegment& providerSegment);
25 
26  void toIce(data::CoreSegment& ice, const CoreSegment& coreSegment);
27  void fromIce(const data::CoreSegment& ice, CoreSegment& coreSegment);
28 
29  void toIce(data::Memory& ice, const Memory& memory);
30  void fromIce(const data::Memory& ice, Memory& memory);
31 }
32 
33 // Must be included after the prototypes. Otherwise the compiler cannot find the correct methods in ice_coversion_templates.h
armarx::armem::server::wm::EntityInstance
armem::wm::EntityInstance EntityInstance
Definition: forward_declarations.h:64
armarx::armem::wm::fromIce
void fromIce(const data::EntityInstance &ice, EntityInstance &data)
Definition: ice_conversions.cpp:14
armarx::armem::wm
Definition: MemoryNameSystem.h:46
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
ice_conversions.h
memory_definitions.h
armarx::armem::server::wm::EntitySnapshot
armem::wm::EntitySnapshot EntitySnapshot
Definition: forward_declarations.h:65
armarx::armem::wm::toIce
void toIce(data::EntityInstance &ice, const EntityInstance &data)
Definition: ice_conversions.cpp:10