Public Member Functions | Private Member Functions | Private Attributes
karto::Object Class Reference

#include <Object.h>

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

List of all members.

Public Member Functions

const IdentifierGetIdentifier () const
AbstractParameterGetParameter (const String &rParameterName) const
template<typename T >
Parameter< T > * GetParameter (const String &rParameterName) const
ParameterList GetParameters ()
ParameterSetGetParameterSet ()
 Object ()
 Object (const Identifier &rIdentifier)
template<typename T >
void SetParameters (const karto::String &rParameterName, const T &rValue)

Private Member Functions

 KARTO_RTTI ()
 Object (const Object &)
const Objectoperator= (const Object &)

Private Attributes

Identifier m_Identifier
ParameterSetPtr m_pParameterSet

Detailed Description

Base class for Karto objects

Definition at line 54 of file Object.h.


Constructor & Destructor Documentation

Constructs an object with an empty identifier

Definition at line 23 of file Object.cpp.

karto::Object::Object ( const Identifier rIdentifier)

Constructs an object with the given identifier

Parameters:
rIdentifier

Definition at line 28 of file Object.cpp.

karto::Object::Object ( const Object ) [private]

Member Function Documentation

const Identifier& karto::Object::GetIdentifier ( ) const [inline]

Gets the identifier of this object

Returns:
identifier of this object

Definition at line 83 of file Object.h.

AbstractParameter* karto::Object::GetParameter ( const String rParameterName) const [inline]

Gets the named parameter

Parameters:
rParameterNamename of parameter
Returns:
parameter with given name

Definition at line 93 of file Object.h.

template<typename T >
Parameter<T>* karto::Object::GetParameter ( const String rParameterName) const [inline]

Gets the named parameter

Parameters:
rParameterNamename of parameter
Returns:
parameter with given name

Definition at line 104 of file Object.h.

Gets the parameters

Returns:
list of parameters

Definition at line 153 of file Object.h.

Gets the set of parameters

Returns:
set of parameters

Definition at line 144 of file Object.h.

const Object& karto::Object::operator= ( const Object ) [private]
template<typename T >
void karto::Object::SetParameters ( const karto::String rParameterName,
const T &  rValue 
) [inline]

Sets the parameter with the given name with the given value

Parameters:
rParameterNamename
rValuenew value

Definition at line 115 of file Object.h.


Member Data Documentation

Definition at line 164 of file Object.h.

Definition at line 166 of file Object.h.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Aug 27 2015 14:07:26