1 /* $Id: router.hpp,v 1.7 2006-01-05 16:39:37 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 /// determines next Filter to use from current Filter and Package
33 virtual const filter::Base *move(const filter::Base *filter,
34 const Package *package) const = 0;
41 * indent-tabs-mode: nil
42 * c-file-style: "stroustrup"
44 * vim: shiftwidth=4 tabstop=8 expandtab