Main MRPT website > C++ reference for MRPT 1.9.9
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 
23 
24 void CDetectable2D::readFromStream(mrpt::utils::CStream&, int) {}
25 void CDetectable2D::writeToStream(mrpt::utils::CStream&, int*) const {}
26 void CDetectable3D::readFromStream(mrpt::utils::CStream&, int) {}
27 void CDetectable3D::writeToStream(mrpt::utils::CStream&, int*) const {}
28 CDetectable3D::CDetectable3D(const CDetectable2D::Ptr& object2d)
29  : CDetectable2D(object2d.get()), m_z(0)
30 {
31 }
IMPLEMENTS_VIRTUAL_SERIALIZABLE(CDetectableObject, CSerializable, mrpt::detectors) void CDetectable2D
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
std::shared_ptr< CDetectable2D > Ptr
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:45
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
Definition: CStream.h:42
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values,...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST