ProfilerTransition Class Reference

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

+ Inheritance diagram for ProfilerTransition:

Public Member Functions

ProfilerTransitionPtr clone (const Ice::Current &c=Ice::emptyCurrent) const
 
Ice::Int getCount (const Ice::Current &context=Ice::emptyCurrent) const override
 
std::string getParentStateName (const Ice::Current &context=Ice::emptyCurrent) const override
 
EntityRefBasePtr getSourceStateMemorySnapshotRef (const Ice::Current &context=Ice::emptyCurrent) const override
 
std::string getSourceStateName (const Ice::Current &context=Ice::emptyCurrent) const override
 
EntityRefBasePtr getTargetStateMemorySnapshotRef (const Ice::Current &context=Ice::emptyCurrent) const override
 
std::string getTargetStateName (const Ice::Current &context=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
bool memorySnapshotIdsEqual (const std::string &sourceSnapshotID, const std::string &targetSnapshotID)
 equalsMemorySnapshotIDs returns true if the ProfilerMemorySnapshot IDs asssocited with this transition are equal to the passed in parameters.
 
 ProfilerTransition ()
 
 ProfilerTransition (const ProfilerTransition &source)
 
 ProfilerTransition (const std::string &parentStateName, const std::string &sourceStateName, const std::string &targetStateName, const EntityRefBasePtr &sourceStateMemorySnapshotRef, const EntityRefBasePtr &targetStateMemorySnapshotRef, Ice::Int count)
 
void setCount (Ice::Int count, const Ice::Current &context=Ice::emptyCurrent) override
 
void setParentStateName (const std::string &statename, const Ice::Current &context=Ice::emptyCurrent) override
 
void setSourceStateMemorySnapshotRef (const EntityRefBasePtr &memorySnapshotRef, const Ice::Current &context=Ice::emptyCurrent) override
 
void setSourceStateName (const std::string &statename, const Ice::Current &context=Ice::emptyCurrent) override
 
void setTargetStateMemorySnapshotRef (const EntityRefBasePtr &memorySnapshotRef, const Ice::Current &context=Ice::emptyCurrent) override
 
void setTargetStateName (const std::string &statename, const Ice::Current &context=Ice::emptyCurrent) override
 
 ~ProfilerTransition () 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.
 
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.
 
bool equals (const EntityBasePtr &otherEntity, const ::Ice::Current &=Ice::emptyCurrent) const override
 equals computes if two Entity instances are equal.
 
bool equalsAttributes (const EntityBasePtr &otherEntity, const ::Ice::Current &=Ice::emptyCurrent) const override
 equalsAttributes computes if two Entity instances are equal.
 
virtual EntityRefBaseList getAllParentRefs (bool includeMetaEntities=true) const
 Retrieve all parents by traversing the whole hierarchy.
 
virtual std::vector< std::string > getAllParentsAsStringList () const
 
EntityAttributeBasePtr getAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve attribute from entity.
 
memoryx::NameList getAttributeNames (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve list of all attribute names.
 
virtual armarx::VariantPtr getAttributeValue (const ::std::string &attrName) const
 Retrieve value of an attribute from entity.
 
virtual EntityRefBaseList getDirectParentRefs () const
 Retrieve parent entity references.
 
::std::string getId (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve id of this entity which is an integer in string representation.
 
::std::string getName (const ::Ice::Current &=Ice::emptyCurrent) const override
 Retrieve name of this entity.
 
template<typename T>
IceInternal::Handle< TgetWrapper ()
 Retrieve EntityWrapper that has previously been added with Entity::addWrapper().
 
bool hasAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) const override
 Check whether this entity has an attribute with the given name.
 
Ice::ObjectPtr ice_clone () const override
 
bool isMetaEntity (const ::Ice::Current &=Ice::emptyCurrent) const override
 Indicates whether this entity only contains meta information.
 
void putAttribute (const ::memoryx::EntityAttributeBasePtr &attr, const ::Ice::Current &=Ice::emptyCurrent) override
 Store attribute in entity.
 
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.
 
void removeAttribute (const ::std::string &attrName, const ::Ice::Current &=Ice::emptyCurrent) override
 Remove attribute with given name from entity.
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 Subclasses should use serializable attributes and consider these methods final.
 
virtual void setDirectParentRefs (const EntityRefBaseList &entityRefs)
 Replace parent entity references.
 
void setId (const ::std::string &id, const ::Ice::Current &=Ice::emptyCurrent) override
 Set id of this entity.
 
void setMetaEntity (bool isMetaEntity, const ::Ice::Current &=Ice::emptyCurrent) override
 Mark this entity as meta (i.e.
 
void setName (const ::std::string &name, const ::Ice::Current &=Ice::emptyCurrent) override
 Set name of this entity.
 

Friends

std::ostream & operator<< (std::ostream &stream, const ProfilerTransition &rhs)
 
std::ostream & operator<< (std::ostream &stream, const ProfilerTransitionBasePtr &rhs)
 
std::ostream & operator<< (std::ostream &stream, const ProfilerTransitionPtr &rhs)
 

Additional Inherited Members

- Static Public Member Functions inherited from Entity
static EntityPtr CreateGenericEntity ()
 Creates an entity without any convenience getter/setter functions.
 
- 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 38 of file ProfilerTransition.h.

Constructor & Destructor Documentation

◆ ProfilerTransition() [1/3]

Definition at line 32 of file ProfilerTransition.cpp.

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

◆ ProfilerTransition() [2/3]

ProfilerTransition ( const std::string & parentStateName,
const std::string & sourceStateName,
const std::string & targetStateName,
const EntityRefBasePtr & sourceStateMemorySnapshotRef,
const EntityRefBasePtr & targetStateMemorySnapshotRef,
Ice::Int count )

Definition at line 43 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ ProfilerTransition() [3/3]

Definition at line 59 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ ~ProfilerTransition()

~ProfilerTransition ( )
override

Definition at line 70 of file ProfilerTransition.cpp.

Member Function Documentation

◆ clone()

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

Definition at line 98 of file ProfilerTransition.cpp.

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

◆ getCount()

Ice::Int getCount ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 173 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ getParentStateName()

std::string getParentStateName ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 107 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ getSourceStateMemorySnapshotRef()

EntityRefBasePtr getSourceStateMemorySnapshotRef ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 147 of file ProfilerTransition.cpp.

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

◆ getSourceStateName()

std::string getSourceStateName ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 121 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ getTargetStateMemorySnapshotRef()

EntityRefBasePtr getTargetStateMemorySnapshotRef ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 160 of file ProfilerTransition.cpp.

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

◆ getTargetStateName()

std::string getTargetStateName ( const Ice::Current & context = Ice::emptyCurrent) const
override

Definition at line 134 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
override

Definition at line 92 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ memorySnapshotIdsEqual()

bool memorySnapshotIdsEqual ( const std::string & sourceSnapshotID,
const std::string & targetSnapshotID )

equalsMemorySnapshotIDs returns true if the ProfilerMemorySnapshot IDs asssocited with this transition are equal to the passed in parameters.

Parameters
sourceSnapshotID
targetSnapshotID
Returns

Definition at line 185 of file ProfilerTransition.cpp.

+ Here is the call graph for this function:

◆ setCount()

void setCount ( Ice::Int count,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 179 of file ProfilerTransition.cpp.

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

◆ setParentStateName()

void setParentStateName ( const std::string & statename,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 113 of file ProfilerTransition.cpp.

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

◆ setSourceStateMemorySnapshotRef()

void setSourceStateMemorySnapshotRef ( const EntityRefBasePtr & memorySnapshotRef,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 153 of file ProfilerTransition.cpp.

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

◆ setSourceStateName()

void setSourceStateName ( const std::string & statename,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 127 of file ProfilerTransition.cpp.

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

◆ setTargetStateMemorySnapshotRef()

void setTargetStateMemorySnapshotRef ( const EntityRefBasePtr & memorySnapshotRef,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 166 of file ProfilerTransition.cpp.

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

◆ setTargetStateName()

void setTargetStateName ( const std::string & statename,
const Ice::Current & context = Ice::emptyCurrent )
override

Definition at line 140 of file ProfilerTransition.cpp.

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

Friends And Related Symbol Documentation

◆ operator<< [1/3]

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

Definition at line 102 of file ProfilerTransition.h.

◆ operator<< [2/3]

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

Definition at line 116 of file ProfilerTransition.h.

◆ operator<< [3/3]

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

Definition at line 109 of file ProfilerTransition.h.


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