File indexing completed on 2025-08-03 08:20:33
0001 #ifndef __DPIPE_FILTER_H__
0002 #define __DPIPE_FILTER_H__
0003
0004 #include "Event.h"
0005 #include "msg_control.h"
0006
0007 class DpipeFilter;
0008
0009 void dpipe_register(DpipeFilter * );
0010 void dpipe_unregister(DpipeFilter *);
0011
0012
0013
0014
0015
0016
0017
0018
0019 class DpipeFilter
0020 {
0021
0022 public:
0023 DpipeFilter()
0024 {
0025 dpipe_register(this);
0026 }
0027
0028 virtual ~DpipeFilter()
0029 {
0030 dpipe_unregister(this);
0031 }
0032
0033 virtual int select (Event *e) = 0;
0034
0035 virtual const char * idString() const =0;
0036
0037
0038 protected:
0039
0040
0041 };
0042
0043
0044
0045 #endif