00001 #if !defined(__POWERSUPPLY_HPP)
00002 #define __POWERSUPPLY_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #if !defined(__COMMON_HPP)
00026 #include <Common.hpp>
00027 #endif
00028
00029 #if !defined(__EQUIPMENT_HPP)
00030 #include <Equipment.hpp>
00031 #endif
00032
00037 DECLARE_CLASS( PowerSupply );
00038
00039 class PowerSupply : public Equipment
00040 {
00041 public:
00042
00043
00044
00045
00047
00048 PowerSupply( NameCref );
00049
00051
00052 PowerSupply( PowerSupplyCref );
00053
00055
00056 virtual ~PowerSupply( void );
00057
00058
00059
00060
00062
00063 bool operator==( PowerSupplyCref ) const;
00064
00065
00066
00067
00068
00070
00071 virtual Watt getPower( void );
00072
00073
00074 protected:
00076
00077 PowerSupply( void )
00078 throw(CORELINUX(CompositeException));
00079
00080
00082
00083 PowerSupplyRef operator=( PowerSupplyCref )
00084 throw(CORELINUX(CompositeException));
00085 };
00086
00087 #endif // if !defined(__POWERSUPPLY_HPP)
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098