|
Yate
|
A group of RTP processors handled by the same thread. More...
#include <yatertp.h>
Public Member Functions | |
| RTPGroup (int msec=0, Priority prio=Normal) | |
| virtual | ~RTPGroup () |
| virtual void | cleanup () |
| virtual void | run () |
| void | join (RTPProcessor *proc) |
| void | part (RTPProcessor *proc) |
Static Public Member Functions | |
| static void | setMinSleep (int msec) |
Friends | |
| class | RTPProcessor |
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
| 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
| void join | ( | RTPProcessor * | proc | ) |
Add a RTP processor to this group
| proc | Pointer to the RTP processor to add |
| void part | ( | RTPProcessor * | proc | ) |
Remove a RTP processor from this group
| proc | Pointer to the RTP processor to remove |
| static void setMinSleep | ( | int | msec | ) | [static] |
Set the system global minimum time to sleep in loop
| msec | Minimum time to sleep in loop in milliseconds |
1.7.6.1