Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AxPipe::CThreadSource< T > Class Template Reference

Start a CSource in a separate thread. A CSource derived class will be setup to Drain() in it's own thread. More...

#include <CThread.h>

Inheritance diagram for AxPipe::CThreadSource< T >:

Inheritance graph
[legend]
Collaboration diagram for AxPipe::CThreadSource< T >:

Collaboration graph
[legend]
List of all members.

Private Member Functions

virtual int Main ()
 The ThreadProc for the worker thread Do Open()->Drain()->Close()->Plug();.


Detailed Description

template<class T>
class AxPipe::CThreadSource< T >

Start a CSource in a separate thread. A CSource derived class will be setup to Drain() in it's own thread.

See also:
Main()
Parameters:
T A CSource derived class to start in it's own thread.

Definition at line 217 of file CThread.h.


Member Function Documentation

template<class T>
virtual int AxPipe::CThreadSource< T >::Main  )  [inline, private, virtual]
 

The ThreadProc for the worker thread Do Open()->Drain()->Close()->Plug();.

Returns:
Always 0, not the thread exit code.

Reimplemented from AxPipe::CThreadMain< T >.

Definition at line 222 of file CThread.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 2 13:19:29 2004 for AxPipe by doxygen 1.3.5