00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef EVENTPIPEC_H
00027 #define EVENTPIPEC_H
00028
00029 #include <fstream>
00030 #include "oaw/misc/eventdesc.h"
00031
00032 #include "../oawconfig.h"
00033
00034 OAW_BEGIN_NAMESPACE
00035
00036 class OAW_DLLMAPPING EventPipeC
00037 {
00038 public:
00039 EventPipeC();
00040 virtual ~EventPipeC();
00041 virtual void Connect(EventDesI*);
00042 virtual void Disconnect(EventDesI*);
00043 virtual void SendEvent(const void*, BaseI*);
00044 void SetID(long);
00045 long GetID() {return m_ID;}
00046 int IsActive();
00047 EventDesI* GetDes(){return m_pDes;}
00048 protected:
00049 EventDesI* m_pDes;
00050 long m_ID;
00051 int m_active;
00052 };
00053
00054 OAW_END_NAMESPACE
00055
00056 #endif
00057
00058
00059
00060
00061