uniset-algorithms 0.2
ConfirmLamp.h
00001 // -----------------------------------------------------------------------------
00002 #ifndef ConfirmLamp_H_
00003 #define ConfirmLamp_H_
00004 // -----------------------------------------------------------------------------
00005 #include <UniSetTypes.h>
00006 // -----------------------------------------------------------------------------
00012 class ConfirmLamp
00013 {
00014     public:
00015         ConfirmLamp();
00016         ~ConfirmLamp();
00017 
00021         void confirm( bool state );
00022 
00023         void apsstate( bool aps );
00024         
00025         inline UniSetTypes::LampCommand get(){ return lmpState; }
00026 
00027     protected:
00028         bool waitConfirm;
00029         bool apsState;
00030         UniSetTypes::LampCommand lmpState;
00031         
00032     private:
00033 };
00034 // -----------------------------------------------------------------------------
00035 #endif // ConfirmLamp_H_
00036 // -----------------------------------------------------------------------------