Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

Sensor.h

Go to the documentation of this file.
00001 /************************************************************************************************/
00002 /*! \file Sensor.h
00003 *  \brief The Sensor class provides the interface for h/w sensors.
00004 *  \author $Author: cakinli $
00005 *  \version $Revision: 1.3 $
00006 *  \date    $Date: 2005/02/25 18:40:52 $
00007 ************************************************************************************************/
00008 /*! 
00009 *
00010 ************************************************************************************************/
00011 
00012 #ifndef __SSSL_SENSOR_H__
00013 #define __SSSL_SENSOR_H__
00014 
00015 #include <Base/Device.h>
00016 #include <Utils/Measurement.h>
00017 
00018 class Sensor : public Device  
00019 {
00020 public:
00021         /*! Constructors-Deconstructors */
00022         Sensor();
00023         virtual ~Sensor();
00024 
00025         //virtual int Initialize();
00026         
00027         /*! Facilitators */
00028 
00029                 /*! Inspectors */
00030 
00031                         /*! Get the current measurement
00032                         * @param z the current measurement
00033                         */
00034                         virtual Measurement GetMeasurement() = 0;
00035                         // for now return double, in future
00036                         // return Measurement type.
00037 
00038 protected:
00039 
00040 };
00041 
00042 #endif 
00043 // Do not change the comments below - they will be added automatically by CVS
00044 /*****************************************************************************
00045 *       $Log: Sensor.h,v $
00046 *       Revision 1.3  2005/02/25 18:40:52  cakinli
00047 *       Created Makefiles and organized include directives to reduce the number of
00048 *       include paths.  Reorganized libraries so that there is now one per source
00049 *       directory.  Each directory is self-contained in terms of its Makefile.
00050 *       The local Makefile in each directory includes src/config.mk, which has all
00051 *       the definitions and general and pattern rules.  So at most, to see what
00052 *       goes into building a target, a person needs to examine the Makefile in
00053 *       that directory, and ../config.mk.
00054 *       
00055 *       Revision 1.2  2003/07/18 17:19:22  shoemaker
00056 *       Changed return type to Measurement type
00057 *       
00058 *       Revision 1.1  2003/07/04 14:08:05  simpliciter
00059 *       Rearranged directory tree.
00060 *       
00061 *       Revision 1.4  2003/07/03 16:54:48  shoemaker
00062 *       Added semi-working versions of DMU code
00063 *       
00064 *       Revision 1.3  2003/06/25 21:50:27  mavandyk
00065 *       Alter architechture of class structure.
00066 *       
00067 *       Revision 1.2  2003/06/24 01:02:24  mavandyk
00068 *       Added measurment data members and functions.
00069 *       
00070 *       Revision 1.1.1.1  2003/06/06 18:44:15  simpliciter
00071 *       Initial submission.
00072 *       
00073 *       Revision 1.1.1.1  2003/06/06 14:44:15  simpliciter
00074 *       Initial import.
00075 *       
00076 *
00077 ******************************************************************************/

Generated on Wed Sep 5 12:54:25 2007 for DSACSS Operational Code by  doxygen 1.3.9.1