ProfilerEvent Class Reference

#include <MemoryX/libraries/memorytypes/entity/profiler/ProfilerEvent.h>

+ Inheritance diagram for ProfilerEvent:

Public Member Functions

ProfilerEntityPtr clone (const Ice::Current &c=Ice::emptyCurrent) const
 
std::string getEventName (const Ice::Current &c=Ice::emptyCurrent) const override
 
std::string getExecutableName (const Ice::Current &c=Ice::emptyCurrent) const override
 
std::string getFunctionName (const Ice::Current &c=Ice::emptyCurrent) const override
 
std::string getParentName (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::Int getPid (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::Int getTimestamp (const Ice::Current &c=Ice::emptyCurrent) const override
 
std::string getTimestampUnit (const Ice::Current &c=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
 ProfilerEvent ()
 
 ProfilerEvent (const armarx::ProfilerEvent &event)
 
 ProfilerEvent (const memoryx::ProfilerEvent &source)
 
void setEventName (const std::string &eventName, const Ice::Current &c=Ice::emptyCurrent) override
 
void setExecutableName (const std::string &executableName, const Ice::Current &c=Ice::emptyCurrent) override
 
void setFunctionName (const std::string &functionName, const Ice::Current &c=Ice::emptyCurrent) override
 
void setParentName (const std::string &parentName, const Ice::Current &c=Ice::emptyCurrent) override
 
void setPid (Ice::Int pid, const Ice::Current &c=Ice::emptyCurrent) override
 
void setProfilerEvent (const armarx::ProfilerEvent &event)
 
void setTimestamp (Ice::Int timestamp, const Ice::Current &c=Ice::emptyCurrent) override
 
void setTimestampUnit (const std::string &unit, const Ice::Current &c=Ice::emptyCurrent) override
 
 ~ProfilerEvent () override
 
- Public Member Functions inherited from ProfilerEntity
void addTag (const std::string &tag, const Ice::Current &context=Ice::emptyCurrent) override
 
ProfilerEntityPtr clone (const Ice::Current &c=Ice::emptyCurrent) const
 
Ice::StringSeq getTags (const Ice::Current &context=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
 ProfilerEntity ()
 
 ProfilerEntity (const ProfilerEntity &source)
 
void setTags (const Ice::StringSeq &tags, const Ice::Current &context=Ice::emptyCurrent) override
 
 ~ProfilerEntity () override
 
- Public Member Functions inherited from Entity
void __decRef () override
 
template<typename T >
IceInternal::Handle< TaddWrapper (T *wrapper)
 Add EntityWrapper to entity. More...
 
EntityPtr clone (const Ice::Current &c=Ice::emptyCurrent) const
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 Subclasses should use serializable attributes and consider these methods final. More...
 
bool equals (const EntityBasePtr &otherEntity, const ::Ice::Current &=Ice::emptyCurrent) const override
 equals computes if two Entity instances are equal. More...
 
bool equalsAttributes (const EntityBasePtr &otherEntity, const ::Ice::Current &=Ice::emptyCurrent) const override
 equalsAttributes computes if two Entity instances are equal. More...
 
virtual EntityRefBaseList getAllParentRefs (bool includeMetaEntities=true) const
 Retrieve all parents by traversing the whole hierarchy. More...
 
virtual std::vector< std::string > getAllParentsAsStringList () const
 
EntityAttributeBasePtr getAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve attribute from entity. More...
 
memoryx::NameList getAttributeNames (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve list of all attribute names. More...
 
virtual armarx::VariantPtr getAttributeValue (const ::std::string &attrName) const
 Retrieve value of an attribute from entity. More...
 
virtual EntityRefBaseList getDirectParentRefs () const
 Retrieve parent entity references. More...
 
::std::string getId (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve id of this entity which is an integer in string representation. More...
 
::std::string getName (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve name of this entity. More...
 
template<typename T >
IceInternal::Handle< TgetWrapper ()
 Retrieve EntityWrapper that has previously been added with Entity::addWrapper(). More...
 
bool hasAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
 Check whether this entity has an attribute with the given name. More...
 
Ice::ObjectPtr ice_clone () const override
 
bool isMetaEntity (const ::Ice::Current &=Ice::emptyCurrent) const override
 Indicates whether this entity only contains meta information. More...
 
void putAttribute (const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
 Store attribute in entity. More...
 
template<typename T >
void putAttribute (const std::string &attrName, T attrValue, ProbabilityMeasureBasePtr uncertainty=ProbabilityMeasureBasePtr())
 Create and store attribute from name, value, and optionally uncertainty measure. More...
 
void removeAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) override
 Remove attribute with given name from entity. More...
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 Subclasses should use serializable attributes and consider these methods final. More...
 
virtual void setDirectParentRefs (const EntityRefBaseList &entityRefs)
 Replace parent entity references. More...
 
void setId (const ::std::string &id, const ::Ice::Current &=Ice::emptyCurrent) override
 Set id of this entity. More...
 
void setMetaEntity (bool isMetaEntity, const ::Ice::Current &=Ice::emptyCurrent) override
 Mark this entity as meta (i.e. More...
 
void setName (const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) override
 Set name of this entity. More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const ProfilerEvent &rhs)
 
std::ostream & operator<< (std::ostream &stream, const ProfilerEventBasePtr &rhs)
 
std::ostream & operator<< (std::ostream &stream, const ProfilerEventPtr &rhs)
 

Additional Inherited Members

- Static Public Member Functions inherited from Entity
static EntityPtr CreateGenericEntity ()
 Creates an entity without any convenience getter/setter functions. More...
 
- Protected Member Functions inherited from Entity
 Entity ()
 
 Entity (const Entity &source)
 
void ice_postUnmarshal () override
 
void ice_preMarshal () override
 
void output (std::ostream &stream) const
 
 ~Entity () override
 
- Protected Attributes inherited from Entity
std::mutex attributesMutex
 
std::shared_mutex entityMutex
 
AbstractEntityWrapperBaseList wrappers
 
std::recursive_mutex wrappersMutex
 

Detailed Description

Definition at line 40 of file ProfilerEvent.h.

Constructor & Destructor Documentation

◆ ProfilerEvent() [1/3]

Definition at line 31 of file ProfilerEvent.cpp.

+ Here is the caller graph for this function:

◆ ProfilerEvent() [2/3]

ProfilerEvent ( const armarx::ProfilerEvent &  event)

Definition at line 38 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ ProfilerEvent() [3/3]

Definition at line 45 of file ProfilerEvent.cpp.

◆ ~ProfilerEvent()

~ProfilerEvent ( )
override

Definition at line 57 of file ProfilerEvent.cpp.

Member Function Documentation

◆ clone()

ProfilerEntityPtr clone ( const Ice::Current &  c = Ice::emptyCurrent) const

Definition at line 86 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEventName()

std::string getEventName ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 155 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getExecutableName()

std::string getExecutableName ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 119 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getFunctionName()

std::string getFunctionName ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 180 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getParentName()

std::string getParentName ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 168 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getPid()

Ice::Int getPid ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 107 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getTimestamp()

Ice::Int getTimestamp ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 131 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ getTimestampUnit()

std::string getTimestampUnit ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 143 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
override

Definition at line 80 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:

◆ setEventName()

void setEventName ( const std::string &  eventName,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 161 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setExecutableName()

void setExecutableName ( const std::string &  executableName,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 125 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setFunctionName()

void setFunctionName ( const std::string &  functionName,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 186 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setParentName()

void setParentName ( const std::string &  parentName,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 174 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPid()

void setPid ( Ice::Int  pid,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 113 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setProfilerEvent()

void setProfilerEvent ( const armarx::ProfilerEvent &  event)

Definition at line 95 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTimestamp()

void setTimestamp ( Ice::Int  timestamp,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 137 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTimestampUnit()

void setTimestampUnit ( const std::string &  unit,
const Ice::Current &  c = Ice::emptyCurrent 
)
override

Definition at line 149 of file ProfilerEvent.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<< [1/3]

std::ostream& operator<< ( std::ostream &  stream,
const ProfilerEvent rhs 
)
friend

Definition at line 79 of file ProfilerEvent.h.

◆ operator<< [2/3]

std::ostream& operator<< ( std::ostream &  stream,
const ProfilerEventBasePtr &  rhs 
)
friend

Definition at line 91 of file ProfilerEvent.h.

◆ operator<< [3/3]

std::ostream& operator<< ( std::ostream &  stream,
const ProfilerEventPtr rhs 
)
friend

Definition at line 85 of file ProfilerEvent.h.


The documentation for this class was generated from the following files: