00001 /*************************************************************************** 00002 LOW_component.h - description 00003 ------------------- 00004 begin : Fri Jul 12 2002 00005 copyright : (C) 2002 by Harald Roelle, Helmut Reiser 00006 email : roelle@informatik.uni-muenchen.de, reiser@informatik.uni-muenchen.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef LOW_COMPONENT_H 00019 #define LOW_COMPONENT_H 00020 00021 00022 #include "LOW_exception.h" 00023 00024 00025 /** Abstract base class for 1-Wire components. 00026 00027 Any component class representing a concrete 1-Wire based component 00028 must inherit from this class. 00029 00030 @todo Add multi-link lock for simultanously lock devices on different 1-Wire links. 00031 00032 @author Harald Roelle, Helmut Reiser 00033 */ 00034 class LOW_component { 00035 00036 //======================================================================================= 00037 public: 00038 00039 //===================================================================================== 00040 // 00041 // exceptions 00042 // 00043 00044 /** Exception base class for all exceptions thrown by LOW_component. */ 00045 class_DERIVE_FROM_EXCEPTION( component_error, LOW_exception); 00046 00047 00048 00049 //===================================================================================== 00050 // 00051 // constructor 00052 // 00053 00054 /** Constructor. 00055 */ 00056 LOW_component(); 00057 00058 /** Destructor. 00059 */ 00060 virtual ~LOW_component(); 00061 00062 }; 00063 00064 #endif