memory_conversions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
6 
7 #include "memory_definitions.h"
8 
9 namespace armarx::armem::wm
10 {
11  void toMemory(Memory& m, const std::vector<CoreSegment>& e);
12  void toMemory(Memory& m, const std::vector<ProviderSegment>& e);
13  void toMemory(Memory& m, const std::vector<Entity>& e);
14  void toMemory(Memory& m, const std::vector<EntitySnapshot>& e);
15 
16  /**
17  * @brief toMemory converts a vector of entity snapshots into a working memory and considers
18  * the structure of the memory before
19  * @param m the (empty) new memory
20  * @param structure the server working memory for structure information
21  * @param e the vector of entity snapshots
22  */
23  void toMemory(Memory& m,
24  const armarx::armem::server::wm::Memory& structure,
25  const std::vector<EntitySnapshot>& e);
26 
27  void toMemory(Memory& m, const std::vector<EntityInstance>& e);
28 } // namespace armarx::armem::wm
armarx::armem::wm::toMemory
void toMemory(Memory &m, const std::vector< CoreSegment > &e)
Definition: memory_conversions.cpp:6
memory_definitions.h
armarx::armem::wm
Definition: MemoryNameSystem.h:45
armarx::armem::server::wm::Memory
Definition: memory_definitions.h:122
memory_definitions.h