Main MRPT website
>
C++ reference for MRPT 1.4.0
mrpt
utils
CUncopiable.h
Go to the documentation of this file.
1
/* +---------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2016, 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
#ifndef CUNCOPIABLE_H
10
#define CUNCOPIABLE_H
11
12
#include <
mrpt/base/link_pragmas.h
>
13
14
namespace
mrpt
15
{
16
namespace
utils
17
{
18
/** The base class of classes that cannot be copied: compile-time errors will be issued on any copy operation.
19
* An example:
20
*
21
* \code
22
* class MyFancyClass : public mrpt::utils::CUncopiable
23
* {
24
* public:
25
* ...
26
* };
27
* \endcode
28
* \ingroup mrpt_base_grp
29
*/
30
class
BASE_IMPEXP
CUncopiable
31
{
32
private
:
33
CUncopiable
(
const
CUncopiable
&);
// This doesn't need to be implemented anywhere
34
const
CUncopiable
& operator =(
const
CUncopiable
&);
// This doesn't need to be implemented anywhere
35
public
:
36
CUncopiable
() { }
37
};
// End of class def.
38
39
}
// End of namespace
40
}
// end of namespace
41
#endif
link_pragmas.h
BASE_IMPEXP
#define BASE_IMPEXP
Definition:
base/include/mrpt/base/link_pragmas.h:90
mrpt::utils::CUncopiable
The base class of classes that cannot be copied: compile-time errors will be issued on any copy opera...
Definition:
CUncopiable.h:31
mrpt::utils::CUncopiable::CUncopiable
CUncopiable(const CUncopiable &)
mrpt::utils::CUncopiable::CUncopiable
CUncopiable()
Definition:
CUncopiable.h:36
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
CParticleFilter.h:17
Page generated by
Doxygen 1.9.2
for MRPT 1.4.0 SVN: at Mon Sep 20 00:36:32 UTC 2021