00001
#ifndef ERIS_ENCAP_DISPATCH_H
00002
#define ERIS_ENCAP_DISPATCH_H
00003
00004
#include <Eris/Dispatcher.h>
00005
00006
namespace Eris
00007 {
00008
00010
00013 class EncapDispatcher :
public StdBranchDispatcher
00014 {
00015
public:
00019 EncapDispatcher(
const std::string &nm,
const unsigned int pos = 0) :
00020 StdBranchDispatcher(nm),
00021 _position(pos)
00022 { ; }
00023
00024
virtual ~
EncapDispatcher() {;}
00025
00026
virtual bool dispatch(DispatchContextDeque &dq);
00027
00028
static Dispatcher* newAnonymous();
00029
protected:
00030
const unsigned int _position;
00031 };
00032
00033 }
00034
00035
#endif