Go to the documentation of this file.
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;
52 const std::vector<aron::data::DictPtr>& instancesData,
53 Time referencedTime)
const;
56 data::CommitResult
commit(
const data::Commit&
commit)
const;
68 data::CommitResult _commit(data::Commit&
commit)
const;
72 server::WritingMemoryInterfacePrx
memory;
79 std::ostream&
operator<<(std::ostream& os,
const AddSegmentInput& rhs);
80 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsInput& rhs);
81 std::ostream&
operator<<(std::ostream& os,
const AddSegmentResult& rhs);
82 std::ostream&
operator<<(std::ostream& os,
const AddSegmentsResult& rhs);
data::AddSegmentResult addSegment(const std::string &coreSegmentName, const std::string &providerSegmentName, bool clearWhenExists=false) const
A bundle of updates to be sent to the memory.
Result of an EntityUpdate.
void setWritingMemory(server::WritingMemoryInterfacePrx memory)
This file is part of ArmarX.
Brief description of class memory.
std::ostream & operator<<(std::ostream &os, const AddSegmentInput &rhs)
data::AddSegmentsResult addSegments(const data::AddSegmentsInput &input) const
ReaderT::InputType & input
An update of an entity for a specific point in time.
Helps a memory client sending data to a memory.
CommitResult commit(const Commit &commit) const
Writes a Commit to the memory.
Writer(const Writer &)=default
Construct a memory writer.
bool update(mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update)
Represents a point in time.
const simox::meta::IntEnumNames names
server::WritingMemoryInterfacePrx memory