|
Bc.hGo to the documentation of this file.00001 // -*- mode: C++ -*- 00002 // 00003 // Copyright (C) 2006 Christian Holm Christensen <cholm@nbi.dk> 00004 // 00005 // This library is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public License 00007 // as published by the Free Software Foundation; either version 2.1 00008 // of the License, or (at your option) any later version. 00009 // 00010 // This library is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with this library; if not, write to the Free 00017 // Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 00018 // 02111-1307 USA 00019 // 00025 #ifndef RCUCONF_BC_H 00026 #define RCUCONF_BC_H 00027 #ifndef RCUCONF_COMPONENT_H 00028 # include <rcuconf/Component.h> 00029 #endif 00030 00031 namespace Rcuxx 00032 { 00033 class Bc; 00034 class AltroRegister; 00035 class AltroCommand; 00036 } 00037 00038 namespace RcuConf 00039 { 00044 class Bc : public BusComponent 00045 { 00046 public: 00049 Bc(Rcuxx::Bc& bc) : fBc(bc) {} 00051 virtual ~Bc() {} 00052 00053 00057 static bool Create(RcuDb::Server& server); 00058 protected: 00060 virtual Rcuxx::AltroRegister* Name2Register(const std::string& name); 00062 virtual Rcuxx::AltroCommand* Name2Command(const std::string& name); 00063 00065 Rcuxx::Bc& fBc; 00066 }; 00067 } 00068 #endif 00069 // 00070 // EOF 00071 //
|