|
Fmd.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_FMD_H 00026 #define RCUCONF_FMD_H 00027 #ifndef RCUCONF_BC_H 00028 # include <rcuconf/Bc.h> 00029 #endif 00030 // #ifndef RCUXX_FMD_H 00031 // # include <rcuxx/Fmd.h> 00032 // #endif 00033 00034 namespace Rcuxx 00035 { 00036 class Fmd; 00037 class AltroRegister; 00038 class AltroCommand; 00039 } 00040 00041 namespace RcuConf 00042 { 00047 class Fmd : public Bc 00048 { 00049 public: 00052 Fmd(Rcuxx::Fmd& fmd); // : Bc(fmd), fFmd(fmd) {} 00054 virtual ~Fmd() {} 00055 00056 00060 static bool Create(RcuDb::Server& server); 00061 protected: 00063 Rcuxx::AltroRegister* Name2Register(const std::string& name); 00065 Rcuxx::AltroCommand* Name2Command(const std::string& name); 00066 00068 Rcuxx::Fmd& fFmd; 00069 }; 00070 } 00071 #endif 00072 // 00073 // EOF 00074 //
|