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);
37 bool clearWhenExists =
false);
38 data::AddSegmentResult
addSegment(
const std::pair<std::string, std::string>&
names,
39 bool clearWhenExists =
false);
52 const std::vector<aron::data::DictPtr>& instancesData,
68 data::CommitResult _commit(data::Commit&
commit);
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);
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)
This file is part of ArmarX.
Brief description of class memory.
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(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
data::AddSegmentsResult addSegments(const data::AddSegmentsInput &input)
server::WritingMemoryInterfacePrx memory