Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
karto::Object Class Reference

#include <Object.h>

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

Public Member Functions

 Object ()
 
 Object (const Identifier &rIdentifier)
 
- Public Member Functions inherited from karto::Referenced
 Referenced ()
 

Protected Member Functions

const IdentifierGetIdentifier () const
 
AbstractParameterGetParameter (const String &rParameterName) const
 
template<typename T >
Parameter< T > * GetParameter (const String &rParameterName) const
 
ParameterList GetParameters ()
 
ParameterSetGetParameterSet ()
 
template<typename T >
void SetParameters (const karto::String &rParameterName, const T &rValue)
 
- Protected Member Functions inherited from karto::Referenced
kt_int32s GetReferenceCount ()
 
kt_int32s Reference () const
 
kt_int32s Unreference () const
 
kt_int32s UnreferenceNoDelete () const
 

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

karto::Object::Object ( )

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
inlineprotected

public: /** 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
inlineprotected

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
inlineprotected

Gets the named parameter

Parameters
rParameterNamename of parameter
Returns
parameter with given name

Definition at line 104 of file Object.h.

ParameterList karto::Object::GetParameters ( )
inlineprotected

Gets the parameters

Returns
list of parameters

Definition at line 153 of file Object.h.

ParameterSet* karto::Object::GetParameterSet ( )
inlineprotected

Gets the set of parameters

Returns
set of parameters

Definition at line 144 of file Object.h.

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

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

Identifier karto::Object::m_Identifier
private

Definition at line 164 of file Object.h.

ParameterSetPtr karto::Object::m_pParameterSet
private

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 Tue Nov 7 2017 06:02:36