GetFindEntityMixin< DerivedT > Struct Template Reference

#include <RobotAPI/libraries/armem/core/base/detail/lookup_mixins.h>

+ Inheritance diagram for GetFindEntityMixin< DerivedT >:

Public Member Functions

auto * findEntity (const MemoryID &entityID)
 Find an entity.
 
const auto * findEntity (const MemoryID &entityID) const
 
auto & getEntity (const MemoryID &entityID)
 Retrieve an entity.
 
const auto & getEntity (const MemoryID &entityID) const
 
bool hasEntity (const MemoryID &entityID) const
 

Detailed Description

template<class DerivedT>
struct armarx::armem::base::detail::GetFindEntityMixin< DerivedT >

Definition at line 409 of file lookup_mixins.h.

Member Function Documentation

◆ findEntity() [1/2]

template<class DerivedT>
auto * findEntity ( const MemoryID & entityID)
inline

Find an entity.

Parameters
idThe entity ID.
Returns
The entity or nullptr if it is missing.

Definition at line 425 of file lookup_mixins.h.

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

◆ findEntity() [2/2]

template<class DerivedT>
const auto * findEntity ( const MemoryID & entityID) const
inline

Definition at line 432 of file lookup_mixins.h.

+ Here is the call graph for this function:

◆ getEntity() [1/2]

template<class DerivedT>
auto & getEntity ( const MemoryID & entityID)
inline

Retrieve an entity.

Parameters
idThe entity ID.
Returns
The entity if it is found.
Exceptions
armem::error::ArMemErrorif it is missing.

Definition at line 445 of file lookup_mixins.h.

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

◆ getEntity() [2/2]

template<class DerivedT>
const auto & getEntity ( const MemoryID & entityID) const
inline

Definition at line 451 of file lookup_mixins.h.

+ Here is the call graph for this function:

◆ hasEntity()

template<class DerivedT>
bool hasEntity ( const MemoryID & entityID) const
inline

Definition at line 414 of file lookup_mixins.h.

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: