Go to the documentation of this file.
34 initializeAttributes();
39 initializeAttributes();
47 ProfilerEntityBase(
source),
48 ProfilerProcessBase(
source),
58 void ProfilerProcess::initializeAttributes()
100 return getAttribute(
"processName")->getValue()->getString();
120 return getAttribute(
"processCpuUsage")->getValue()->getDouble();
The Variant class is described here: Variants.
ReaderT::InputType T & ret
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 setTimestamp(Ice::Int timestamp, const Ice::Current &c=Ice::emptyCurrent) override
void setProcessCpuUsage(Ice::Double processCpuUsage, const Ice::Current &c=Ice::emptyCurrent) override
Ice::Int getTimestamp(const Ice::Current &c=Ice::emptyCurrent) const override
const VariantTypeId Double
void setPid(Ice::Int pid, const Ice::Current &c=Ice::emptyCurrent) override
void setProfilerProcess(const armarx::ProfilerProcessCpuUsage &process)
std::string getProcessName(const Ice::Current &c=Ice::emptyCurrent) const override
std::mutex attributesMutex
Ice::ObjectPtr ice_clone() const override
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
std::shared_mutex entityMutex
Ice::Int getPid(const Ice::Current &c=Ice::emptyCurrent) const override
~ProfilerProcess() override
Attribute of MemoryX entities.
void setProcessName(const std::string &processName, const Ice::Current &c=Ice::emptyCurrent) override
std::shared_ptr< Object > ObjectPtr
ProfilerEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
std::recursive_mutex wrappersMutex
Ice::Double getProcessCpuUsage(const Ice::Current &c=Ice::emptyCurrent) const override
This file offers overloads of toIce() and fromIce() functions for STL container types.