uniset-algorithms 0.2
Horn.h
00001 #ifndef Horn_H_
00002 #define Horn_H_
00003 // -----------------------------------------------------------------------------
00004 #include <UniSetTypes.h>
00005 // -----------------------------------------------------------------------------
00016 class Horn
00017 {
00018     public:
00019         Horn();
00020         ~Horn();
00021         
00022         void reset( bool state );
00023         void newaps( bool state );
00024         void apsstate( bool aps );
00025         
00026         void remoteLamp( long val );
00027         
00028         inline bool get(){ return state; }
00029 
00030     protected:
00031         bool state;
00032         bool waitReset;
00033         bool apsState;
00034         
00035         UniSetTypes::LampCommand remoteLampState;
00036         
00037     private:
00038 };
00039 // -----------------------------------------------------------------------------
00040 #endif // Horn_H_
00041 // -----------------------------------------------------------------------------