memory_conversions.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6
8
9namespace 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
Client-side working memory.
void toMemory(Memory &m, const std::vector< CoreSegment > &e)