Go to the documentation of this file.
34 initializeAttributes();
39 initializeAttributes();
47 ProfilerEntityBase(
source),
48 ProfilerMemoryUsageBase(
source),
58 void ProfilerMemoryUsage::initializeAttributes()
82 setPid(memoryUsage.processId);
100 return getAttribute(
"processName")->getValue()->getString();
120 return getAttribute(
"memoryUsage")->getValue()->getInt();
The Variant class is described here: Variants.
std::string getProcessName(const Ice::Current &c=Ice::emptyCurrent) const override
ReaderT::InputType T & ret
ProfilerEntityPtr clone(const Ice::Current &c=Ice::emptyCurrent) const
void putAttribute(const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
Store attribute in entity.
void setMemoryUsage(Ice::Int memoryUsage, const Ice::Current &c=Ice::emptyCurrent) override
Ice::Int getPid(const Ice::Current &c=Ice::emptyCurrent) const override
EntityAttributeBasePtr getAttribute(const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
Retrieve attribute from entity.
Ice::ObjectPtr ice_clone() const override
void setProcessName(const std::string &processName, const Ice::Current &c=Ice::emptyCurrent) override
void setProfilerMemoryUsage(const armarx::ProfilerProcessMemoryUsage &memoryUsage)
Ice::Int getTimestamp(const Ice::Current &c=Ice::emptyCurrent) const override
Ice::Int getMemoryUsage(const Ice::Current &c=Ice::emptyCurrent) const override
std::mutex attributesMutex
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
void setPid(Ice::Int pid, const Ice::Current &c=Ice::emptyCurrent) override
std::shared_mutex entityMutex
void setTimestamp(Ice::Int timestamp, const Ice::Current &c=Ice::emptyCurrent) override
Attribute of MemoryX entities.
std::shared_ptr< Object > ObjectPtr
~ProfilerMemoryUsage() override
std::recursive_mutex wrappersMutex
This file offers overloads of toIce() and fromIce() functions for STL container types.