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 class ObjectDispatcher : public StdBranchDispatcher
00024 {
00025 public:
00026 ObjectDispatcher(const std::string &nm) :
00027 StdBranchDispatcher(nm)
00028 {;}
00029
00030 virtual ~ObjectDispatcher() {;}
00031
00032 virtual bool dispatch(DispatchContextDeque &dq);
00033 };
00034
00035 }
00036
00037 #endif