1 /* $Id: router.hpp,v 1.9 2006-01-09 13:53:13 adam Exp $
2 Copyright (c) 2005, Index Data.
10 #include <boost/noncopyable.hpp>
21 class RouterException : public std::runtime_error {
23 RouterException(const std::string message)
24 : std::runtime_error("RouterException: " + message){};
27 class Router : boost::noncopyable {
32 virtual RoutePos *createpos() const = 0;
35 class RoutePos : boost::noncopyable {
37 virtual const filter::Base *move() = 0;
38 virtual RoutePos *clone() = 0;
39 virtual ~RoutePos() {};
46 * indent-tabs-mode: nil
47 * c-file-style: "stroustrup"
49 * vim: shiftwidth=4 tabstop=8 expandtab