00001 /* 00002 * This file is part of peekabot. 00003 * 00004 * peekabot is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 3 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * peekabot is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 #ifndef __PEEKABOT_HANDLER_INFORMER_HH 00019 #define __PEEKABOT_HANDLER_INFORMER_HH 00020 00021 00022 #include <map> 00023 #include <string> 00024 #include <boost/function.hpp> 00025 00026 00027 namespace peekabot 00028 { 00029 00030 class ScopedHandler; 00031 00032 class HandlerInformer 00033 { 00034 public: 00035 00036 // Note - the HandlerInformer constructor is defined in SceneFileLoader.cc 00037 // in order to reduce include file dependencies. 00038 00042 HandlerInformer( 00043 const std::string &name, 00044 boost::function<void (const std::string &, 00045 std::map<std::string, std::string>&, 00046 ScopedHandler*)> handler); 00047 00048 }; 00049 } 00050 00051 00052 #endif // __PEEKABOT_HANDLER_INFORMER_HH
1.7.1