00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _BOGOTEL_DEVBASE_H
00011 #define _BOGOTEL_DEVBASE_H
00012
00013 #include <bogotel/bgtrt.h>
00014
00015 namespace bogotel {
00016
00017 class CTimer;
00018 class CMsgTransport;
00019
00020 class CDevBase
00021 {
00022 public:
00023 static CMsgTransport *m_pTransport;
00024 static CTimer *m_pTimer;
00025
00026
00027
00028
00029 long m_lId;
00030
00031 CDevBase(CBgtRt *pBgtRt);
00032 virtual ~CDevBase();
00033 int init();
00034
00035 protected:
00036 CBgtRt *m_pBgtRt;
00037 CMsg *m_pMsg;
00038 };
00039 }
00040
00041 #endif // !defined(_BOGOTEL_DEVBASE_H)