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.
 
const auto & getLatestSnapshot (int snapshotIndex=0) const
 

Member Function Documentation

◆ getLatestSnapshot() [1/2]

template<class DerivedT>
auto & getLatestSnapshot ( int snapshotIndex = 0)
inline

Retrieve the latest entity snapshot.

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

◆ getLatestSnapshot() [2/2]

template<class DerivedT>
const auto & getLatestSnapshot ( int snapshotIndex = 0) const
inline

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