Go to the documentation of this file.
42 ProfilerEntityBase(
source),
53 void ProfilerEntity::output(std::ostream& stream)
const
76 for (
const std::string& tag : tags)
91 memoryx::EntityAttributeBasePtr tags =
getAttribute(
"tags");
92 Ice::StringSeq tagStrings;
93 tagStrings.reserve(tags->size());
95 for (
int i = 0; i < tags->size(); i++)
97 tagStrings.push_back(tags->getValueAt(i)->getString());
The Variant class is described here: Variants.
void putAttribute(const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
Store attribute in entity.
EntityAttributeBasePtr getAttribute(const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
Retrieve attribute from entity.
void output(std::ostream &stream) const
Ice::StringSeq getTags(const Ice::Current &context=Ice::emptyCurrent) const override
void addTag(const std::string &tag, const Ice::Current &context=Ice::emptyCurrent) override
std::mutex attributesMutex
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
std::shared_mutex entityMutex
Attribute of MemoryX entities.
void setTags(const Ice::StringSeq &tags, const Ice::Current &context=Ice::emptyCurrent) override
std::shared_ptr< Object > ObjectPtr
Ice::ObjectPtr ice_clone() const override
~ProfilerEntity() override
std::recursive_mutex wrappersMutex
This file offers overloads of toIce() and fromIce() functions for STL container types.
ProfilerEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const