Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TTrapHandler

class TTrapHandler;

Description

Abstract class that defines a handler to work with the TRAP mechanism.

Symbian OS provides a trap handler and this class does not normally need to be used or accessed directly by applications and third party code.

Members

Defined in TTrapHandler:
Leave(), TTrapHandler(), Trap(), UnTrap()


Construction and destruction


TTrapHandler()

IMPORT_C TTrapHandler();

Description

Default constructor.

[Top]


Member functions


Trap()

virtual IMPORT_C void Trap()=0;

Description

Called when a TRAP is invoked.


UnTrap()

virtual IMPORT_C void UnTrap()=0;

Description

Called when a function exits a TRAP without leaving.


Leave()

virtual IMPORT_C void Leave(TInt aValue)=0;

Description

Called when a function within a TRAP leaves.

Parameters

TInt aValue

The leave value.