00001 #ifndef ERIS_TYPE_DISPATCH_H 00002 #define ERIS_TYPE_DISPATCH_H 00003 00004 #include <Eris/Dispatcher.h> 00005 00006 namespace Eris 00007 { 00008 00009 class TypeDispatcher : public StdBranchDispatcher 00010 { 00011 public: 00012 TypeDispatcher(const std::string &nm, const std::string &ty) : 00013 StdBranchDispatcher(nm), _type(ty) 00014 {;} 00015 00016 virtual ~TypeDispatcher() {;} 00017 00018 virtual bool dispatch(DispatchContextDeque &dq); 00019 protected: 00020 const std::string _type; 00021 }; 00022 00023 } 00024 00025 #endif