timer_generic_epoc.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 
00003 // generated code -- do not edit
00004 
00005 #ifndef __TIMER_GENERIC_EPOC_H__
00006 #define __TIMER_GENERIC_EPOC_H__
00007 
00008 #include <e32base.h>
00009 
00010 class CTimerAo;
00011 
00012 /** A callback interface for CTimerAo.
00013  */
00014 class MTimerObserver
00015 {
00016 public:
00017 
00018   virtual void HandleTimerEvent(CTimerAo *aOrig, TInt aError) = 0;
00019 };
00020 
00021 /** A fairly generic, concrete CTimer subclass that delivers timer events via a callback interface.
00022  */
00023 class CTimerAo :
00024   public CTimer
00025 {
00026 public:
00027 
00028   static CTimerAo *NewLC(MTimerObserver &aInterface, TInt aPriority);
00029 
00030   static CTimerAo *NewL(MTimerObserver &aInterface, TInt aPriority);
00031 
00032 private:
00033 
00034   CTimerAo(MTimerObserver &aInterface, TInt aPriority);
00035 
00036   virtual void RunL();
00037 
00038   MTimerObserver &iInterface;
00039 };
00040 
00041 #endif // __TIMER_GENERIC_EPOC_H__

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:56 2011 by Doxygen 1.6.1