|
Helps connecting a Memory server to the Ice interface. More...
#include <RobotAPI/libraries/armem/server/MemoryToIceAdapter.h>
Public Member Functions | |
data::AddSegmentResult | addSegment (const data::AddSegmentInput &input, bool addCoreSegments=false) |
data::AddSegmentsResult | addSegments (const data::AddSegmentsInput &input, bool addCoreSegments=false) |
armem::CommitResult | commit (const armem::Commit &commit) |
data::CommitResult | commit (const data::Commit &commitIce) |
data::CommitResult | commit (const data::Commit &commitIce, Time timeArrived) |
armem::CommitResult | commitLocking (const armem::Commit &commit) |
data::CommitResult | commitLocking (const data::Commit &commitIce) |
data::CommitResult | commitLocking (const data::Commit &commitIce, Time timeArrived) |
dto::DirectlyStoreResult | directlyStore (const dto::DirectlyStoreInput &directlStoreInput) |
prediction::data::EngineSupportMap | getAvailableEngines () |
dto::RecordStatusResult | getRecordStatus () |
armem::structure::data::GetServerStructureResult | getServerStructure () |
MemoryToIceAdapter (server::wm::Memory *workingMemory=nullptr, server::ltm::Memory *longtermMemory=nullptr) | |
Construct an MemoryToIceAdapter from an existing Memory. More... | |
prediction::data::PredictionResultSeq | predict (prediction::data::PredictionRequestSeq requests) |
query::data::Result | query (const armem::query::data::Input &input) |
client::QueryResult | query (const client::QueryInput &input) |
armem::CommitResult | reloadFromLTM () |
void | setMemoryListener (client::MemoryListenerInterfacePrx memoryListenerTopic) |
dto::StartRecordResult | startRecord (const dto::StartRecordInput &startRecordInput) |
dto::StopRecordResult | stopRecord () |
Public Attributes | |
server::ltm::Memory * | longtermMemory |
client::MemoryListenerInterfacePrx | memoryListenerTopic |
server::wm::Memory * | workingMemory |
Helps connecting a Memory server to the Ice interface.
This involves conversion of ice types to C++ types as well as catchin exceptions and converting them to error messages
Definition at line 19 of file MemoryToIceAdapter.h.
MemoryToIceAdapter | ( | server::wm::Memory * | workingMemory = nullptr , |
server::ltm::Memory * | longtermMemory = nullptr |
||
) |
Construct an MemoryToIceAdapter from an existing Memory.
Definition at line 27 of file MemoryToIceAdapter.cpp.
data::AddSegmentResult addSegment | ( | const data::AddSegmentInput & | input, |
bool | addCoreSegments = false |
||
) |
Definition at line 41 of file MemoryToIceAdapter.cpp.
data::AddSegmentsResult addSegments | ( | const data::AddSegmentsInput & | input, |
bool | addCoreSegments = false |
||
) |
Definition at line 101 of file MemoryToIceAdapter.cpp.
armem::CommitResult commit | ( | const armem::Commit & | commit | ) |
data::CommitResult commit | ( | const data::Commit & | commitIce | ) |
data::CommitResult commit | ( | const data::Commit & | commitIce, |
Time | timeArrived | ||
) |
Definition at line 115 of file MemoryToIceAdapter.cpp.
armem::CommitResult commitLocking | ( | const armem::Commit & | commit | ) |
data::CommitResult commitLocking | ( | const data::Commit & | commitIce | ) |
data::CommitResult commitLocking | ( | const data::Commit & | commitIce, |
Time | timeArrived | ||
) |
Definition at line 166 of file MemoryToIceAdapter.cpp.
dto::DirectlyStoreResult directlyStore | ( | const dto::DirectlyStoreInput & | directlStoreInput | ) |
Definition at line 423 of file MemoryToIceAdapter.cpp.
prediction::data::EngineSupportMap getAvailableEngines | ( | ) |
Definition at line 520 of file MemoryToIceAdapter.cpp.
dto::RecordStatusResult getRecordStatus | ( | ) |
Definition at line 480 of file MemoryToIceAdapter.cpp.
armem::structure::data::GetServerStructureResult getServerStructure | ( | ) |
Definition at line 357 of file MemoryToIceAdapter.cpp.
prediction::data::PredictionResultSeq predict | ( | prediction::data::PredictionRequestSeq | requests | ) |
Definition at line 512 of file MemoryToIceAdapter.cpp.
armem::query::data::Result query | ( | const armem::query::data::Input & | input | ) |
Definition at line 291 of file MemoryToIceAdapter.cpp.
client::QueryResult query | ( | const client::QueryInput & | input | ) |
armem::CommitResult reloadFromLTM | ( | ) |
Definition at line 388 of file MemoryToIceAdapter.cpp.
void setMemoryListener | ( | client::MemoryListenerInterfacePrx | memoryListenerTopic | ) |
dto::StartRecordResult startRecord | ( | const dto::StartRecordInput & | startRecordInput | ) |
Definition at line 438 of file MemoryToIceAdapter.cpp.
dto::StopRecordResult stopRecord | ( | ) |
Definition at line 452 of file MemoryToIceAdapter.cpp.
server::ltm::Memory* longtermMemory |
Definition at line 66 of file MemoryToIceAdapter.h.
client::MemoryListenerInterfacePrx memoryListenerTopic |
Definition at line 68 of file MemoryToIceAdapter.h.
server::wm::Memory* workingMemory |
Definition at line 65 of file MemoryToIceAdapter.h.