1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef __FRAMEWORK_THREADHELP_INONCOPYABLE_H_
25 #define __FRAMEWORK_THREADHELP_INONCOPYABLE_H_
26 
27 //_________________________________________________________________________________________________________________
28 //	my own includes
29 //_________________________________________________________________________________________________________________
30 
31 //_________________________________________________________________________________________________________________
32 //	interface includes
33 //_________________________________________________________________________________________________________________
34 
35 //_________________________________________________________________________________________________________________
36 //	other includes
37 //_________________________________________________________________________________________________________________
38 
39 //_________________________________________________________________________________________________________________
40 //	namespace
41 //_________________________________________________________________________________________________________________
42 
43 namespace framework{
44 
45 //_________________________________________________________________________________________________________________
46 //	const
47 //_________________________________________________________________________________________________________________
48 
49 //_________________________________________________________________________________________________________________
50 //	declarations
51 //_________________________________________________________________________________________________________________
52 
53 /*-************************************************************************************************************//**
54 	@descr			Use this as one of your base classes to disable
55 					all possiblities to copy or assign one object to another one!
56 					We declare neccessary functions private to do so.
57 *//*-*************************************************************************************************************/
58 class INonCopyable
59 {
60 	public:
61 
INonCopyable()62         INonCopyable() {}
63 
64 	private:
65 
66         INonCopyable            ( const INonCopyable& rCopy );
67         INonCopyable& operator= ( const INonCopyable& rCopy );
68 
69 };      //  class INonCopyable
70 
71 }		//	namespace framework
72 
73 #endif	//	#ifndef __FRAMEWORK_THREADHELP_INONCOPYABLE_H_
74