ice_conversions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "forward_declarations.h"
4 
5 
6 namespace armarx::armem
7 {
8 
9  void fromIce(const data::MemoryID& ice, MemoryID& id);
10  void toIce(data::MemoryID& ice, const MemoryID& id);
11 
12 
13  void fromIce(const data::Commit& ice, Commit& commit);
14  void toIce(data::Commit& ice, const Commit& commit);
15 
16  void fromIce(const data::CommitResult& ice, CommitResult& result);
17  void toIce(data::CommitResult& ice, const CommitResult& result);
18 
19 
20  void fromIce(const data::EntityUpdate& ice, EntityUpdate& update);
21  void toIce(data::EntityUpdate& ice, const EntityUpdate& update);
22 
23  void fromIce(const data::EntityUpdateResult& ice, EntityUpdateResult& result);
24  void toIce(data::EntityUpdateResult& ice, const EntityUpdateResult& result);
25 
26 
27  // Server-side conversion with specified arrival time.
28  void fromIce(const data::Commit& ice, Commit& commit, Time timeArrived);
29  void fromIce(const data::EntityUpdate& ice, EntityUpdate& update, Time timeArrived);
30 
31  void fromIce(const actions::data::MenuPtr& ice, actions::Menu& menu);
32  void toIce(actions::data::MenuPtr& ice, const actions::Menu& menu);
33 
34 }
35 
forward_declarations.h
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:31
armarx::armem::toIce
void toIce(data::MemoryID &ice, const MemoryID &id)
Definition: ice_conversions.cpp:21
armarx::armem::fromIce
void fromIce(const data::MemoryID &ice, MemoryID &id)
Definition: ice_conversions.cpp:31
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
armarx::armem::server::ltm::util::mongodb::detail::update
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Definition: mongodb.cpp:67
armarx::armem::actions::data::MenuPtr
::IceInternal::Handle< Menu > MenuPtr
Definition: forward_declarations.h:89
armarx::human::MemoryID
const armem::MemoryID MemoryID
Definition: memory_ids.cpp:29