GetLatestSnapshotMixin< DerivedT > Struct Template Reference

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

+ Inheritance diagram for GetLatestSnapshotMixin< DerivedT >:

Public Member Functions

auto & getLatestSnapshot (int snapshotIndex=0)
 Retrieve the latest entity snapshot. More...
const auto & getLatestSnapshot (int snapshotIndex=0) const

Detailed Description

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

Definition at line 188 of file lookup_mixins.h.

Member Function Documentation

◆ getLatestSnapshot() [1/2]

auto& getLatestSnapshot ( int  snapshotIndex = 0)

Retrieve the latest entity snapshot.

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

Definition at line 199 of file lookup_mixins.h.

+ Here is the caller graph for this function:

◆ getLatestSnapshot() [2/2]

const auto& getLatestSnapshot ( int  snapshotIndex = 0) const

Definition at line 211 of file lookup_mixins.h.

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