PThreadMain2Arg< Arg1Type, Arg2Type > Class Template Reference

#include <thread.h>

Inheritance diagram for PThreadMain2Arg< Arg1Type, Arg2Type >:
PThread PObject

List of all members.

Public Member Functions

 PThreadMain2Arg (Arg1Type _arg1, Arg2Type _arg2, BOOL autoDelete=FALSE)
virtual void Main ()

Protected Attributes

Arg1Type arg1
Arg2Type arg2

template<class Arg1Type, class Arg2Type>
class PThreadMain2Arg< Arg1Type, Arg2Type >


Constructor & Destructor Documentation

template<class Arg1Type , class Arg2Type >
PThreadMain2Arg< Arg1Type, Arg2Type >::PThreadMain2Arg ( Arg1Type  _arg1,
Arg2Type  _arg2,
BOOL  autoDelete = FALSE 
) [inline]

References PThread::Resume().


Member Function Documentation

template<class Arg1Type , class Arg2Type >
virtual void PThreadMain2Arg< Arg1Type, Arg2Type >::Main (  )  [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.


Member Data Documentation

template<class Arg1Type , class Arg2Type >
Arg1Type PThreadMain2Arg< Arg1Type, Arg2Type >::arg1 [protected]
template<class Arg1Type , class Arg2Type >
Arg2Type PThreadMain2Arg< Arg1Type, Arg2Type >::arg2 [protected]

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

Generated on Sun Sep 6 03:50:38 2009 for PWLib by  doxygen 1.6.1