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