Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > Struct Template Reference

Detailed Description

template<class SELECTED_CLASS_PTR, class CONTAINER>
struct mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >

A proxy like ProxyFilterContainerByClass, but it directly appears as if it was a single smart pointer (empty if no matching object is found in the container)

Definition at line 281 of file CMultiMetricMap.h.

#include <mrpt/maps/CMultiMetricMap.h>

Inheritance diagram for mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >:
Inheritance graph

Public Types

using pointee_t = typename SELECTED_CLASS_PTR::element_type
 
using ptr_t = typename SELECTED_CLASS_PTR::element_type *
 
using const_ptr_t = const typename SELECTED_CLASS_PTR::element_type *
 

Public Member Functions

 ProxySelectorContainerByClass (CONTAINER &source)
 
 ProxySelectorContainerByClass (ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &)
 
ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > & operator= (const ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &o)
 
 ProxySelectorContainerByClass (ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &&)
 
ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > & operator= (ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &&o)
 
 operator const SELECTED_CLASS_PTR & () const
 
 operator bool () const
 
ptr_t get ()
 
ptr_t operator-> () const
 
pointee_toperator* () const
 

Private Member Functions

void internal_update_ref () const
 

Private Attributes

CONTAINER * m_source
 
SELECTED_CLASS_PTR m_ret
 

Member Typedef Documentation

◆ const_ptr_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
using mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::const_ptr_t = const typename SELECTED_CLASS_PTR::element_type*

Definition at line 285 of file CMultiMetricMap.h.

◆ pointee_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
using mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::pointee_t = typename SELECTED_CLASS_PTR::element_type

Definition at line 283 of file CMultiMetricMap.h.

◆ ptr_t

template<class SELECTED_CLASS_PTR, class CONTAINER>
using mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ptr_t = typename SELECTED_CLASS_PTR::element_type*

Definition at line 284 of file CMultiMetricMap.h.

Constructor & Destructor Documentation

◆ ProxySelectorContainerByClass() [1/3]

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ProxySelectorContainerByClass ( CONTAINER &  source)
inline

Definition at line 286 of file CMultiMetricMap.h.

◆ ProxySelectorContainerByClass() [2/3]

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ProxySelectorContainerByClass ( ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &  )
inline

Definition at line 287 of file CMultiMetricMap.h.

◆ ProxySelectorContainerByClass() [3/3]

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::ProxySelectorContainerByClass ( ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &&  )
inline

Definition at line 298 of file CMultiMetricMap.h.

Member Function Documentation

◆ get()

template<class SELECTED_CLASS_PTR, class CONTAINER>
ptr_t mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::get ( )
inline

Definition at line 319 of file CMultiMetricMap.h.

◆ internal_update_ref()

template<class SELECTED_CLASS_PTR, class CONTAINER>
void mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::internal_update_ref ( ) const
inlineprivate

◆ operator bool()

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator bool ( ) const
inlineexplicit

Definition at line 314 of file CMultiMetricMap.h.

◆ operator const SELECTED_CLASS_PTR &()

template<class SELECTED_CLASS_PTR, class CONTAINER>
mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator const SELECTED_CLASS_PTR & ( ) const
inline

Definition at line 309 of file CMultiMetricMap.h.

◆ operator*()

template<class SELECTED_CLASS_PTR, class CONTAINER>
pointee_t& mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator* ( void  ) const
inline

Definition at line 332 of file CMultiMetricMap.h.

◆ operator->()

template<class SELECTED_CLASS_PTR, class CONTAINER>
ptr_t mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator-> ( ) const
inline

Definition at line 324 of file CMultiMetricMap.h.

◆ operator=() [1/2]

template<class SELECTED_CLASS_PTR, class CONTAINER>
ProxySelectorContainerByClass<SELECTED_CLASS_PTR, CONTAINER>& mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator= ( const ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &  o)
inline

Definition at line 292 of file CMultiMetricMap.h.

◆ operator=() [2/2]

template<class SELECTED_CLASS_PTR, class CONTAINER>
ProxySelectorContainerByClass<SELECTED_CLASS_PTR, CONTAINER>& mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::operator= ( ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER > &&  o)
inline

Definition at line 303 of file CMultiMetricMap.h.

Member Data Documentation

◆ m_ret

template<class SELECTED_CLASS_PTR, class CONTAINER>
SELECTED_CLASS_PTR mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::m_ret
mutableprivate

◆ m_source

template<class SELECTED_CLASS_PTR, class CONTAINER>
CONTAINER* mrpt::maps::CMultiMetricMap::ProxySelectorContainerByClass< SELECTED_CLASS_PTR, CONTAINER >::m_source
private



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019