1 /* $Id: router.hpp,v 1.10 2006-01-11 11:51:50 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(const char *route) = 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