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

#include <Karto.h>

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

Public Member Functions

virtual const char * GetClassName () const =0
 
const NameGetName () const
 
virtual kt_objecttype GetObjectType () const =0
 
AbstractParameterGetParameter (const std::string &rName) const
 
virtual ParameterManagerGetParameterManager ()
 
const ParameterVectorGetParameters () const
 
 Object ()
 
 Object (const Name &rName)
 
template<typename T >
void SetParameter (const std::string &rName, T value)
 
virtual ~Object ()
 

Private Member Functions

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

Private Attributes

Name m_Name
 
ParameterManagerm_pParameterManager
 

Additional Inherited Members

- Protected Member Functions inherited from karto::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

Abstract base class for Karto objects.

Definition at line 590 of file Karto.h.

Constructor & Destructor Documentation

karto::Object::Object ( )

Default constructor

Definition at line 45 of file Karto.cpp.

karto::Object::Object ( const Name rName)

Constructs an object with the given name

Parameters
rName

Definition at line 50 of file Karto.cpp.

karto::Object::~Object ( )
virtual

Default constructor

Definition at line 56 of file Karto.cpp.

karto::Object::Object ( const Object )
private

Member Function Documentation

virtual const char* karto::Object::GetClassName ( ) const
pure virtual

Gets the class name of this object

Returns
class name
const Name& karto::Object::GetName ( ) const
inline

Gets the name of this object

Returns
name

Definition at line 614 of file Karto.h.

virtual kt_objecttype karto::Object::GetObjectType ( ) const
pure virtual

Gets the type of this object

Returns
object type
AbstractParameter* karto::Object::GetParameter ( const std::string &  rName) const
inline

Gets the named parameter

Parameters
rNamename of parameter
Returns
parameter

Definition at line 645 of file Karto.h.

virtual ParameterManager* karto::Object::GetParameterManager ( )
inlinevirtual

Gets the parameter manager of this dataset

Returns
parameter manager

Definition at line 635 of file Karto.h.

const ParameterVector& karto::Object::GetParameters ( ) const
inline

Gets all parameters

Returns
parameters

Definition at line 662 of file Karto.h.

const Object& karto::Object::operator= ( const Object )
private
template<typename T >
void karto::Object::SetParameter ( const std::string &  rName,
value 
)
inline

Sets the parameter with the given name with the given value

Parameters
rNamename
valuevalue

Member Data Documentation

Name karto::Object::m_Name
private

Definition at line 672 of file Karto.h.

ParameterManager* karto::Object::m_pParameterManager
private

Definition at line 673 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Sat Apr 6 2019 02:22:47