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

Detailed Description

The virtual base class which provides a unified interface for all persistent objects in MRPT.

Many important properties of this class are inherited from mrpt::utils::CObject. See that class for more details. Refer to the tutorial about serialization online.

See also
CStream

Definition at line 32 of file CSerializable.h.

#include <mrpt/utils/CSerializable.h>

Inherits mrpt::utils::CObject.

Inherited by mrpt::detectors::CDetectableObject, mrpt::hmtslam::CHierarchicalMHMap, mrpt::hmtslam::CHMHMapArc, mrpt::hmtslam::CHMHMapNode, mrpt::hmtslam::CHMTSLAM, mrpt::hmtslam::CLocalMetricHypothesis, mrpt::hmtslam::CLSLAMParticleData, mrpt::hmtslam::CRobotPosesGraph, mrpt::hmtslam::THypothesisIDSet, mrpt::kinematics::CKinematicChain, mrpt::math::CMatrix, mrpt::math::CMatrixB, mrpt::math::CMatrixD, mrpt::math::CPolygon, mrpt::math::CSplineInterpolator1D, mrpt::opengl::COpenGLScene, mrpt::opengl::COpenGLViewport, mrpt::opengl::CRenderizable, mrpt::pbmap::PbMap, mrpt::pbmap::Plane, mrpt::poses::CPoint2D, mrpt::poses::CPoint2DPDF, mrpt::poses::CPoint3D, mrpt::poses::CPointPDF, mrpt::poses::CPose2D, mrpt::poses::CPose3D, mrpt::poses::CPose3DInterpolator, mrpt::poses::CPose3DPDF, mrpt::poses::CPose3DQuat, mrpt::poses::CPose3DQuatPDF, mrpt::poses::CPose3DRotVec, mrpt::poses::CPosePDF, mrpt::poses::CPoses2DSequence, mrpt::poses::CPoses3DSequence, mrpt::poses::TSimple3DPoint, mrpt::reactivenav::CHolonomicLogFileRecord, mrpt::reactivenav::CLogFileRecord, mrpt::slam::CAction, mrpt::slam::CActionCollection, mrpt::slam::CIncrementalMapPartitioner, mrpt::slam::CLandmark, mrpt::slam::CMetricMap, mrpt::slam::CMultiMetricMapPDF, mrpt::slam::CObservation, mrpt::slam::CRawlog, mrpt::slam::CRBPFParticleData, mrpt::slam::CSensoryFrame, mrpt::slam::CSimpleMap, mrpt::utils::CImage, mrpt::utils::CMemoryChunk, mrpt::utils::CMHPropertiesValuesList, mrpt::utils::CPropertiesValuesList, mrpt::utils::CSimpleDatabase, mrpt::utils::CSimpleDatabaseTable, mrpt::utils::CStringList, mrpt::utils::CTypeSelector, mrpt::utils::TCamera, mrpt::utils::TStereoCamera, and mrpt::vision::CFeature.

Public Member Functions

virtual ~CSerializable ()
 
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...
 

Static Public Attributes

static const mrpt::utils::TRuntimeClassId classCObject
 

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 classCSerializable
 
class mrpt::utils::CStream
 
static const mrpt::utils::TRuntimeClassId_GetBaseClass ()
 
virtual const mrpt::utils::TRuntimeClassIdGetRuntimeClass () const
 Returns information about the class of an object in runtime. More...
 

Constructor & Destructor Documentation

◆ ~CSerializable()

virtual mrpt::utils::CSerializable::~CSerializable ( )
inlinevirtual

Definition at line 37 of file CSerializable.h.

Member Function Documentation

◆ _GetBaseClass()

static const mrpt::utils::TRuntimeClassId* mrpt::utils::CSerializable::_GetBaseClass ( )
staticprotected

◆ clone()

CObject* mrpt::utils::CObject::clone ( ) const
inlineinherited

Cloning interface for smart pointers.

Definition at line 135 of file CObject.h.

◆ duplicate()

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

◆ duplicateGetSmartPtr()

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 132 of file CObject.h.

◆ GetRuntimeClass()

virtual const mrpt::utils::TRuntimeClassId* mrpt::utils::CSerializable::GetRuntimeClass ( ) const
virtual

Returns information about the class of an object in runtime.

Reimplemented from mrpt::utils::CObject.

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

◆ readFromStream()

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

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

◆ writeToStream()

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

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

Friends And Related Function Documentation

◆ mrpt::utils::CStream

friend class mrpt::utils::CStream
friend

Definition at line 35 of file CSerializable.h.

Member Data Documentation

◆ classCObject

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

Definition at line 120 of file CObject.h.

◆ classCSerializable

const mrpt::utils::TRuntimeClassId mrpt::utils::CSerializable::classCSerializable
static

Definition at line 35 of file CSerializable.h.




Page generated by Doxygen 1.8.14 for MRPT 1.1.0 SVN: at lun oct 28 00:54:49 CET 2019 Hosted on:
SourceForge.net Logo