Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

FooBarClassAdapter.hpp

00001 #if   !defined(__FOOBARCLASSADAPTER_HPP)
00002 #define __FOOBARCLASSADAPTER_HPP
00003 
00004 /*
00005   CoreLinux++ 
00006   Copyright (C) 2000 CoreLinux Consortium
00007   
00008    The CoreLinux++ Library is free software; you can redistribute it and/or
00009    modify it under the terms of the GNU Library General Public License as
00010    published by the Free Software Foundation; either version 2 of the
00011    License, or (at your option) any later version.
00012 
00013    The CoreLinux++ Library Library is distributed in the hope that it will 
00014    be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016    Library General Public License for more details.
00017 
00018    You should have received a copy of the GNU Library General Public
00019    License along with the GNU C Library; see the file COPYING.LIB.  If not,
00020    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021    Boston, MA 02111-1307, USA.  
00022 */   
00023 
00024 #include <Common.hpp>
00025 
00026 #if   !defined(__ADAPTER_HPP)
00027 #include <Adapter.hpp>
00028 #endif
00029 
00030 #if   !defined(__FOO_HPP)
00031 #include <Foo.hpp>
00032 #endif
00033 
00034 #if   !defined(__BAR_HPP)
00035 #include <Bar.hpp>
00036 #endif
00037 
00059 DECLARE_CLASS(FooBarClassAdapter);
00060 
00061 class FooBarClassAdapter : public CORELINUX(Adapter), public Foo, private Bar
00062 {
00063 
00064 public:
00065 
00067 
00068                         FooBarClassAdapter( void );
00069 
00071 
00072                         FooBarClassAdapter( CORELINUX(Int) aX, CORELINUX(Int) aY ) 
00073                            throw(CORELINUX(Exception));
00074 
00076 
00077                         FooBarClassAdapter( FooBarClassAdapterCref );
00078 
00080 
00081    virtual              ~FooBarClassAdapter( void );
00082 
00083    //
00084    // Operator overloads
00085    //
00086 
00088          
00089             FooBarClassAdapterRef   operator=( FooBarClassAdapterCref );
00090          
00092          
00093             bool     operator==( FooBarClassAdapterCref );
00094 
00095    //
00096    // Accessors
00097    //
00098    
00100 
00101    virtual  CORELINUX(IntCref) getVerticalPosition(void) const;
00102 
00104 
00105    virtual  CORELINUX(IntCref) getHorizontalPosition(void) const;
00106 
00107    //
00108    // Mutators
00109    //
00111    
00112    virtual  void setVerticalPosition(CORELINUX(Int)) 
00113                   throw(CORELINUX(Exception));
00114 
00116    
00117    virtual  void setHorizontalPosition(CORELINUX(Int)) 
00118                   throw(CORELINUX(Exception));
00119 
00120 };
00121 
00122 #endif // if !defined __FOOBARCLASSADAPTER_HPP
00123 
00124 /*
00125    Common rcs information do not modify
00126    $Author: frankc $
00127    $Revision: 1.4 $
00128    $Date: 2000/02/10 14:32:20 $
00129    $Locker:  $
00130 */
00131 

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium