ice_conversions.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace armarx::armem
6{
7
8 void fromIce(const data::MemoryID& ice, MemoryID& id);
9 void toIce(data::MemoryID& ice, const MemoryID& id);
10
11
12 void fromIce(const data::Commit& ice, Commit& commit);
13 void toIce(data::Commit& ice, const Commit& commit);
14
15 void fromIce(const data::CommitResult& ice, CommitResult& result);
16 void toIce(data::CommitResult& ice, const CommitResult& result);
17
18
19 void fromIce(const data::EntityUpdate& ice, EntityUpdate& update);
20 void toIce(data::EntityUpdate& ice, const EntityUpdate& update);
21
22 void fromIce(const data::EntityUpdateResult& ice, EntityUpdateResult& result);
23 void toIce(data::EntityUpdateResult& ice, const EntityUpdateResult& result);
24
25
26 // Server-side conversion with specified arrival time.
27 void fromIce(const data::Commit& ice, Commit& commit, Time timeArrived);
28 void fromIce(const data::EntityUpdate& ice, EntityUpdate& update, Time timeArrived);
29
30 void fromIce(const actions::data::MenuPtr& ice, actions::Menu& menu);
31 void toIce(actions::data::MenuPtr& ice, const actions::Menu& menu);
32
33} // namespace armarx::armem
::IceInternal::Handle< Menu > MenuPtr
void fromIce(const data::MemoryID &ice, MemoryID &id)
armarx::core::time::DateTime Time
void toIce(data::MemoryID &ice, const MemoryID &id)
Result of a Commit.
Definition Commit.h:111
A bundle of updates to be sent to the memory.
Definition Commit.h:90
Result of an EntityUpdate.
Definition Commit.h:75
An update of an entity for a specific point in time.
Definition Commit.h:26