GetFindProviderSegmentMixin< DerivedT > Struct Template Reference

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

Public Member Functions

auto * findProviderSegment (const MemoryID &providerSegmentID)
 Retrieve a provider segment. More...
 
const auto * findProviderSegment (const MemoryID &providerSegmentID) const
 
auto & getProviderSegment (const MemoryID &providerSegmentID)
 Retrieve a provider segment. More...
 
const auto & getProviderSegment (const MemoryID &providerSegmentID) const
 
bool hasProviderSegment (const MemoryID &providerSegmentID) const
 

Detailed Description

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

Definition at line 458 of file lookup_mixins.h.

Member Function Documentation

◆ findProviderSegment() [1/2]

auto* findProviderSegment ( const MemoryID providerSegmentID)
inline

Retrieve a provider segment.

Parameters
idThe provider segment ID.
Returns
The provider segment if it is found or nullptr if it missing.

Definition at line 474 of file lookup_mixins.h.

+ Here is the caller graph for this function:

◆ findProviderSegment() [2/2]

const auto* findProviderSegment ( const MemoryID providerSegmentID) const
inline

Definition at line 481 of file lookup_mixins.h.

◆ getProviderSegment() [1/2]

auto& getProviderSegment ( const MemoryID providerSegmentID)
inline

Retrieve a provider segment.

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

Definition at line 494 of file lookup_mixins.h.

+ Here is the caller graph for this function:

◆ getProviderSegment() [2/2]

const auto& getProviderSegment ( const MemoryID providerSegmentID) const
inline

Definition at line 502 of file lookup_mixins.h.

◆ hasProviderSegment()

bool hasProviderSegment ( const MemoryID providerSegmentID) const
inline

Definition at line 463 of file lookup_mixins.h.

+ Here is the caller graph for this function:

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