32 initializeAttributes();
37 initializeAttributes();
43 ::
armarx::Serializable(source),
45 ProfilerEntityBase(source),
46 ProfilerProcessBase(source),
57 ProfilerProcess::initializeAttributes()
105 return getAttribute(
"processName")->getValue()->getString();
129 return getAttribute(
"processCpuUsage")->getValue()->getDouble();
The Variant class is described here: Variants.
Attribute of MemoryX entities.
Entity is the superclass for all MemoryX memory chunks.
EntityAttributeBasePtr getAttribute(const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
Retrieve attribute from entity.
std::mutex attributesMutex
std::recursive_mutex wrappersMutex
void putAttribute(const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
Store attribute in entity.
std::shared_mutex entityMutex
std::string getProcessName(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::Double getProcessCpuUsage(const Ice::Current &c=Ice::emptyCurrent) const override
void setTimestamp(Ice::Int timestamp, const Ice::Current &c=Ice::emptyCurrent) override
void setProfilerProcess(const armarx::ProfilerProcessCpuUsage &process)
void setProcessCpuUsage(Ice::Double processCpuUsage, const Ice::Current &c=Ice::emptyCurrent) override
Ice::Int getPid(const Ice::Current &c=Ice::emptyCurrent) const override
ProfilerEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
Ice::ObjectPtr ice_clone() const override
~ProfilerProcess() override
void setPid(Ice::Int pid, const Ice::Current &c=Ice::emptyCurrent) override
void setProcessName(const std::string &processName, const Ice::Current &c=Ice::emptyCurrent) override
Ice::Int getTimestamp(const Ice::Current &c=Ice::emptyCurrent) const override
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< ProfilerProcess > ProfilerProcessPtr
IceInternal::Handle< ProfilerEntity > ProfilerEntityPtr