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 ()
void Leave ( TInt )
void Trap ()
void UnTrap ()
Inherited Functions
TTrapHandler::TTrapHandler()
Private Attributes
CCleanup * iCleanup

Constructor & Destructor Documentation

TCleanupTrapHandler()

TCleanupTrapHandler ( )

Default constructor.

Member Functions Documentation

Cleanup()

CCleanup & Cleanup ( ) [inline]

Leave(TInt)

void Leave ( TInt aValue ) [virtual]

Deals with a function within a TRAP leaving.

Parameters

TInt aValue The leave value.

Trap()

void Trap ( ) [virtual]

Deals with the invocation of a call to TRAP.

UnTrap()

void UnTrap ( ) [virtual]

Deals with a function exiting a TRAP without leaving.

Member Data Documentation

CCleanup * iCleanup

CCleanup * iCleanup [private]