CisternShowLogic.h

00001 #ifndef _CISTERNSHOWLOGIC_H
00002 #define _CISTERNSHOWLOGIC_H
00003 // -------------------------------------------------------------------------
00004 #include <gtkmm.h>
00005 #include <gdkmm.h>
00006 #include <objects/QueueLogic.h>
00007 #include <SBlinker.h>
00008 #include <USignals.h>
00009 #include <ConfirmSignal.h>
00010 #include <components/CisternImageBlink.h>
00011 #include <global_macros.h>
00012 // -------------------------------------------------------------------------
00013 namespace UniWidgets
00014 {
00015 class CisternImageBlink;
00024 class CisternShowLogic : public QueueLogic
00025 {
00026 public:
00027   CisternShowLogic();
00028   explicit CisternShowLogic(Gtk::EventBox::BaseObjectType* gobject);
00029   ~CisternShowLogic() {}
00030 
00035     void on_set_state_mode(const long mode, const int type,bool blink=true);
00036     void off_set_state_mode(const long mode, const int type);           
00037     virtual void set_mode(long mode);                       
00038     virtual void set_state(bool state);                     
00039     virtual void stop_blink();                          
00040     virtual void start_blink();                         
00041     virtual bool is_blinking();                         
00042     virtual long get_state_obj();                           
00043 protected:
00044     /* Methods */
00045     virtual void on_init();                             
00046 private:
00047     /* Variables */
00048     CisternImageBlink *current_cistern_;
00049 
00050   DISALLOW_COPY_AND_ASSIGN(CisternShowLogic);
00051     /* Methods */
00052     void constructor();
00053 };
00054 
00055 }
00056 #endif

Документация по UniWidgets. Последние изменения: Fri Oct 10 09:57:49 2014. Создано системой  doxygen 1.5.9