# TBasicThread Class Reference
[Base Classes for plugins]

Basic thread class. Derive from this so you only need to implement Work(). More...

Inheritance diagram for TBasicThread:

List of all members.

## Public Member Functions
virtual MCCOMErr MCCOMAPI | QueryInterface (const MCIID &riid, void **ppvObj)
virtual uint32 MCCOMAPI | AddRef ()
virtual uint32 MCCOMAPI | Release ()
## Protected Member Functions
| TBasicThread ()
| ~TBasicThread ()

## Detailed Description

Basic thread class. Derive from this so you only need to implement Work().

## Constructor & Destructor Documentation

TBasicThread::TBasicThread | ( |  | ) | `[inline, protected]`

TBasicThread::~TBasicThread | ( |  | ) | `[inline, protected]`

## Member Function Documentation

virtual uint32 MCCOMAPI TBasicThread::AddRef | ( |  | ) | `[inline, virtual]`

Increments the reference count of the object

Reimplemented from TMCCountedObject.

virtual MCCOMErr MCCOMAPI TBasicThread::QueryInterface | ( | const MCIID & | riid,
|  | void ** | ppvObj |
| ) |  |  | `[inline, virtual]`

Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.

Parameters:

  | riid | GUID of the interface
  | ppvObj | A pointer to the pointer being returned.

Reimplemented from TMCCountedObject.

virtual uint32 MCCOMAPI TBasicThread::Release | ( |  | ) | `[inline, virtual]`

Decrements the reference count of the object. If the reference count reaches zero, the object is destroyed.

Reimplemented from TMCCountedObject.

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

- BasicThread.h