RTPGroup Class Reference

A group of RTP processors handled by the same thread. More...

#include <yatertp.h>

Inheritance diagram for RTPGroup:

GenObject Mutex Thread Runnable

List of all members.

Public Member Functions

 RTPGroup (int msec=0, Priority prio=Normal)
virtual ~RTPGroup ()
virtual void cleanup ()
virtual void run ()

Static Public Member Functions

static void setMinSleep (int msec)

Protected Member Functions

void join (RTPProcessor *proc)
void part (RTPProcessor *proc)

Friends

class RTPProcessor


Detailed Description

A group of RTP processors handled by the same thread.

Several possibly related RTP processors share the same RTP group which holds the thread that keeps them running.


Constructor & Destructor Documentation

RTPGroup ( int  msec = 0,
Priority  prio = Normal 
)

Constructor

Parameters:
msec Minimum time to sleep in loop in milliseconds
prio Thread priority to run this group

virtual ~RTPGroup (  )  [virtual]

Group destructor, removes itself from all remaining processors


Member Function Documentation

virtual void cleanup (  )  [virtual]

Inherited thread cleanup

Reimplemented from Thread.

virtual void run (  )  [virtual]

Inherited thread run method

Implements Runnable.

static void setMinSleep ( int  msec  )  [static]

Set the system global minimum time to sleep in loop

Parameters:
msec Minimum time to sleep in loop in milliseconds

void join ( RTPProcessor proc  )  [protected]

Add a RTP processor to this group

Parameters:
proc Pointer to the RTP processor to add

void part ( RTPProcessor proc  )  [protected]

Remove a RTP processor from this group

Parameters:
proc Pointer to the RTP processor to remove


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

Generated on Mon Aug 11 16:17:54 2008 for Yate by  doxygen 1.5.6