Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes

mrpt::slam::CObservationComment Class Reference


Detailed Description

This "observation" is actually a placeholder for a text block with comments or additional parameters attached to a given rawlog file.

There should be only one of this observations in a rawlog file, and it's recommended to insert/modify them from the application RawlogViewer.

See also:
CObservation

Definition at line 46 of file CObservationComment.h.

#include <mrpt/slam/CObservationComment.h>

Inheritance diagram for mrpt::slam::CObservationComment:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CObservationComment ()
 Constructor.
virtual ~CObservationComment ()
 Destructor.
void getSensorPose (CPose3D &) const
 A general method to retrieve the sensor pose on the robot.
void setSensorPose (const CPose3D &)
 A general method to change the sensor pose on the robot.

Public Attributes

std::string text
 The text block.

RTTI stuff

typedef CObservationCommentPtr SmartPtr
static mrpt::utils::CLASSINIT _init_CObservationComment
static mrpt::utils::TRuntimeClassId classCObservationComment
static const
mrpt::utils::TRuntimeClassId
classinfo
static const
mrpt::utils::TRuntimeClassId
_GetBaseClass ()
virtual const
mrpt::utils::TRuntimeClassId
GetRuntimeClass () const
 Returns information about the class of an object in runtime.
virtual mrpt::utils::CObjectduplicate () const
 Returns a copy of the object, indepently of its class.
static mrpt::utils::CObjectCreateObject ()
static CObservationCommentPtr Create ()

Member Typedef Documentation

A typedef for the associated smart pointer

Definition at line 49 of file CObservationComment.h.


Constructor & Destructor Documentation

mrpt::slam::CObservationComment::CObservationComment (  ) [inline]

Constructor.

Definition at line 54 of file CObservationComment.h.

virtual mrpt::slam::CObservationComment::~CObservationComment (  ) [inline, virtual]

Destructor.

Definition at line 60 of file CObservationComment.h.


Member Function Documentation

static const mrpt::utils::TRuntimeClassId* mrpt::slam::CObservationComment::_GetBaseClass (  ) [static, protected]

Reimplemented from mrpt::slam::CObservation.

static CObservationCommentPtr mrpt::slam::CObservationComment::Create (  ) [static]
static mrpt::utils::CObject* mrpt::slam::CObservationComment::CreateObject (  ) [static]
virtual mrpt::utils::CObject* mrpt::slam::CObservationComment::duplicate (  ) const [virtual]

Returns a copy of the object, indepently of its class.

Implements mrpt::utils::CObject.

virtual const mrpt::utils::TRuntimeClassId* mrpt::slam::CObservationComment::GetRuntimeClass (  ) const [virtual]

Returns information about the class of an object in runtime.

Reimplemented from mrpt::slam::CObservation.

void mrpt::slam::CObservationComment::getSensorPose ( CPose3D  ) const [inline, virtual]

A general method to retrieve the sensor pose on the robot.

Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.

See also:
setSensorPose

Implements mrpt::slam::CObservation.

Definition at line 70 of file CObservationComment.h.

void mrpt::slam::CObservationComment::setSensorPose ( const CPose3D  ) [inline, virtual]

A general method to change the sensor pose on the robot.

Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.

See also:
getSensorPose

Implements mrpt::slam::CObservation.

Definition at line 77 of file CObservationComment.h.


Member Data Documentation

Definition at line 49 of file CObservationComment.h.

Definition at line 49 of file CObservationComment.h.

Definition at line 49 of file CObservationComment.h.

The text block.

Definition at line 64 of file CObservationComment.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011