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