00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _BOGOTEL_GETDIGOP_H
00011 #define _BOGOTEL_GETDIGOP_H
00012
00013 #include <bogotel/IOOp.h>
00014 #include <bogotel/timertarget.h>
00015
00016 #include <srltpt.h>
00017 #include <dxdigit.h>
00018
00019 namespace bogotel {
00020
00021 class CTermParms;
00022
00023 class CGetDigOp : public CIOOp {
00024 public:
00025
00026 CGetDigOp(CVoiceDev*, const DV_TPT* pTPT, DV_DIGIT *pDigit);
00027 virtual ~CGetDigOp();
00028 virtual long terminationEvent();
00029 virtual void start();
00030 virtual void terminate(long reason);
00031
00032 virtual std::string toString();
00033
00034 protected:
00035 virtual void _timerExpired(int timerType, int stateId);
00036
00037 private:
00038 static const char* s_szName;
00039 DV_DIGIT* m_pDigit;
00040 CTermParms* m_pTermParms;
00041 };
00042 }
00043
00044 #endif // ! _BOGOTEL_GETDIGOP_H