INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
uncopyable.h
1 /*
2  * GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
3  * http://gearbox.sf.net/
4  * Copyright (c) 2004-2010 Alex Brooks
5  *
6  * This distribution is licensed to you under the terms described in
7  * the LICENSE file included in this distribution.
8  *
9  */
10 
11 #ifndef GBXSERIALACFR_UNCOPYABLE_H
12 #define GBXSERIALACFR_UNCOPYABLE_H
13 
14 namespace gbxserialacfr {
15 
16 //
17 // @brief Handy way to avoid unintended copies.
18 
19 // Inherit from this and the compiler will barf if you try to copy the derived class.
20 //
21 // @author Alex Brooks
22 //
23 class Uncopyable
24 {
25 public:
26  Uncopyable() {}
27 private:
28  Uncopyable(const Uncopyable&);
29  void operator=(const Uncopyable&);
30 };
31 
32 }
33 
34 #endif
Simple serial port interface.
Definition: gbxnovatelacfr/driver.h:21
 

Generated for GearBox by  doxygen 1.4.5