Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:


Construction and destruction


TTrapHandler()

IMPORT_C TTrapHandler();

Description

Default constructor.

[Top]


Member functions


Trap()

IMPORT_C virtual void Trap()=0;

Description

Called when a TRAP is invoked.


UnTrap()

IMPORT_C virtual void UnTrap()=0;

Description

Called when a function exits a TRAP without leaving.


Leave(TInt)

IMPORT_C virtual void Leave(TInt aValue)=0;

Description

Called when a function within a TRAP leaves.

Parameters

TInt aValue

The leave value.