ice_conversions.cpp
Go to the documentation of this file.
1 #include "ice_conversions.h"
2 
4 
5 
6 namespace armarx::armem::server
7 {
8 
10  {
11  base::toIce(ice, data);
12  }
14  {
15  base::fromIce(ice, data);
16  }
17 
18 
19  void wm::toIce(data::EntitySnapshot& ice, const EntitySnapshot& snapshot)
20  {
21  base::toIce(ice, snapshot);
22  }
23  void wm::fromIce(const data::EntitySnapshot& ice, EntitySnapshot& snapshot)
24  {
25  base::fromIce(ice, snapshot);
26  }
27 
28  void wm::toIce(data::Entity& ice, const Entity& entity)
29  {
30  base::toIce(ice, entity);
31  }
32  void wm::fromIce(const data::Entity& ice, Entity& entity)
33  {
34  base::fromIce(ice, entity);
35  }
36 
37  void wm::toIce(data::ProviderSegment& ice, const ProviderSegment& providerSegment)
38  {
39  base::toIce(ice, providerSegment);
40  }
41  void wm::fromIce(const data::ProviderSegment& ice, ProviderSegment& providerSegment)
42  {
43  base::fromIce(ice, providerSegment);
44  }
45 
46  void wm::toIce(data::CoreSegment& ice, const CoreSegment& coreSegment)
47  {
48  base::toIce(ice, coreSegment);
49  }
50  void wm::fromIce(const data::CoreSegment& ice, CoreSegment& coreSegment)
51  {
52  base::fromIce(ice, coreSegment);
53  }
54 
55  void wm::toIce(data::Memory& ice, const Memory& memory)
56  {
57  base::toIce(ice, memory);
58  }
59  void wm::fromIce(const data::Memory& ice, Memory& memory)
60  {
61  base::fromIce(ice, memory);
62  }
63 
64 }
ice_conversions.h
armarx::armem::server::wm::EntityInstance
armem::wm::EntityInstance EntityInstance
Definition: forward_declarations.h:64
armarx::armem::server::wm::fromIce
void fromIce(const data::EntityInstance &ice, EntityInstance &data)
Definition: ice_conversions.cpp:13
armarx::armem::wm::EntityInstance
Client-side working entity instance.
Definition: memory_definitions.h:32
armarx::armem::server::wm::Entity
Definition: memory_definitions.h:30
armarx::memory
Brief description of class memory.
Definition: memory.h:39
armarx::armem::server::wm::Memory
Definition: memory_definitions.h:136
armarx::armem::base::toIce
void toIce(data::EntityInstanceMetadata &ice, const EntityInstanceMetadata &metadata)
Definition: ice_conversions.cpp:56
armarx::armem::base::fromIce
void fromIce(const data::EntityInstanceMetadata &ice, EntityInstanceMetadata &metadata)
Definition: ice_conversions.cpp:65
armarx::armem::server::wm::toIce
void toIce(data::EntityInstance &ice, const EntityInstance &data)
Definition: ice_conversions.cpp:9
data
uint8_t data[1]
Definition: EtherCATFrame.h:68
armarx::armem::wm::EntitySnapshot
Client-side working memory entity snapshot.
Definition: memory_definitions.h:80
armarx::armem::server::wm::ProviderSegment
Definition: memory_definitions.h:60
armarx::armem::server
Definition: GraspMemory.cpp:19
armarx::armem::server::wm::CoreSegment
base::CoreSegmentBase
Definition: memory_definitions.h:86
armarx::armem::server::wm::EntitySnapshot
armem::wm::EntitySnapshot EntitySnapshot
Definition: forward_declarations.h:65