37 ::
armarx::Serializable(source),
39 ProfilerEntityBase(source),
49 ProfilerEntity::output(std::ostream& stream)
const
72 for (
const std::string& tag : tags)
87 memoryx::EntityAttributeBasePtr tags =
getAttribute(
"tags");
88 Ice::StringSeq tagStrings;
89 tagStrings.reserve(tags->size());
91 for (
int i = 0; i < tags->size(); i++)
93 tagStrings.push_back(tags->getValueAt(i)->getString());
The Variant class is described here: Variants.
Attribute of MemoryX entities.
EntityAttributeBasePtr getAttribute(const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
Retrieve attribute from entity.
Entity(const Entity &source)
std::mutex attributesMutex
std::recursive_mutex wrappersMutex
void output(std::ostream &stream) const
void putAttribute(const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
Store attribute in entity.
std::shared_mutex entityMutex
void addTag(const std::string &tag, const Ice::Current &context=Ice::emptyCurrent) override
Ice::StringSeq getTags(const Ice::Current &context=Ice::emptyCurrent) const override
void setTags(const Ice::StringSeq &tags, const Ice::Current &context=Ice::emptyCurrent) override
ProfilerEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
~ProfilerEntity() override
Ice::ObjectPtr ice_clone() const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< ProfilerEntity > ProfilerEntityPtr