memoryx::ObjectMemoryObserverInterface
Overview
Operation Index
- requestObjectClassOnce
-
- requestObjectClassRepeated
-
- releaseObjectClass
-
- getObjectInstances
-
- getObjectInstancesByClass
-
- getFirstObjectInstance
-
@brief Convenience for function getObjectInstances().
- getObjectInstanceById
-
- getFirstObjectInstanceByClass
-
@brief Convenience for function getFirstObjectInstanceByClass().
- getInstanceChannelName
-
Operations
::armarx::ChannelRefBase requestObjectClassOnce(string objectClassName, optional(1) int priority)
::armarx::ChannelRefBase requestObjectClassRepeated(string objectClassName, int cycleTimeMS, optional(1) int priority)
ChannelRefBaseSequence getObjectInstancesByClass(string objectClassName)
@brief Convenience for function getObjectInstances(). Directly returns the first instance.
Parameters
- channel
-
Channel of the object class
Return Value
Returns the first instance of the list getObjectInstances() returns. Null if list is empty.
::armarx::ChannelRefBase getFirstObjectInstanceByClass(string objectClassName)
@brief Convenience for function getFirstObjectInstanceByClass(). Directly returns the first instance.
Parameters
- objectClassName
-
Name of the object class
Return Value
Returns the first instance of the list getFirstObjectInstanceByClass() returns. Null if list is empty.
string getInstanceChannelName(EntityBase objectInstanceEntity)