#include <thread.h>
Inheritance diagram for PThread1Arg< Arg1Type >:
Public Types | |
typedef void(*) | FnType (Arg1Type arg1) |
Public Member Functions | |
PThread1Arg (Arg1Type arg1, FnType function, bool autoDelete=false) | |
PThread1Arg (const char *file, int line, Arg1Type arg1, FnType function, bool autoDelete=false) | |
virtual void | Main () |
Protected Attributes | |
FnType | m_function |
Arg1Type | m_arg1 |
typedef void(*) PThread1Arg< Arg1Type >::FnType(Arg1Type arg1) |
PThread1Arg< Arg1Type >::PThread1Arg | ( | Arg1Type | arg1, | |
FnType | function, | |||
bool | autoDelete = false | |||
) | [inline] |
PThread1Arg< Arg1Type >::PThread1Arg | ( | const char * | file, | |
int | line, | |||
Arg1Type | arg1, | |||
FnType | function, | |||
bool | autoDelete = false | |||
) | [inline] |
virtual void PThread1Arg< 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.
Arg1Type PThread1Arg< Arg1Type >::m_arg1 [protected] |
FnType PThread1Arg< Arg1Type >::m_function [protected] |