#include <thread.h>
Inheritance diagram for PThreadObj1Arg< ObjType, Arg1Type >:

Public Types | |
| typedef void(ObjType::*) | ObjTypeFn (Arg1Type) |
Public Member Functions | |
| PThreadObj1Arg (ObjType &_obj, Arg1Type _arg1, ObjTypeFn _fn, PBoolean _autoDelete=PFalse) | |
| PThreadObj1Arg (const char *_file, int _line, ObjType &_obj, Arg1Type _arg1, ObjTypeFn _fn, PBoolean _autoDelete=PFalse) | |
| void | Main () |
Protected Attributes | |
| ObjType & | obj |
| ObjTypeFn | fn |
| Arg1Type | arg1 |
| typedef void(ObjType::*) PThreadObj1Arg< ObjType, Arg1Type >::ObjTypeFn(Arg1Type) |
| PThreadObj1Arg< ObjType, Arg1Type >::PThreadObj1Arg | ( | ObjType & | _obj, | |
| Arg1Type | _arg1, | |||
| ObjTypeFn | _fn, | |||
| PBoolean | _autoDelete = PFalse | |||
| ) | [inline] |
| PThreadObj1Arg< ObjType, Arg1Type >::PThreadObj1Arg | ( | const char * | _file, | |
| int | _line, | |||
| ObjType & | _obj, | |||
| Arg1Type | _arg1, | |||
| ObjTypeFn | _fn, | |||
| PBoolean | _autoDelete = PFalse | |||
| ) | [inline] |
| void PThreadObj1Arg< ObjType, Arg1Type >::Main | ( | ) | [inline, virtual] |
User override function for the main execution routine of the thread. A descendent class must provide the code that will be executed in the thread within this function.
Note that the correct way for a thread to terminate is to return from this function.
Implements PThread.
ObjType& PThreadObj1Arg< ObjType, Arg1Type >::obj [protected] |
ObjTypeFn PThreadObj1Arg< ObjType, Arg1Type >::fn [protected] |
Arg1Type PThreadObj1Arg< ObjType, Arg1Type >::arg1 [protected] |
1.5.1