00001
#if !defined(__FOO_HPP)
00002
#define __FOO_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#if !defined(__COMMON_HPP)
00024
#include <Common.hpp>
00025
#endif
00026
00027 DECLARE_CLASS(
Foo );
00028
00043 class Foo
00044 {
00045
00046
public:
00047
00049
00050
Foo(
void );
00051
00053
00054
Foo(
FooCref );
00055
00057
00058
virtual ~Foo(
void );
00059
00060
00061
00062
00063
00065
00066
FooRef operator=(
FooCref );
00067
00069
00070
bool operator==(
FooCref );
00071
00072
00073
00074
00075
00077
00078
virtual CORELINUX(IntCref)
getVerticalPosition(
void )
const = 0;
00079
00081
00082
virtual CORELINUX(IntCref)
getHorizontalPosition(
void )
const = 0;
00083
00084
00085
00086
00088
00089
virtual void setVerticalPosition( CORELINUX(Int) )
00090
throw(CORELINUX(Exception)) = 0;
00091
00093
00094
virtual void setHorizontalPosition( CORELINUX(Int) )
00095
throw(CORELINUX(Exception)) = 0;
00096
00097
00098
protected:
00099
00101
00102
static CORELINUX(IntCref)
getMinimumVerticalPosition(
void );
00103
00105
00106
static CORELINUX(IntCref)
getMaximumVerticalPosition(
void );
00107
00109
00110
static CORELINUX(IntCref)
getMinimumHorizontalPosition(
void );
00111
00113
00114
static CORELINUX(IntCref)
getMaximumHorizontalPosition(
void );
00115
00116
protected:
00117
00119
00120
static CORELINUX(Int)
theMinimumVertical;
00121
00123
00124
static CORELINUX(Int)
theMaximumVertical;
00125
00127
00128
static CORELINUX(Int)
theMinimumHorizontal;
00129
00131
00132
static CORELINUX(Int)
theMaximumHorizontal;
00133
00134 };
00135
00136
#endif
00137
00138
00139
00140
00141
00142
00143
00144
00145