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()

Default constructor.

Member Functions Documentation

Cleanup()

CCleanup &Cleanup()[inline]

Leave(TInt)

voidLeave(TIntaValue)[virtual]

Deals with a function within a TRAP leaving.

Parameters

TInt aValueThe leave value.

Trap()

voidTrap()[virtual]

Deals with the invocation of a call to TRAP.

UnTrap()

voidUnTrap()[virtual]

Deals with a function exiting a TRAP without leaving.

Member Data Documentation

CCleanup * iCleanup

CCleanup *iCleanup[private]