3#include <RobotAPI/interface/armem/server/WritingMemoryInterface.h>
30 Writer(server::WritingMemoryInterfacePrx
memory =
nullptr);
33 data::AddSegmentResult
addSegment(
const std::string& coreSegmentName,
34 const std::string& providerSegmentName,
35 bool clearWhenExists =
false)
const;
37 bool clearWhenExists =
false)
const;
38 data::AddSegmentResult
addSegment(
const std::pair<std::string, std::string>& names,
39 bool clearWhenExists =
false)
const;
40 data::AddSegmentResult
addSegment(
const data::AddSegmentInput& input)
const;
41 data::AddSegmentsResult
addSegments(
const data::AddSegmentsInput& input)
const;
56 const std::vector<aron::data::DictPtr>& instancesData,
58 const std::string& origin)
const;
61 data::CommitResult
commit(
const data::Commit&
commit)
const;
78 data::CommitResult _commit(data::Commit&
commit)
const;
82 server::WritingMemoryInterfacePrx
memory;
89 std::ostream&
operator<<(std::ostream& os,
const AddSegmentInput& rhs);
90 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsInput& rhs);
91 std::ostream&
operator<<(std::ostream& os,
const AddSegmentResult& rhs);
92 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsResult& rhs);
void clearWorkingMemory()
Clears the servers working memory (uses the WM-Clear feature)
server::WritingMemoryInterfacePrx memory
void setWritingMemory(server::WritingMemoryInterfacePrx memory)
data::AddSegmentResult addSegment(const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false) const
Writer(const Writer &)=default
Construct a memory writer.
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
data::AddSegmentsResult addSegments(const data::AddSegmentsInput &input) const
This file is part of ArmarX.
std::ostream & operator<<(std::ostream &os, const AddSegmentInput &rhs)
armarx::core::time::DateTime Time
A bundle of updates to be sent to the memory.
Result of an EntityUpdate.
An update of an entity for a specific point in time.