RTP Audio System  2.0.0
VerificationClientThread Class Reference
Inheritance diagram for VerificationClientThread:
Thread Synchronizable

List of all members.

Public Member Functions

 VerificationClientThread (const cardinal id, const char *localName, const char *url=DefaultURL, const cardinal count=DefaultMediaCount, const cardinal pause=DefaultPause, const double prSelectEncoding=0.1, const double prSelectQuality=0.7, const double prSelectPosition=0.3, const double prSelectMedia=0.05, const double prStop=0.03, const double prRestart=0.01)
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
AudioNull OutputDevice
AudioClientClient
card32 SSRC
card64 Position
AudioQuality Quality
const char * Encoding
cardinal ID
const char * URL
cardinal MediaCount
cardinal Pause
double PrSelectEncoding
double PrSelectQuality
double PrSelectPosition
double PrSelectMedia
double PrStop
double PrRestart
String LocalName

Constructor & Destructor Documentation

VerificationClientThread::VerificationClientThread ( const cardinal  id,
const char *  localName,
const char *  url = DefaultURL,
const cardinal  count = DefaultMediaCount,
const cardinal  pause = DefaultPause,
const double  prSelectEncoding = 0.1,
const double  prSelectQuality = 0.7,
const double  prSelectPosition = 0.3,
const double  prSelectMedia = 0.05,
const double  prStop = 0.03,
const double  prRestart = 0.01 
)

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 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
Returns:
Return value from stopped thread.

Reimplemented from Thread.

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

Member Data Documentation

const char* VerificationClientThread::Encoding [private]
const char* VerificationClientThread::URL [private]

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