#include <RobotAPI/libraries/armem/core/base/detail/lookup_mixins.h>
template<class DerivedT>
struct armarx::armem::base::detail::GetFindInstanceMixin< DerivedT >
Definition at line 81 of file lookup_mixins.h.
◆ findInstance() [1/2]
auto* findInstance |
( |
const MemoryID & |
instanceID | ) |
|
|
inline |
Find an entity instance.
- Parameters
-
- Returns
- The instance or nullptr if it is missing.
Definition at line 119 of file lookup_mixins.h.
◆ findInstance() [2/2]
const auto* findInstance |
( |
const MemoryID & |
instanceID | ) |
const |
|
inline |
◆ getInstance() [1/2]
auto& getInstance |
( |
const MemoryID & |
instanceID | ) |
|
|
inline |
Retrieve an entity instance.
- Parameters
-
- Returns
- The instance if it is found.
- Exceptions
-
Definition at line 139 of file lookup_mixins.h.
◆ getInstance() [2/2]
const auto& getInstance |
( |
const MemoryID & |
instanceID | ) |
const |
|
inline |
◆ hasInstance()
bool hasInstance |
( |
const MemoryID & |
instanceID | ) |
const |
|
inline |
Indicate whether this container has an instance with the given ID.
- Parameters
-
instanceID | The instance ID. |
- Returns
- ... WIP
Definition at line 108 of file lookup_mixins.h.
◆ hasInstances()
bool hasInstances |
( |
| ) |
const |
|
inline |
Indicate whether this container contains at least one entity instance.
- Returns
- True if there is at least one entity instance.
Definition at line 90 of file lookup_mixins.h.
The documentation for this struct was generated from the following file: