OSDLInputDevice.h

Go to the documentation of this file.
00001 #ifndef OSDL_INPUT_DEVICE_H_
00002 #define OSDL_INPUT_DEVICE_H_
00003 
00004 
00005 #include "OSDLEvents.h"           // for EventException
00006 #include "OSDLEventsCommon.h"     // for typedef
00007 
00008 
00009 #include "Ceylan.h"               // for inheritance
00010 
00011 
00012 #include <string>
00013 
00014 
00015 
00016 namespace OSDL
00017 {
00018 
00019 
00020     namespace MVC
00021     {
00022 
00023         // Controllers are linked to input devices.
00024         class Controller ;
00025         
00026     }
00027     
00028     
00029     namespace Events
00030     {
00031     
00032             
00033         
00034         
00056         class OSDL_DLL InputDevice : public Ceylan::InputDevice
00057         {
00058         
00059             
00060             public:
00061 
00062 
00063     
00069                 InputDevice() throw() ;
00070     
00071     
00077                 explicit InputDevice( 
00078                     OSDL::MVC::Controller & actualController ) throw() ;
00079     
00080     
00082                 virtual ~InputDevice() throw() ;
00083         
00084     
00096                 virtual OSDL::MVC::Controller & getActualController() 
00097                     const throw( EventsException ) ;
00098     
00099     
00111                 virtual const std::string toString( 
00112                         Ceylan::VerbosityLevels level = Ceylan::high ) 
00113                     const throw() ;
00114     
00115     
00116 
00117             private:
00118     
00119     
00128                 explicit InputDevice( const InputDevice & source ) throw() ;
00129     
00130     
00139                 InputDevice & operator = ( const InputDevice & source ) 
00140                     throw() ;
00141                 
00142                 
00143         } ;
00144     
00145     }   
00146     
00147 }
00148 
00149 
00150 
00151 #endif // OSDL_INPUT_DEVICE_H_
00152 

Generated on Fri Mar 30 14:46:59 2007 for OSDL by  doxygen 1.5.1