Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
mrpt::slam::CAction Class Referenceabstract

Detailed Description

Declares a class for storing a robot action.

It is used in mrpt::slam::CRawlog, for logs storage and particle filter based simulations. See derived classes for implementations.

See Also
CActionCollection, CRawlog

Definition at line 33 of file CAction.h.

#include <mrpt/slam/CAction.h>

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

Public Member Functions

 CAction ()
 Default constructor. More...
 
virtual ~CAction ()
 Constructor. More...
 
virtual CObjectduplicate () const =0
 Returns a copy of the object, indepently of its class. More...
 
mrpt::utils::CObjectPtr duplicateGetSmartPtr () const
 Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). More...
 
CObjectclone () const
 Cloning interface for smart pointers. More...
 

Public Attributes

mrpt::system::TTimeStamp timestamp
 The associated time-stamp. More...
 

Static Public Attributes

static const
mrpt::utils::TRuntimeClassId 
classCObject
 
RTTI stuff
static const
mrpt::utils::TRuntimeClassId 
classCSerializable
 

Protected Member Functions

virtual void writeToStream (mrpt::utils::CStream &out, int *getVersion) const =0
 Introduces a pure virtual method responsible for writing to a CStream. More...
 
virtual void readFromStream (mrpt::utils::CStream &in, int version)=0
 Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori. More...
 

RTTI stuff

static const
mrpt::utils::TRuntimeClassId 
classCAction
 
class mrpt::utils::CStream
 
static const
mrpt::utils::TRuntimeClassId
_GetBaseClass ()
 
virtual const
mrpt::utils::TRuntimeClassId
GetRuntimeClass () const
 Returns information about the class of an object in runtime. More...
 

Constructor & Destructor Documentation

mrpt::slam::CAction::CAction ( )

Default constructor.

virtual mrpt::slam::CAction::~CAction ( )
virtual

Constructor.

Member Function Documentation

static const mrpt::utils::TRuntimeClassId* mrpt::slam::CAction::_GetBaseClass ( )
staticprotected
CObject* mrpt::utils::CObject::clone ( ) const
inlineinherited

Cloning interface for smart pointers.

Definition at line 139 of file CObject.h.

virtual CObject* mrpt::utils::CObject::duplicate ( ) const
pure virtualinherited

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

Implemented in mrpt::reactivenav::CLogFileRecord_ND, mrpt::utils::CSimpleDatabase, mrpt::slam::CObservationIMU, mrpt::slam::CObservation3DRangeScan, mrpt::utils::CImage, mrpt::detectors::CDetectable3D, mrpt::hmtslam::THypothesisIDSet, mrpt::gui::CDisplayWindow3D, mrpt::hmtslam::CLocalMetricHypothesis, mrpt::slam::COccupancyGridMap2D, mrpt::hmtslam::CHMTSLAM, mrpt::poses::CPose3D, mrpt::slam::CHeightGridMap2D, mrpt::slam::CMultiMetricMapPDF, mrpt::slam::CObservationRGBD360, mrpt::slam::CMultiMetricMap, mrpt::slam::CLandmarksMap, mrpt::opengl::COctoMapVoxels, mrpt::opengl::COpenGLViewport, mrpt::vision::CFeature, mrpt::poses::CPointPDFParticles, mrpt::kinematics::CKinematicChain, mrpt::slam::CRawlog, mrpt::slam::CSensoryFrame, mrpt::poses::CPose3DInterpolator, mrpt::opengl::CPlanarLaserScan, mrpt::slam::CBeaconMap, mrpt::pbmap::Plane, mrpt::slam::CObservation2DRangeScan, mrpt::opengl::CPointCloud, mrpt::hmtslam::CLSLAMParticleData, mrpt::slam::CReflectivityGridMap2D, mrpt::opengl::COpenGLScene, mrpt::opengl::CPointCloudColoured, mrpt::pbmap::PbMap, mrpt::detectors::CDetectable2D, mrpt::opengl::CFrustum, mrpt::utils::CMHPropertiesValuesList, mrpt::opengl::CEllipsoid, mrpt::opengl::CEllipsoidInverseDepth3D, mrpt::hmtslam::CHMHMapNode, mrpt::slam::CBeacon, mrpt::slam::CObservationStereoImages, mrpt::opengl::CVectorField2D, mrpt::opengl::CAngularObservationMesh, mrpt::slam::CObservationStereoImagesFeatures, mrpt::opengl::CEllipsoidInverseDepth2D, mrpt::opengl::CText3D, mrpt::poses::CPose3DQuat, mrpt::poses::CPose3DRotVec, mrpt::slam::CGasConcentrationGridMap2D, mrpt::slam::CLandmark, mrpt::poses::CPose3DQuatPDFGaussianInf, mrpt::opengl::CMeshFast, mrpt::poses::CPose3DQuatPDFGaussian, mrpt::hmtslam::CRobotPosesGraph, mrpt::slam::CWirelessPowerGridMap2D, mrpt::opengl::CEllipsoidRangeBearing2D, mrpt::opengl::CMesh, mrpt::poses::CPose3DPDFGaussianInf, mrpt::gui::CDisplayWindowPlots, mrpt::slam::COctoMap, mrpt::slam::CObservationImage, mrpt::opengl::CText, mrpt::poses::CPose2D, mrpt::poses::CPose3DPDFGaussian, mrpt::opengl::CPolyhedron, mrpt::opengl::CSetOfLines, mrpt::poses::CPoint2D, mrpt::poses::CPose3DPDFParticles, mrpt::poses::CPosePDFParticles, mrpt::poses::CPosePDFSOG, mrpt::hmtslam::CHierarchicalMHMap, mrpt::slam::CRBPFParticleData, mrpt::poses::CPointPDFSOG, mrpt::hmtslam::CHMHMapArc, mrpt::slam::CColouredOctoMap, mrpt::slam::CColouredPointsMap, mrpt::slam::CSimplePointsMap, mrpt::opengl::CBox, mrpt::opengl::CDisk, mrpt::poses::CPose3DPDFSOG, mrpt::poses::CPosePDFGaussianInf, mrpt::slam::CActionRobotMovement2D, mrpt::slam::CObservationBatteryState, mrpt::slam::CSimpleMap, mrpt::opengl::CGridPlaneXY, mrpt::opengl::CGridPlaneXZ, mrpt::slam::CObservationWindSensor, mrpt::opengl::CArrow, mrpt::opengl::CAxis, mrpt::opengl::CSphere, mrpt::slam::CIncrementalMapPartitioner, mrpt::math::CMatrixD, mrpt::poses::CPoint3D, mrpt::poses::CPosePDFGaussian, mrpt::utils::CStringList, mrpt::slam::CWeightedPointsMap, mrpt::opengl::CCamera, mrpt::poses::CPosePDFGrid, mrpt::gui::CDisplayWindow, mrpt::slam::CObservationOdometry, mrpt::opengl::CSetOfObjects, mrpt::opengl::CSetOfTexturedTriangles, mrpt::reactivenav::CLogFileRecord, mrpt::math::CMatrix, mrpt::utils::CMemoryChunk, mrpt::utils::TCamera, mrpt::slam::CActionCollection, mrpt::slam::CObservationGPS, mrpt::slam::CObservationRange, mrpt::slam::CObservationRawDAQ, mrpt::math::CSplineInterpolator1D, mrpt::utils::CPropertiesValuesList, mrpt::utils::CSimpleDatabaseTable, mrpt::slam::CObservationBearingRange, mrpt::slam::CObservationGasSensors, mrpt::slam::CObservationWirelessPower, mrpt::opengl::C3DSScene, mrpt::slam::CObservationVisualLandmarks, mrpt::math::CMatrixB, mrpt::poses::CPoses2DSequence, mrpt::poses::CPoses3DSequence, mrpt::slam::CActionRobotMovement3D, mrpt::slam::CObservationBeaconRanges, mrpt::slam::CObservationComment, mrpt::slam::CObservationRFID, mrpt::opengl::CCylinder, mrpt::opengl::CSetOfTriangles, mrpt::poses::TSimple3DPoint, mrpt::slam::CObservation6DFeatures, mrpt::slam::CObservationReflectivity, mrpt::opengl::CGeneralizedCylinder, mrpt::reactivenav::CLogFileRecord_VFF, mrpt::poses::CPointPDFGaussian, mrpt::slam::CObservationCANBusJ1939, mrpt::opengl::CSimpleLine, mrpt::opengl::CTexturedPlane, mrpt::math::CPolygon, mrpt::utils::CTypeSelector, mrpt::poses::CPoint2DPDFGaussian, mrpt::utils::TStereoCamera, and mrpt::opengl::COpenGLStandardObject.

mrpt::utils::CObjectPtr mrpt::utils::CObject::duplicateGetSmartPtr ( ) const
inlineinherited

Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer).

Definition at line 136 of file CObject.h.

virtual const mrpt::utils::TRuntimeClassId* mrpt::slam::CAction::GetRuntimeClass ( ) const
virtual

Returns information about the class of an object in runtime.

Reimplemented from mrpt::utils::CSerializable.

Reimplemented in mrpt::slam::CActionRobotMovement2D, and mrpt::slam::CActionRobotMovement3D.

virtual void mrpt::utils::CSerializable::readFromStream ( mrpt::utils::CStream in,
int  version 
)
protectedpure virtualinherited

Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori.

Parameters
inThe input binary stream where the object data must read from.
versionThe version of the object stored in the stream: use this version number in your code to know how to read the incoming data.
Exceptions
std::exceptionOn any error, see CStream::ReadBuffer
See Also
CStream

Implemented in mrpt::reactivenav::CLogFileRecord_ND, mrpt::utils::CSimpleDatabase, mrpt::slam::CObservationIMU, mrpt::slam::CObservation3DRangeScan, mrpt::utils::CImage, mrpt::detectors::CDetectable3D, mrpt::hmtslam::THypothesisIDSet, mrpt::hmtslam::CLocalMetricHypothesis, mrpt::slam::COccupancyGridMap2D, mrpt::hmtslam::CHMTSLAM, mrpt::poses::CPose3D, mrpt::slam::CHeightGridMap2D, mrpt::slam::CMultiMetricMapPDF, mrpt::slam::CObservationRGBD360, mrpt::slam::CMultiMetricMap, mrpt::slam::CLandmarksMap, mrpt::opengl::COctoMapVoxels, mrpt::opengl::COpenGLViewport, mrpt::vision::CFeature, mrpt::poses::CPointPDFParticles, mrpt::kinematics::CKinematicChain, mrpt::slam::CRawlog, mrpt::slam::CSensoryFrame, mrpt::poses::CPose3DInterpolator, mrpt::opengl::CPlanarLaserScan, mrpt::slam::CBeaconMap, mrpt::pbmap::Plane, mrpt::slam::CObservation2DRangeScan, mrpt::opengl::CPointCloud, mrpt::hmtslam::CLSLAMParticleData, mrpt::slam::CReflectivityGridMap2D, mrpt::opengl::COpenGLScene, mrpt::opengl::CPointCloudColoured, mrpt::pbmap::PbMap, mrpt::detectors::CDetectable2D, mrpt::opengl::CFrustum, mrpt::utils::CMHPropertiesValuesList, mrpt::opengl::CEllipsoid, mrpt::opengl::CEllipsoidInverseDepth3D, mrpt::hmtslam::CHMHMapNode, mrpt::slam::CBeacon, mrpt::slam::CObservationStereoImages, mrpt::opengl::CVectorField2D, mrpt::opengl::CAngularObservationMesh, mrpt::slam::CObservationStereoImagesFeatures, mrpt::opengl::CEllipsoidInverseDepth2D, mrpt::opengl::CText3D, mrpt::poses::CPose3DQuat, mrpt::poses::CPose3DRotVec, mrpt::slam::CGasConcentrationGridMap2D, mrpt::slam::CLandmark, mrpt::poses::CPose3DQuatPDFGaussianInf, mrpt::opengl::CMeshFast, mrpt::poses::CPose3DQuatPDFGaussian, mrpt::hmtslam::CRobotPosesGraph, mrpt::slam::CWirelessPowerGridMap2D, mrpt::opengl::CEllipsoidRangeBearing2D, mrpt::opengl::CMesh, mrpt::poses::CPose3DPDFGaussianInf, mrpt::slam::COctoMap, mrpt::slam::CObservationImage, mrpt::opengl::CText, mrpt::poses::CPose2D, mrpt::poses::CPose3DPDFGaussian, mrpt::opengl::CPolyhedron, mrpt::opengl::CSetOfLines, mrpt::poses::CPoint2D, mrpt::poses::CPose3DPDFParticles, mrpt::poses::CPosePDFParticles, mrpt::poses::CPosePDFSOG, mrpt::hmtslam::CHierarchicalMHMap, mrpt::slam::CRBPFParticleData, mrpt::poses::CPointPDFSOG, mrpt::hmtslam::CHMHMapArc, mrpt::slam::CColouredOctoMap, mrpt::slam::CColouredPointsMap, mrpt::slam::CSimplePointsMap, mrpt::opengl::CBox, mrpt::opengl::CDisk, mrpt::poses::CPose3DPDFSOG, mrpt::poses::CPosePDFGaussianInf, mrpt::slam::CActionRobotMovement2D, mrpt::slam::CObservationBatteryState, mrpt::slam::CSimpleMap, mrpt::opengl::CGridPlaneXY, mrpt::opengl::CGridPlaneXZ, mrpt::slam::CObservationWindSensor, mrpt::opengl::CArrow, mrpt::opengl::CAxis, mrpt::opengl::CSphere, mrpt::slam::CIncrementalMapPartitioner, mrpt::math::CMatrixD, mrpt::poses::CPoint3D, mrpt::poses::CPosePDFGaussian, mrpt::utils::CStringList, mrpt::slam::CWeightedPointsMap, mrpt::opengl::CCamera, mrpt::poses::CPosePDFGrid, mrpt::slam::CObservationOdometry, mrpt::opengl::CSetOfObjects, mrpt::opengl::CSetOfTexturedTriangles, mrpt::reactivenav::CLogFileRecord, mrpt::math::CMatrix, mrpt::utils::CMemoryChunk, mrpt::utils::TCamera, mrpt::slam::CActionCollection, mrpt::slam::CObservationGPS, mrpt::slam::CObservationRange, mrpt::slam::CObservationRawDAQ, mrpt::math::CSplineInterpolator1D, mrpt::utils::CPropertiesValuesList, mrpt::utils::CSimpleDatabaseTable, mrpt::slam::CObservationBearingRange, mrpt::slam::CObservationGasSensors, mrpt::slam::CObservationWirelessPower, mrpt::opengl::C3DSScene, mrpt::slam::CObservationVisualLandmarks, mrpt::math::CMatrixB, mrpt::poses::CPoses2DSequence, mrpt::poses::CPoses3DSequence, mrpt::slam::CActionRobotMovement3D, mrpt::slam::CObservationBeaconRanges, mrpt::slam::CObservationComment, mrpt::slam::CObservationRFID, mrpt::opengl::CCylinder, mrpt::opengl::CSetOfTriangles, mrpt::poses::TSimple3DPoint, mrpt::slam::CObservation6DFeatures, mrpt::slam::CObservationReflectivity, mrpt::opengl::CGeneralizedCylinder, mrpt::reactivenav::CLogFileRecord_VFF, mrpt::poses::CPointPDFGaussian, mrpt::slam::CObservationCANBusJ1939, mrpt::opengl::CSimpleLine, mrpt::opengl::CTexturedPlane, mrpt::math::CPolygon, mrpt::utils::CTypeSelector, mrpt::poses::CPoint2DPDFGaussian, mrpt::utils::TStereoCamera, and mrpt::opengl::COpenGLStandardObject.

virtual void mrpt::utils::CSerializable::writeToStream ( mrpt::utils::CStream out,
int *  getVersion 
) const
protectedpure virtualinherited

Introduces a pure virtual method responsible for writing to a CStream.

This can not be used directly be users, instead use "stream << object;" for writing it to a stream.

Parameters
outThe output binary stream where object must be dumped.
getVersionIf NULL, the object must be dumped. If not, only the version of the object dump must be returned in this pointer. This enables the versioning of objects dumping and backward compatibility with previously stored data.
Exceptions
std::exceptionOn any error, see CStream::WriteBuffer
See Also
CStream

Implemented in mrpt::reactivenav::CLogFileRecord_ND, mrpt::utils::CSimpleDatabase, mrpt::slam::CObservationIMU, mrpt::slam::CObservation3DRangeScan, mrpt::utils::CImage, mrpt::detectors::CDetectable3D, mrpt::hmtslam::THypothesisIDSet, mrpt::hmtslam::CLocalMetricHypothesis, mrpt::slam::COccupancyGridMap2D, mrpt::hmtslam::CHMTSLAM, mrpt::poses::CPose3D, mrpt::slam::CHeightGridMap2D, mrpt::slam::CMultiMetricMapPDF, mrpt::slam::CObservationRGBD360, mrpt::slam::CMultiMetricMap, mrpt::slam::CLandmarksMap, mrpt::opengl::COctoMapVoxels, mrpt::opengl::COpenGLViewport, mrpt::vision::CFeature, mrpt::poses::CPointPDFParticles, mrpt::kinematics::CKinematicChain, mrpt::slam::CRawlog, mrpt::slam::CSensoryFrame, mrpt::poses::CPose3DInterpolator, mrpt::opengl::CPlanarLaserScan, mrpt::slam::CBeaconMap, mrpt::pbmap::Plane, mrpt::slam::CObservation2DRangeScan, mrpt::opengl::CPointCloud, mrpt::hmtslam::CLSLAMParticleData, mrpt::slam::CReflectivityGridMap2D, mrpt::opengl::COpenGLScene, mrpt::opengl::CPointCloudColoured, mrpt::pbmap::PbMap, mrpt::detectors::CDetectable2D, mrpt::opengl::CFrustum, mrpt::utils::CMHPropertiesValuesList, mrpt::opengl::CEllipsoid, mrpt::opengl::CEllipsoidInverseDepth3D, mrpt::hmtslam::CHMHMapNode, mrpt::slam::CBeacon, mrpt::slam::CObservationStereoImages, mrpt::opengl::CVectorField2D, mrpt::opengl::CAngularObservationMesh, mrpt::slam::CObservationStereoImagesFeatures, mrpt::opengl::CEllipsoidInverseDepth2D, mrpt::opengl::CText3D, mrpt::poses::CPose3DQuat, mrpt::poses::CPose3DRotVec, mrpt::slam::CGasConcentrationGridMap2D, mrpt::slam::CLandmark, mrpt::poses::CPose3DQuatPDFGaussianInf, mrpt::opengl::CMeshFast, mrpt::poses::CPose3DQuatPDFGaussian, mrpt::hmtslam::CRobotPosesGraph, mrpt::slam::CWirelessPowerGridMap2D, mrpt::opengl::CEllipsoidRangeBearing2D, mrpt::opengl::CMesh, mrpt::poses::CPose3DPDFGaussianInf, mrpt::slam::COctoMap, mrpt::slam::CObservationImage, mrpt::opengl::CText, mrpt::poses::CPose2D, mrpt::poses::CPose3DPDFGaussian, mrpt::opengl::CPolyhedron, mrpt::opengl::CSetOfLines, mrpt::poses::CPoint2D, mrpt::poses::CPose3DPDFParticles, mrpt::poses::CPosePDFParticles, mrpt::poses::CPosePDFSOG, mrpt::hmtslam::CHierarchicalMHMap, mrpt::slam::CRBPFParticleData, mrpt::poses::CPointPDFSOG, mrpt::hmtslam::CHMHMapArc, mrpt::slam::CColouredOctoMap, mrpt::slam::CColouredPointsMap, mrpt::slam::CSimplePointsMap, mrpt::opengl::CBox, mrpt::opengl::CDisk, mrpt::poses::CPose3DPDFSOG, mrpt::poses::CPosePDFGaussianInf, mrpt::slam::CActionRobotMovement2D, mrpt::slam::CObservationBatteryState, mrpt::slam::CSimpleMap, mrpt::opengl::CGridPlaneXY, mrpt::opengl::CGridPlaneXZ, mrpt::slam::CObservationWindSensor, mrpt::opengl::CArrow, mrpt::opengl::CAxis, mrpt::opengl::CSphere, mrpt::slam::CIncrementalMapPartitioner, mrpt::math::CMatrixD, mrpt::poses::CPoint3D, mrpt::poses::CPosePDFGaussian, mrpt::utils::CStringList, mrpt::slam::CWeightedPointsMap, mrpt::opengl::CCamera, mrpt::poses::CPosePDFGrid, mrpt::slam::CObservationOdometry, mrpt::opengl::CSetOfObjects, mrpt::opengl::CSetOfTexturedTriangles, mrpt::reactivenav::CLogFileRecord, mrpt::math::CMatrix, mrpt::utils::CMemoryChunk, mrpt::utils::TCamera, mrpt::slam::CActionCollection, mrpt::slam::CObservationGPS, mrpt::slam::CObservationRange, mrpt::slam::CObservationRawDAQ, mrpt::math::CSplineInterpolator1D, mrpt::utils::CPropertiesValuesList, mrpt::utils::CSimpleDatabaseTable, mrpt::slam::CObservationBearingRange, mrpt::slam::CObservationGasSensors, mrpt::slam::CObservationWirelessPower, mrpt::opengl::C3DSScene, mrpt::slam::CObservationVisualLandmarks, mrpt::math::CMatrixB, mrpt::poses::CPoses2DSequence, mrpt::poses::CPoses3DSequence, mrpt::slam::CActionRobotMovement3D, mrpt::slam::CObservationBeaconRanges, mrpt::slam::CObservationComment, mrpt::slam::CObservationRFID, mrpt::opengl::CCylinder, mrpt::opengl::CSetOfTriangles, mrpt::poses::TSimple3DPoint, mrpt::slam::CObservation6DFeatures, mrpt::slam::CObservationReflectivity, mrpt::opengl::CGeneralizedCylinder, mrpt::reactivenav::CLogFileRecord_VFF, mrpt::poses::CPointPDFGaussian, mrpt::slam::CObservationCANBusJ1939, mrpt::opengl::CSimpleLine, mrpt::opengl::CTexturedPlane, mrpt::math::CPolygon, mrpt::utils::CTypeSelector, mrpt::poses::CPoint2DPDFGaussian, mrpt::utils::TStereoCamera, and mrpt::opengl::COpenGLStandardObject.

Friends And Related Function Documentation

friend class mrpt::utils::CStream
friend

Definition at line 36 of file CAction.h.

Member Data Documentation

const mrpt::utils::TRuntimeClassId mrpt::slam::CAction::classCAction
static

Definition at line 36 of file CAction.h.

const mrpt::utils::TRuntimeClassId mrpt::utils::CObject::classCObject
staticinherited

Definition at line 124 of file CObject.h.

const mrpt::utils::TRuntimeClassId mrpt::utils::CSerializable::classCSerializable
staticinherited

Definition at line 38 of file CSerializable.h.

mrpt::system::TTimeStamp mrpt::slam::CAction::timestamp

The associated time-stamp.

This was added at 2-Dec-2007, new serialization versions have been added to derived classes to manage this time-stamp. Prior versions will be read as having a INVALID_TIMESTAMP value.

Definition at line 50 of file CAction.h.




Page generated by Doxygen 1.8.6 for MRPT 1.2.0 SVN: at dom ago 20 02:20:21 CEST 2017 Hosted on:
SourceForge.net Logo