RTP Trace System  1.0
VerificationClientThread Class Reference
Inheritance diagram for VerificationClientThread:
Coral::Thread Coral::Synchronizable

List of all members.

Public Member Functions

 VerificationClientThread (const cardinal id, const char *server=DefaultServer, const char *media=DefaultMedia, const cardinal count=DefaultMediaCount, const cardinal pause=DefaultPause, const double prSelectEncoding=0.001, const double prSelectQuality=0.02, const double prSelectPosition=0.05, const double prSelectMedia=0.01, const double prStop=0.003, const double prRestart=0.001)
char * getStatusString (char *str, const cardinal maxLength)
void stop ()

Private Member Functions

void run ()
void test ()
void writeLog (const char *str)
void selectEncoding ()
void selectQuality ()
void selectPosition ()
void selectMedia ()
void restart ()

Private Attributes

Randomizer Random
TraceClientClient
card32 SSRC
card64 Position
double Utilization
double FrameRate
integer StreamPriority
integer SessionPriority
Range< card64Bandwidth
const char * Encoding
cardinal ID
const char * Server
const char * Media
cardinal MediaCount
cardinal Pause
double PrSelectEncoding
double PrSelectQuality
double PrSelectPosition
double PrSelectMedia
double PrStop
double PrRestart

Constructor & Destructor Documentation

VerificationClientThread::VerificationClientThread ( const cardinal  id,
const char *  server = DefaultServer,
const char *  media = DefaultMedia,
const cardinal  count = DefaultMediaCount,
const cardinal  pause = DefaultPause,
const double  prSelectEncoding = 0.001,
const double  prSelectQuality = 0.02,
const double  prSelectPosition = 0.05,
const double  prSelectMedia = 0.01,
const double  prStop = 0.003,
const double  prRestart = 0.001 
)

Member Function Documentation

char * VerificationClientThread::getStatusString ( char *  str,
const cardinal  maxLength 
)
void VerificationClientThread::run ( ) [private, virtual]

The virtual run() method, which contains the thread's implementation. It has to be implemented by classes, which inherit Thread.

Implements Coral::Thread.

void VerificationClientThread::stop ( ) [virtual]

Stop the thread, if not already stopped. If the thread flag ThreadCancelAsynchronous is set, it will be stopped immediately. If the flag ThreadCancelDeferred is set, it will be stopped when a cancellation point is reached (-> see pthreads documentation). testCancel() is such a cancellation point.

See also:
testCancel

Reimplemented from Coral::Thread.

void VerificationClientThread::test ( ) [private]
void VerificationClientThread::writeLog ( const char *  str) [private]

Member Data Documentation

const char* VerificationClientThread::Encoding [private]
const char* VerificationClientThread::Media [private]
const char* VerificationClientThread::Server [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines