Helps a memory client sending data to a memory.
More...
#include <RobotAPI/libraries/armem/client/Writer.h>
|
| server::WritingMemoryInterfacePrx | memory |
| |
Helps a memory client sending data to a memory.
You can check whether the writer is ready using the bool operator:
...
if (writer)
{
writer.commit(...);
}
Helps a memory client sending data to a memory.
Definition at line 22 of file Writer.h.
◆ Writer() [1/2]
Construct a memory writer.
- Parameters
-
◆ Writer() [2/2]
| Writer |
( |
server::WritingMemoryInterfacePrx | memory = nullptr | ) |
|
◆ addSegment() [1/4]
| data::AddSegmentResult addSegment |
( |
const data::AddSegmentInput & | input | ) |
const |
◆ addSegment() [2/4]
| data::AddSegmentResult addSegment |
( |
const MemoryID & | providerSegmentID, |
|
|
bool | clearWhenExists = false ) const |
◆ addSegment() [3/4]
| data::AddSegmentResult addSegment |
( |
const std::pair< std::string, std::string > & | names, |
|
|
bool | clearWhenExists = false ) const |
◆ addSegment() [4/4]
| data::AddSegmentResult addSegment |
( |
const std::string & | coreSegmentName, |
|
|
const std::string & | providerSegmentName, |
|
|
bool | clearWhenExists = false ) const |
◆ addSegments()
| data::AddSegmentsResult addSegments |
( |
const data::AddSegmentsInput & | input | ) |
const |
◆ clearWorkingMemory()
| void clearWorkingMemory |
( |
| ) |
|
Clears the servers working memory (uses the WM-Clear feature)
Definition at line 115 of file Writer.cpp.
◆ commit() [1/4]
◆ commit() [2/4]
| data::CommitResult commit |
( |
const data::Commit & | commit | ) |
const |
◆ commit() [3/4]
◆ commit() [4/4]
Commit a single entity update.
- Parameters
-
| origin | Identifier of the instances source (e.g. LTM identifier) |
Definition at line 102 of file Writer.cpp.
◆ operator bool()
◆ setWritingMemory()
| void setWritingMemory |
( |
server::WritingMemoryInterfacePrx | memory | ) |
|
◆ memory
| server::WritingMemoryInterfacePrx memory |
The documentation for this class was generated from the following files: