Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TCleanupItem Class Reference

Encapsulates a cleanup operation and an object on which the operation is to be performed. More...

#include <e32base.h>

Public Member Functions

 TCleanupItem (TCleanupOperation anOperation, TAny *aPtr=0)
 Constructs the object with a cleanup operation and a pointer to the object to be cleaned up.
 

Friends

class TCleanupStackItem
 

Detailed Description

Encapsulates a cleanup operation and an object on which the operation is to be performed.

The class allows cleanup to be more sophisticated than simply deleting objects, for example, releasing access to some shared resource.

API status
Published to all clients. Released API.

Definition at line 1372 of file e32base.h.

Constructor & Destructor Documentation

◆ TCleanupItem()

TCleanupItem::TCleanupItem ( TCleanupOperation  anOperation,
TAny *  aPtr = 0 
)
inline

Constructs the object with a cleanup operation and a pointer to the object to be cleaned up.

Parameters
anOperationA cleanup operation which will be invoked by the pop and destroy action resulting from a subsequent call to CleanupStack::PopAndDestroy().
aPtrA pointer to an object which is the target of the cleanup operation.

(generated from Symbian Developer Library)

Friends And Related Symbol Documentation

◆ TCleanupStackItem

friend class TCleanupStackItem
friend

Definition at line 1391 of file e32base.h.


The documentation for this class was generated from the following files: