Main MRPT website > C++ reference for MRPT 1.5.7
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 
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 }
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
#define IMPLEMENTS_VIRTUAL_SERIALIZABLE(class_name, base_class_name, NameSpace)
This must be inserted as implementation of some required members for virtual CSerializable classes:
Base class that contains common atributes and functions of detectable objects.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
Definition: CSerializable.h:40
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:39
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLsizei const GLvoid * pointer
Definition: glext.h:3702
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...
Definition: zip.h:16
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.1 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at mar 26 may 2026 13:12:03 CEST