#include <e32std.h>
class TFindHandleBase : public TFindHandle |
Public Member Functions | |
---|---|
TFindHandleBase() | |
TFindHandleBase(const TDesC &) | |
IMPORT_C void | Find(const TDesC &) |
Protected Member Functions | |
---|---|
TInt | NextObject(TFullName &, TInt) |
Inherited Functions | |
---|---|
TFindHandle::Handle()const | |
TFindHandle::Reset() | |
TFindHandle::TFindHandle() |
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.
IMPORT_C | TFindHandleBase | ( | ) |
Default constructor.
The default constructed TFindHandleBase object has the default match pattern, i.e. the single character "*".
IMPORT_C | TFindHandleBase | ( | const TDesC & | aMatch | ) |
Constructor with match pattern.
This constructor creates a TFindHandleBase object with the specified match pattern.
Parameter | Description |
---|---|
aMatch | A reference to the descriptor containing the match pattern. |
IMPORT_C void | Find | ( | const TDesC & | aMatch | ) |
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.
Parameter | Description |
---|---|
aMatch | A reference to the descriptor containing the new match pattern. |