TCleanupTrapHandler Class Reference

#include <e32base.h>

class TCleanupTrapHandler : public TTrapHandler

Inherits from

Public Member Functions
TCleanupTrapHandler()
CCleanup &Cleanup()
virtual voidLeave(TInt)
virtual voidTrap()
virtual voidUnTrap()
Inherited Functions
TTrapHandler::TTrapHandler()

Detailed Description

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.

Constructor & Destructor Documentation

TCleanupTrapHandler ( )

TCleanupTrapHandler()

Default constructor.

Member Function Documentation

Cleanup ( )

CCleanup &Cleanup()[inline]

Leave ( TInt )

voidLeave(TIntaValue)[virtual]

Reimplemented from TTrapHandler::Leave(TInt)

Deals with a function within a TRAP leaving.

ParameterDescription
aValueThe leave value.

Trap ( )

voidTrap()[virtual]

Reimplemented from TTrapHandler::Trap()

Deals with the invocation of a call to TRAP.

UnTrap ( )

voidUnTrap()[virtual]

Reimplemented from TTrapHandler::UnTrap()

Deals with a function exiting a TRAP without leaving.