Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
karto::ParameterManager Class Reference

#include <Karto.h>

Inheritance diagram for karto::ParameterManager:
Inheritance graph
[legend]

Public Member Functions

void Add (AbstractParameter *pParameter)
 
void Clear ()
 
AbstractParameterGet (const std::string &rName)
 
const ParameterVectorGetParameterVector () const
 
AbstractParameteroperator() (const std::string &rName)
 
 ParameterManager ()
 
virtual ~ParameterManager ()
 
- Public Member Functions inherited from karto::NonCopyable
 NonCopyable ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
virtual ~NonCopyable ()
 

Private Member Functions

const ParameterManageroperator= (const ParameterManager &)
 
 ParameterManager (const ParameterManager &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::map< std::string, AbstractParameter * > m_ParameterLookup
 
ParameterVector m_Parameters
 

Friends

class boost::serialization::access
 

Detailed Description

Parameter manager.

Definition at line 289 of file Karto.h.

Constructor & Destructor Documentation

◆ ParameterManager() [1/2]

karto::ParameterManager::ParameterManager ( )
inline

Default constructor

Definition at line 295 of file Karto.h.

◆ ~ParameterManager()

virtual karto::ParameterManager::~ParameterManager ( )
inlinevirtual

Destructor

Definition at line 302 of file Karto.h.

◆ ParameterManager() [2/2]

karto::ParameterManager::ParameterManager ( const ParameterManager )
private

Serialization: class ParameterManager

Member Function Documentation

◆ Add()

void karto::ParameterManager::Add ( AbstractParameter pParameter)

Adds the parameter to this manager

Parameters
pParameter

Definition at line 243 of file Karto.cpp.

◆ Clear()

void karto::ParameterManager::Clear ( )

Clears the manager of all parameters

Definition at line 231 of file Karto.cpp.

◆ Get()

AbstractParameter* karto::ParameterManager::Get ( const std::string &  rName)
inline

Gets the parameter of the given name

Parameters
rName
Returns
parameter of given name

Definition at line 319 of file Karto.h.

◆ GetParameterVector()

const ParameterVector& karto::ParameterManager::GetParameterVector ( ) const
inline

Gets all parameters

Returns
vector of all parameters

Definition at line 340 of file Karto.h.

◆ operator()()

AbstractParameter* karto::ParameterManager::operator() ( const std::string &  rName)
inline

Gets the parameter with the given name

Parameters
rName
Returns
parameter of given name

Definition at line 351 of file Karto.h.

◆ operator=()

const ParameterManager& karto::ParameterManager::operator= ( const ParameterManager )
private

◆ serialize()

template<class Archive >
void karto::ParameterManager::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 370 of file Karto.h.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 368 of file Karto.h.

Member Data Documentation

◆ m_ParameterLookup

std::map<std::string, AbstractParameter*> karto::ParameterManager::m_ParameterLookup
private

Definition at line 366 of file Karto.h.

◆ m_Parameters

ParameterVector karto::ParameterManager::m_Parameters
private

Definition at line 365 of file Karto.h.


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


slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56