Main MRPT website > C++ reference for MRPT 1.5.6
CDetectableObject.cpp
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 
10 #include "detectors-precomp.h" // Precompiled headers
11 
13 #include <mrpt/utils/CStream.h>
14 
15 using namespace mrpt;
16 using namespace mrpt::utils;
17 using namespace mrpt::detectors;
18 
21 IMPLEMENTS_SERIALIZABLE(CDetectable3D, CDetectable2D,mrpt::detectors)
22 
23 
24 void CDetectable2D::readFromStream(mrpt::utils::CStream &, int )
25 {
26 }
27 
28 void CDetectable2D::writeToStream(mrpt::utils::CStream &, int *) const
29 {
30 }
31 
32 void CDetectable3D::readFromStream(mrpt::utils::CStream &, int )
33 {
34 }
35 
36 void CDetectable3D::writeToStream(mrpt::utils::CStream &, int *) const
37 {
38 }
39 
40 CDetectable3D::CDetectable3D( const CDetectable2DPtr &object2d )
41  : CDetectable2D( object2d.pointer() ), m_z(0)
42 {
43 }
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:39
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:38
#define IMPLEMENTS_VIRTUAL_SERIALIZABLE(class_name, base_class_name, NameSpace)
This must be inserted as implementation of some required members for virtual CSerializable classes: ...
GLsizei const GLvoid * pointer
Definition: glew.h:1428
Base class that contains common atributes and functions of detectable objects.



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018