00001 #ifndef ERIS_ARG_DISPATCH_H
00002 #define ERIS_ARG_DISPATCH_H
00003
00004 #include <Eris/Dispatcher.h>
00005
00006 namespace Eris
00007 {
00008
00009 class ArgumentDispatcher : public StdBranchDispatcher
00010 {
00011 public:
00012 ArgumentDispatcher(const std::string &nm,
00013 const std::string &arg,
00014 const Atlas::Message::Object &v) :
00015 StdBranchDispatcher(nm),
00016 _arg(arg),
00017 _value(v)
00018 {;}
00019
00020 virtual ~ArgumentDispatcher() {;}
00021
00022 virtual bool dispatch(DispatchContextDeque &dq);
00023 protected:
00024 const std::string _arg;
00025 const Atlas::Message::Object _value;
00026 };
00027
00028 }
00029
00030 #endif