Overview   API Reference  

device.hpp

00001 #if !defined(__DEVICE_HPP__)
00002 #define __DEVICE_HPP__
00003 
00004 //
00005 // local includes
00006 //
00007 #include "core/common.hpp"
00008 
00013 struct device
00014 {
00018     virtual inline ~device(void)
00019     {}
00020 
00024     static inline const char *class_name(void)
00025     {
00026         return "legacy device";
00027     }
00028 
00032     virtual const char *name(void) const = 0;
00033 
00037     virtual int reset(void) = 0;
00038 };
00039 
00040 #endif
00041 
00042 // ***** end of source ***** //
00043 

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008