Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

X10Device.h

Go to the documentation of this file.
00001 #include "Device.h"
00002 #include "Utility.h"
00003 
00004 #ifndef X10DEVICE_HEADER
00005 #define X10DEVICE_HEADER
00006 #include "X10Interface.h"
00007 namespace rwil {
00009   class X10Device : public Device
00010     {
00011     public:
00013       bool SupportsDim();
00015       std::string GetStatus() const;
00017       X10Device(const std::string &name, MessageList& output, char house, int number);
00019       virtual ExecuteReturns::Returns ExecuteMessage(const Message & msg);
00020 
00022       void SetHouse(std::string house);
00023       
00025       void SetNumber(int number);
00026     protected:  
00028       char GetRealHouse(std::string house) const;
00029 
00031       char GetRealNumber(int unitnumber) const;
00032 
00034       char m_house;
00036       int m_number;
00038       int brightness;
00039     };
00040 }
00041 
00042 #endif

Generated on Tue Apr 9 13:53:08 2002 for RWIL - Real World Interface Library by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001