1 /* $Id: router_chain.hpp,v 1.9 2007-05-09 21:23:09 adam Exp $
2 Copyright (c) 2005-2007, Index Data.
4 This file is part of Metaproxy.
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef ROUTER_CHAIN_HPP
23 #define ROUTER_CHAIN_HPP
28 #include <boost/scoped_ptr.hpp>
31 namespace metaproxy_1 {
32 class RouterChain : public Router {
37 virtual ~RouterChain();
38 virtual RoutePos *createpos() const;
39 RouterChain & append(const filter::Base &filter);
41 boost::scoped_ptr<Rep> m_p;
42 /// disabled because class is singleton
43 RouterChain(const RouterChain &);
45 /// disabled because class is singleton
46 RouterChain& operator=(const RouterChain &);
54 * indent-tabs-mode: nil
55 * c-file-style: "stroustrup"
57 * vim: shiftwidth=4 tabstop=8 expandtab