VectorNav C++ Library
nocopy.h
Go to the documentation of this file.
1 #ifndef _VNUTIL_NOCOPY_H_
4 #define _VNUTIL_NOCOPY_H_
5 
6 #include "export.h"
7 
8 namespace vn {
9 namespace util {
10 
21 class vn_proglib_DLLEXPORT NoCopy
22 {
23 
24 protected:
25 
27  NoCopy() { }
28 
30  ~NoCopy() { }
31 
32 private:
33 
35  NoCopy(const NoCopy&);
36 
38  NoCopy& operator=(const NoCopy&);
39 
40 };
41 
42 }
43 }
44 
45 #endif
NoCopy()
Allows construction of derived objects.
Definition: nocopy.h:27
~NoCopy()
Allows destruction of derived objects.
Definition: nocopy.h:30
Identifies a derived class as being unable to be copied and prevents copy attempts.
Definition: nocopy.h:21
Definition: attitude.h:8