class RTPGroup

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

Full nameTelEngine::RTPGroup
Definition#include <libs/yrtp/yatertp.h>
InheritsTelEngine::GenObject [public ], TelEngine::Mutex [public ], TelEngine::Thread [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

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

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

RTPGroup

Constructor

Parameters:
msecMinimum time to sleep in loop in milliseconds
prioThread priority to run this group

 ~RTPGroup ()

~RTPGroup

[virtual]

Group destructor, removes itself from all remaining processors

void  cleanup ()

cleanup

[virtual]

Inherited thread cleanup

Reimplemented from Thread.

void  run ()

run

[virtual]

Inherited thread run method

Reimplemented from Runnable.

void  setMinSleep (int msec)

setMinSleep

[static]

Set the system global minimum time to sleep in loop

Parameters:
msecMinimum time to sleep in loop in milliseconds

void  join (RTPProcessor* proc)

join

Add a RTP processor to this group

Parameters:
procPointer to the RTP processor to add

void  part (RTPProcessor* proc)

part

Remove a RTP processor from this group

Parameters:
procPointer to the RTP processor to remove


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.