GetLatestInstanceMixin< DerivedT > Struct Template Reference

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

+ Inheritance diagram for GetLatestInstanceMixin< DerivedT >:

Public Member Functions

auto & getLatestInstance (int instanceIndex=0)
 Retrieve the latest entity instance. More...
const auto & getLatestInstance (int instanceIndex=0) const

Detailed Description

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

Definition at line 152 of file lookup_mixins.h.

Member Function Documentation

◆ getLatestInstance() [1/2]

auto& getLatestInstance ( int  instanceIndex = 0)

Retrieve the latest entity instance.

instanceIndexThe instance's index in the latest snapshot.
The latest entity instance.
armem::error::ArMemErrorIf there is no entity instance.

Definition at line 163 of file lookup_mixins.h.

+ Here is the caller graph for this function:

◆ getLatestInstance() [2/2]

const auto& getLatestInstance ( int  instanceIndex = 0) const

Definition at line 175 of file lookup_mixins.h.

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