fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/subrackboardbase.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           subrackboardbase.h  -  description
00003                              -------------------
00004     begin                : Wed Jul 01 2009
00005     copyright            : (C) 2009 by Hermann-Josef Mathes
00006     email                : mathes@kit.edu
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 SUBRACKBOARDBASE_H
00019 #define SUBRACKBOARDBASE_H
00020 
00021 #include <string>
00022 
00027 class SubrackBoardBase {
00028 public: 
00029   SubrackBoardBase();
00030   virtual ~SubrackBoardBase();
00031   
00034   virtual bool checkPresence();
00035   
00037   virtual bool checkProject();
00038   
00044   virtual int getVersion(int unit = 0);
00045   
00047   bool isPresent();
00048 
00049 protected:   
00050   
00052   int ID;
00053 
00056   bool present;
00057 
00059   std::string name;
00060   
00062   int project;
00063 };
00064 
00065 #endif // SUBRACKBOARDBASE_H