--- a/kerneltest/e32test/usbho/t_otgdi/inc/b2bwatchers.h Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/e32test/usbho/t_otgdi/inc/b2bwatchers.h Wed Sep 01 12:34:56 2010 +0100
@@ -208,9 +208,9 @@
class CNotifyWatcherBase : public CActive
{
public:
- virtual ~CNotifyWatcherBase() { };
+ virtual ~CNotifyWatcherBase() {LOG_FUNC };
- virtual void StartWatching(TInt aInterval) { TInt n(aInterval); IssueAgain(); SetActive(); };
+ virtual void StartWatching(TInt aInterval) {LOG_FUNC TInt n(aInterval); IssueAgain(); SetActive(); };
// getter
TWatcherNotifyType GetType() {return(iWatchType);};
@@ -248,16 +248,16 @@
const TWatcherNotifyType aWatchType,
COtgRoot &aOtgRoot);
void ConstructL();
- virtual ~COtgWatchdogWatcher() {Cancel();};
+ virtual ~COtgWatchdogWatcher() {LOG_FUNC ;Cancel();};
void StartTimer(TInt aIntervalMs);
void StartWatching(TInt aIntervalMs) {StartTimer(aIntervalMs); };
- TInt IssueAgain() { ASSERT(0); return(0);};
- void DoCancel() {iTimer.Cancel();};
- void DisplayEvent() {ASSERT(0); }; // should never fire this
+ TInt IssueAgain() { LOG_FUNC ASSERT(0); return(0);};
+ void DoCancel() {LOG_FUNC ;iTimer.Cancel();};
+ void DisplayEvent() {LOG_FUNC ASSERT(0); }; // should never fire this
TInt GetEventValue() {return(iIntervalMs);};
void StepExpired(TInt aInterval);
@@ -285,14 +285,14 @@
static COtgStateWatcher* NewL(MOtgNotificationHandler &wdHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot);
void ConstructL() {};
- virtual ~COtgStateWatcher() { Cancel(); };
+ virtual ~COtgStateWatcher() {LOG_FUNC Cancel(); };
TInt IssueAgain() { iOtgRoot.otgQueueOtgStateRequest(iState , iStatus); return(ETrue);};
void DisplayEvent();
TInt GetEventValue() {return(iState);};
- void DoCancel() { iOtgRoot.otgCancelOtgStateRequest();};
+ void DoCancel() {LOG_FUNC iOtgRoot.otgCancelOtgStateRequest();};
protected:
COtgStateWatcher(MOtgNotificationHandler &aHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot) :
@@ -310,12 +310,12 @@
public:
static COtgEventWatcher* NewL(MOtgNotificationHandler &wdHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot);
void ConstructL() {};
- virtual ~COtgEventWatcher() { Cancel(); };
+ virtual ~COtgEventWatcher() {LOG_FUNC Cancel(); };
TInt IssueAgain() { iOtgRoot.otgQueueOtgEventRequest(iEvent , iStatus); return(ETrue);};
void DisplayEvent();
TInt GetEventValue() {return(iEvent);};
- void DoCancel() { iOtgRoot.otgCancelOtgEventRequest();};
+ void DoCancel() { LOG_FUNC iOtgRoot.otgCancelOtgEventRequest();};
protected:
COtgEventWatcher(MOtgNotificationHandler &aHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot) :
@@ -333,12 +333,12 @@
public:
static COtgMessageWatcher* NewL(MOtgNotificationHandler &wdHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot);
void ConstructL() {};
- virtual ~COtgMessageWatcher() { Cancel(); };
+ virtual ~COtgMessageWatcher() {LOG_FUNC Cancel(); };
TInt IssueAgain() { iOtgRoot.otgQueueOtgMessageRequest(iMessage, iStatus); return(ETrue);};
void DisplayEvent();
TInt GetEventValue() {return(iMessage);};
- void DoCancel() { iOtgRoot.otgCancelOtgMessageRequest();};
+ void DoCancel() {LOG_FUNC iOtgRoot.otgCancelOtgMessageRequest();};
protected:
COtgMessageWatcher(MOtgNotificationHandler &aHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot) :
@@ -354,12 +354,12 @@
public:
static CPeripheralStateWatcher* NewL(MOtgNotificationHandler &wdHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot);
void ConstructL() {};
- virtual ~CPeripheralStateWatcher() { Cancel(); };
+ virtual ~CPeripheralStateWatcher() {LOG_FUNC Cancel(); };
TInt IssueAgain() { iOtgRoot.otgQueuePeripheralStateRequest(iPeripheralState, iStatus); return(ETrue);};
void DisplayEvent();
TInt GetEventValue() {return(iPeripheralState);};
- void DoCancel() { iOtgRoot.otgCancelPeripheralStateRequest();};
+ void DoCancel() {LOG_FUNC iOtgRoot.otgCancelPeripheralStateRequest();};
protected:
CPeripheralStateWatcher(MOtgNotificationHandler &aHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot) :
@@ -375,12 +375,12 @@
public:
static CAConnectionIdleWatcher* NewL(MOtgNotificationHandler &wdHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot);
void ConstructL() {};
- virtual ~CAConnectionIdleWatcher() { Cancel(); };
+ virtual ~CAConnectionIdleWatcher() {LOG_FUNC Cancel(); };
TInt IssueAgain() { iOtgRoot.otgQueueAConnectionIdleRequest(iAConnectionIdle, iStatus); return(ETrue);};
void DisplayEvent();
TInt GetEventValue() {return(iAConnectionIdle);};
- void DoCancel() { iOtgRoot.otgCancelAConnectionIdleRequest();};
+ void DoCancel() {LOG_FUNC iOtgRoot.otgCancelAConnectionIdleRequest();};
protected:
CAConnectionIdleWatcher(MOtgNotificationHandler &aHandler, const TWatcherNotifyType aWatchType, COtgRoot &aOtgRoot) :