Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

OpDispatcher.h

00001 #ifndef ERIS_OP_DISPATCH_H 00002 #define ERIS_OP_DISPATCH_H 00003 00004 #include <Eris/Dispatcher.h> 00005 00006 namespace Eris 00007 { 00008 00009 class OpFromDispatcher : public StdBranchDispatcher 00010 { 00011 public: 00012 OpFromDispatcher(const std::string &nm, const std::string &id) : 00013 StdBranchDispatcher(nm), _id(id) 00014 {;} 00015 00016 virtual ~OpFromDispatcher() {;} 00017 00018 virtual bool dispatch(DispatchContextDeque &dq); 00019 protected: 00020 const std::string _id; 00021 }; 00022 00023 00024 class OpToDispatcher : public StdBranchDispatcher 00025 { 00026 public: 00027 OpToDispatcher(const std::string &nm, const std::string &id) : 00028 StdBranchDispatcher(nm), _id(id) 00029 {;} 00030 00031 virtual ~OpToDispatcher() {;} 00032 00033 virtual bool dispatch(DispatchContextDeque &dq); 00034 protected: 00035 const std::string _id; 00036 }; 00037 00038 00039 class OpRefnoDispatcher : public StdBranchDispatcher 00040 { 00041 public: 00042 OpRefnoDispatcher(const std::string &nm, long refno, unsigned depth = 0) : 00043 StdBranchDispatcher(nm), _refno(refno), _depth(depth) 00044 {;} 00045 00046 virtual ~OpRefnoDispatcher() {;} 00047 00048 virtual bool dispatch(DispatchContextDeque &dq); 00049 protected: 00050 const long _refno; 00051 const unsigned _depth; 00052 }; 00053 00054 } 00055 00056 #endif

Generated on Thu Jul 29 08:12:34 2004 for Eris by doxygen 1.3.7