TCleanupTrapHandler Class Reference

class TCleanupTrapHandler : public TTrapHandler

Implementation for a handler to work with the TRAP mechanism.

This class does not normally need to be used or accessed directly by applications and third party code.

Inherits from

Public Member Functions
TCleanupTrapHandler()
CCleanup &Cleanup()
voidLeave(TInt)
voidTrap()
voidUnTrap()
Inherited Functions
TTrapHandler::TTrapHandler()
Private Attributes
CCleanup *iCleanup

Constructor & Destructor Documentation

TCleanupTrapHandler()

TCleanupTrapHandler()

Member Functions Documentation

Cleanup()

CCleanup &Cleanup()[inline]

Leave(TInt)

voidLeave(TIntaValue)[virtual]

Called when a function within a TRAP leaves.

Parameters

TInt aValueThe leave value.

Trap()

voidTrap()[virtual]

Called when a TRAP is invoked.

UnTrap()

voidUnTrap()[virtual]

Called when a function exits a TRAP without leaving.

Member Data Documentation

CCleanup * iCleanup

CCleanup *iCleanup[private]