|
Altro.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_ALTRO_H 00026 #define RCUCONF_ALTRO_H 00027 #ifndef RCUCONF_COMPONENT_H 00028 # include <rcuconf/Component.h> 00029 #endif 00030 00031 namespace Rcuxx 00032 { 00033 class Altro; 00034 class AltroRegister; 00035 class AltroCommand; 00036 } 00037 00038 namespace RcuConf 00039 { 00044 class Altro : public BusComponent 00045 { 00046 public: 00049 Altro(Rcuxx::Altro& altro) : fAltro(altro) {} 00051 virtual ~Altro() {} 00052 00056 static bool Create(RcuDb::Server& server); 00057 protected: 00059 Rcuxx::AltroRegister* Name2Register(const std::string& name); 00061 Rcuxx::AltroCommand* Name2Command(const std::string& name); 00062 00064 Rcuxx::Altro& fAltro; 00065 }; 00066 } 00067 #endif 00068 // 00069 // EOF 00070 //
|