Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32std.h>
Link against: euser.lib

Class TFindHandleBase

class TFindHandleBase : public TFindHandle;

Description

Base class for searching for global kernel objects.

This is the base class for a number of classes which are used to find specific types of global kernel object such as semaphores, threads and mutexes; TFindSemaphore, TFindThread and TFindMutex are typical examples of such derived classes.

The class implements the common behaviour, specifically, the storage of the match pattern which is used to search for object names.

This class is not intended to be explicitly instantiated; it has public constructors but they are part of the class implementation and are described for information only.

Derivation

Members

Defined in TFindHandleBase:


Construction and destruction


TFindHandleBase()

IMPORT_C TFindHandleBase();

Description

Default constructor.

The default constructed TFindHandleBase object has the default match pattern, i.e. the single character "*".


TFindHandleBase(const TDesC &)

IMPORT_C TFindHandleBase(const TDesC &aMatch);

Description

Constructor with match pattern.

This constructor creates a TFindHandleBase object with the specified match pattern.

Parameters

const TDesC16 &aMatch

A reference to the descriptor containing the match pattern.

[Top]


Member functions


Find(const TDesC &)

IMPORT_C void Find(const TDesC &aMatch);

Description

Sets a new match pattern.

On return from this function, this TFindHandleBase object contains a copy of the supplied match pattern; the source descriptor can, therefore, be safely discarded.

Parameters

const TDesC16 &aMatch

A reference to the descriptor containing the new match pattern.