Public Types | Public Member Functions | Private Attributes | List of all members
hector_pose_estimation::Collection< T, key_type > Class Template Reference

#include <collection.h>

Public Types

typedef ListType::const_iterator const_iterator
 
typedef ListType::const_iterator iterator
 
typedef std::list< PtrListType
 
typedef std::map< key_type, WPtrMapType
 
typedef boost::shared_ptr< T > Ptr
 
typedef boost::weak_ptr< T > WPtr
 

Public Member Functions

const Ptradd (const Ptr &p, const key_type &key)
 
template<typename Derived >
boost::shared_ptr< Derived > add (Derived *p)
 
template<typename Derived >
boost::shared_ptr< Derived > add (Derived *p, const key_type &key)
 
const_iterator begin () const
 
void clear ()
 
template<typename Derived >
const Ptrcreate ()
 
template<typename Derived >
const Ptrcreate (const key_type &key)
 
bool empty () const
 
const_iterator end () const
 
Ptr get (const key_type &key) const
 
template<typename Derived >
boost::shared_ptr< Derived > getType (const key_type &key) const
 
std::size_t size () const
 

Private Attributes

ListType list_
 
MapType map_
 

Detailed Description

template<typename T, typename key_type = std::string>
class hector_pose_estimation::Collection< T, key_type >

Definition at line 42 of file collection.h.

Member Typedef Documentation

template<typename T, typename key_type = std::string>
typedef ListType::const_iterator hector_pose_estimation::Collection< T, key_type >::const_iterator

Definition at line 49 of file collection.h.

template<typename T, typename key_type = std::string>
typedef ListType::const_iterator hector_pose_estimation::Collection< T, key_type >::iterator

Definition at line 48 of file collection.h.

template<typename T, typename key_type = std::string>
typedef std::list<Ptr> hector_pose_estimation::Collection< T, key_type >::ListType

Definition at line 46 of file collection.h.

template<typename T, typename key_type = std::string>
typedef std::map<key_type, WPtr> hector_pose_estimation::Collection< T, key_type >::MapType

Definition at line 47 of file collection.h.

template<typename T, typename key_type = std::string>
typedef boost::shared_ptr<T> hector_pose_estimation::Collection< T, key_type >::Ptr

Definition at line 44 of file collection.h.

template<typename T, typename key_type = std::string>
typedef boost::weak_ptr<T> hector_pose_estimation::Collection< T, key_type >::WPtr

Definition at line 45 of file collection.h.

Member Function Documentation

template<typename T, typename key_type = std::string>
const Ptr& hector_pose_estimation::Collection< T, key_type >::add ( const Ptr p,
const key_type &  key 
)
inline

Definition at line 51 of file collection.h.

template<typename T, typename key_type = std::string>
template<typename Derived >
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::add ( Derived *  p)
inline

Definition at line 57 of file collection.h.

template<typename T, typename key_type = std::string>
template<typename Derived >
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::add ( Derived *  p,
const key_type &  key 
)
inline

Definition at line 58 of file collection.h.

template<typename T, typename key_type = std::string>
const_iterator hector_pose_estimation::Collection< T, key_type >::begin ( ) const
inline

Definition at line 92 of file collection.h.

template<typename T, typename key_type = std::string>
void hector_pose_estimation::Collection< T, key_type >::clear ( )
inline

Definition at line 95 of file collection.h.

template<typename T, typename key_type = std::string>
template<typename Derived >
const Ptr& hector_pose_estimation::Collection< T, key_type >::create ( )
inline

Definition at line 60 of file collection.h.

template<typename T, typename key_type = std::string>
template<typename Derived >
const Ptr& hector_pose_estimation::Collection< T, key_type >::create ( const key_type &  key)
inline

Definition at line 65 of file collection.h.

template<typename T, typename key_type = std::string>
bool hector_pose_estimation::Collection< T, key_type >::empty ( ) const
inline

Definition at line 90 of file collection.h.

template<typename T, typename key_type = std::string>
const_iterator hector_pose_estimation::Collection< T, key_type >::end ( ) const
inline

Definition at line 93 of file collection.h.

template<typename T, typename key_type = std::string>
Ptr hector_pose_estimation::Collection< T, key_type >::get ( const key_type &  key) const
inline

Definition at line 75 of file collection.h.

template<typename T, typename key_type = std::string>
template<typename Derived >
boost::shared_ptr<Derived> hector_pose_estimation::Collection< T, key_type >::getType ( const key_type &  key) const
inline

Definition at line 86 of file collection.h.

template<typename T, typename key_type = std::string>
std::size_t hector_pose_estimation::Collection< T, key_type >::size ( ) const
inline

Definition at line 91 of file collection.h.

Member Data Documentation

template<typename T, typename key_type = std::string>
ListType hector_pose_estimation::Collection< T, key_type >::list_
private

Definition at line 101 of file collection.h.

template<typename T, typename key_type = std::string>
MapType hector_pose_estimation::Collection< T, key_type >::map_
private

Definition at line 102 of file collection.h.


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


hector_pose_estimation_core
Author(s): Johannes Meyer
autogenerated on Thu Feb 18 2021 03:29:31