Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends

ChannelCopyThread Class Reference

Inheritance diagram for ChannelCopyThread:
Inheritance graph
Collaboration diagram for ChannelCopyThread:
Collaboration graph

List of all members.

Public Types

enum  Priority {
  LowestPriority, LowPriority, NormalPriority, HighPriority,
  HighestPriority, NumPriorities

Codes for thread priorities.

enum  AutoDeleteFlag { AutoDeleteThread, NoAutoDeleteThread }

Codes for thread autodelete flag.


Public Member Functions

 ChannelCopyThread (PChannel &_from, PChannel &_to)
void Main ()
void PXAbortBlock () const
int PXBlockOnChildTerminate (int pid, const PTimeInterval &timeout)
int PXBlockOnIO (int handle, int type, const PTimeInterval &timeout)
Overrides from PObject
void PrintOn (ostream &strm) const
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Member Functions

void InitialiseProcessThread ()

Protected Attributes


Private Member Functions

 PCLASSINFO (ChannelCopyThread, PThread)


class PTrace::Block

Control functions

virtual void Restart ()
virtual void Terminate ()
virtual BOOL IsTerminated () const
void WaitForTermination () const
BOOL WaitForTermination (const PTimeInterval &maxWait) const
virtual void Suspend (BOOL susp=TRUE)
virtual void Resume ()
virtual BOOL IsSuspended () const
virtual void SetPriority (Priority priorityLevel)
virtual Priority GetPriority () const
virtual void SetAutoDelete (AutoDeleteFlag deletion=AutoDeleteThread)
void SetNoAutoDelete ()
virtual PString GetThreadName () const
virtual void SetThreadName (const PString &name)
static void Sleep (const PTimeInterval &delay)
 Suspend the current thread for the specified amount of time.


virtual PThreadIdentifier GetThreadId () const
static PThreadIdentifier GetCurrentThreadId ()
static PThreadCurrent ()
static void Yield ()
static PThreadCreate (const PNotifier &notifier, INT parameter=0, AutoDeleteFlag deletion=AutoDeleteThread, Priority priorityLevel=NormalPriority, const PString &threadName=PString::Empty(), PINDEX stackSize=10000)

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
BOOL IsClass (const char *cls) const
virtual BOOL InternalIsDescendant (const char *clsName) const
static const char * Class ()

Comparison functions

virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

I/O functions

virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Detailed Description

Definition at line 45 of file main.cxx.

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

Generated by  Doxygen 1.6.0   Back to index