Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

DevBase.h

Go to the documentation of this file.
00001 /*
00002  * DevBase.h
00003  *
00004  * Copyright 2003, MobileSpear Inc. (www.mobilespear.com). All rights reserved.
00005  * Copyright 2003, David Resnick. All rights reserved.
00006  *
00007  * See the file doc\license.txt for the terms of usage and distribution.
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         // This is used in conjunction with delayed events (CTimer)
00027         // When an event is received, it is compared with this member
00028         // to check if it is relavant or historical
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)

Generated on Tue Aug 12 12:41:29 2003 for bogotel by doxygen 1.3. Hosted by SourceForge.net Logo