|
|
Helps a memory client sending data to a memory. More...
#include <RobotAPI/libraries/armem/client/Writer.h>
Public Member Functions | |
| data::AddSegmentResult | addSegment (const data::AddSegmentInput &input) const |
| data::AddSegmentResult | addSegment (const MemoryID &providerSegmentID, bool clearWhenExists=false) const |
| data::AddSegmentResult | addSegment (const std::pair< std::string, std::string > &names, bool clearWhenExists=false) const |
| data::AddSegmentResult | addSegment (const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false) const |
| data::AddSegmentsResult | addSegments (const data::AddSegmentsInput &input) const |
| void | clearWorkingMemory () |
| Clears the servers working memory (uses the WM-Clear feature) More... | |
| CommitResult | commit (const Commit &commit) const |
Writes a Commit to the memory. More... | |
| data::CommitResult | commit (const data::Commit &commit) const |
| EntityUpdateResult | commit (const EntityUpdate &update) const |
| Commit a single entity update. More... | |
| EntityUpdateResult | commit (const MemoryID &entityID, const std::vector< aron::data::DictPtr > &instancesData, Time referencedTime, const std::string &origin) const |
| Commit a single entity update. More... | |
| operator bool () const | |
| void | setWritingMemory (server::WritingMemoryInterfacePrx memory) |
| Writer (const Writer &)=default | |
| Construct a memory writer. More... | |
| Writer (server::WritingMemoryInterfacePrx memory=nullptr) | |
Public Attributes | |
| server::WritingMemoryInterfacePrx | memory |
Helps a memory client sending data to a memory.
You can check whether the writer is ready using the bool operator:
| Writer | ( | server::WritingMemoryInterfacePrx | memory = nullptr | ) |
Definition at line 11 of file Writer.cpp.
| data::AddSegmentResult addSegment | ( | const data::AddSegmentInput & | input | ) | const |
| data::AddSegmentResult addSegment | ( | const MemoryID & | providerSegmentID, |
| bool | clearWhenExists = false |
||
| ) | const |
| data::AddSegmentResult addSegment | ( | const std::pair< std::string, std::string > & | names, |
| bool | clearWhenExists = false |
||
| ) | const |
Definition at line 36 of file Writer.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| data::AddSegmentResult addSegment | ( | const std::string & | coreSegmentName, |
| const std::string & | providerSegmentName, | ||
| bool | clearWhenExists = false |
||
| ) | const |
| data::AddSegmentsResult addSegments | ( | const data::AddSegmentsInput & | input | ) | const |
| void clearWorkingMemory | ( | ) |
Clears the servers working memory (uses the WM-Clear feature)
Definition at line 106 of file Writer.cpp.
| CommitResult commit | ( | const Commit & | commit | ) | const |
Writes a Commit to the memory.
Definition at line 59 of file Writer.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| data::CommitResult commit | ( | const data::Commit & | commit | ) | const |
| EntityUpdateResult commit | ( | const EntityUpdate & | update | ) | const |
Commit a single entity update.
Definition at line 82 of file Writer.cpp.
Here is the call graph for this function:| EntityUpdateResult commit | ( | const MemoryID & | entityID, |
| const std::vector< aron::data::DictPtr > & | instancesData, | ||
| Time | referencedTime, | ||
| const std::string & | origin | ||
| ) | const |
Commit a single entity update.
| origin | Identifier of the instances source (e.g. LTM identifier) |
Definition at line 93 of file Writer.cpp.
Here is the call graph for this function:| void setWritingMemory | ( | server::WritingMemoryInterfacePrx | memory | ) |