Go to the documentation of this file.
3 #include <RobotAPI/interface/armem/server/WritingMemoryInterface.h>
32 Writer(server::WritingMemoryInterfacePrx
memory =
nullptr);
35 data::AddSegmentResult
addSegment(
const std::string& coreSegmentName,
const std::string& providerSegmentName,
bool clearWhenExists =
false);
36 data::AddSegmentResult
addSegment(
const MemoryID& providerSegmentID,
bool clearWhenExists =
false);
37 data::AddSegmentResult
addSegment(
const std::pair<std::string, std::string>&
names,
bool clearWhenExists =
false);
51 const std::vector<aron::data::DictPtr>& instancesData,
68 data::CommitResult _commit(data::Commit&
commit);
73 server::WritingMemoryInterfacePrx
memory;
81 std::ostream&
operator<<(std::ostream& os,
const AddSegmentInput& rhs);
82 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsInput& rhs);
83 std::ostream&
operator<<(std::ostream& os,
const AddSegmentResult& rhs);
84 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsResult& rhs);
A bundle of updates to be sent to the memory.
Result of an EntityUpdate.
void setWritingMemory(server::WritingMemoryInterfacePrx memory)
data::AddSegmentResult addSegment(const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false)
std::ostream & operator<<(std::ostream &os, const AddSegmentInput &rhs)
CommitResult commit(const Commit &commit)
Writes a Commit to the memory.
ReaderT::InputType & input
An update of an entity for a specific point in time.
Helps a memory client sending data to a memory.
Writer(server::WritingMemoryInterfacePrx memory=nullptr)
Construct a memory writer.
Represents a point in time.
const simox::meta::IntEnumNames names
data::AddSegmentsResult addSegments(const data::AddSegmentsInput &input)
server::WritingMemoryInterfacePrx memory