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

#include <Karto.h>

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

Public Member Functions

const Pose2GetOffsetPose () const
 
void SetOffsetPose (const Pose2 &rPose)
 
virtual kt_bool Validate ()=0
 
virtual kt_bool Validate (SensorData *pSensorData)=0
 
virtual ~Sensor ()
 
- Public Member Functions inherited from karto::Object
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 ()
 

Protected Member Functions

 Sensor (const Name &rName)
 
- Protected Member Functions inherited from karto::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Private Member Functions

const Sensoroperator= (const Sensor &)
 
 Sensor (const Sensor &)
 

Private Attributes

Parameter< Pose2 > * m_pOffsetPose
 

Detailed Description

Abstract Sensor base class

Definition at line 3426 of file Karto.h.

Constructor & Destructor Documentation

karto::Sensor::Sensor ( const Name rName)
protected

Construct a Sensor

Parameters
rNamesensor name

Definition at line 79 of file Karto.cpp.

karto::Sensor::~Sensor ( )
virtual

Destructor

Definition at line 85 of file Karto.cpp.

karto::Sensor::Sensor ( const Sensor )
private

Restrict the copy constructor

Member Function Documentation

const Pose2& karto::Sensor::GetOffsetPose ( ) const
inline

Gets this range finder sensor's offset

Returns
offset pose

Definition at line 3451 of file Karto.h.

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

Restrict the assignment operator

void karto::Sensor::SetOffsetPose ( const Pose2 rPose)
inline

Sets this range finder sensor's offset

Parameters
rPose

Definition at line 3460 of file Karto.h.

virtual kt_bool karto::Sensor::Validate ( )
pure virtual

Validates sensor

Returns
true if valid

Implemented in karto::LaserRangeFinder, and karto::Drive.

virtual kt_bool karto::Sensor::Validate ( SensorData pSensorData)
pure virtual

Validates sensor data

Parameters
pSensorDatasensor data
Returns
true if valid

Implemented in karto::LaserRangeFinder, and karto::Drive.

Member Data Documentation

Parameter<Pose2>* karto::Sensor::m_pOffsetPose
private

Sensor offset pose

Definition at line 3493 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