org::xmlBlaster::test::TestThread Class Reference

Inheritance diagram for org::xmlBlaster::test::TestThread:

Inheritance graph
Collaboration diagram for org::xmlBlaster::test::TestThread:

Collaboration graph
List of all members.

Public Member Functions

 TestThread (Global &global, string name, bool blocking)
 ~TestThread ()
void run ()
 This is the method which has to be implemented by the user.
void testThread ()
void testRecursiveThread ()
void callRecursive (int count)
void setUp (int args=0, char *argc[]=0)
void tearDown ()

Detailed Description

Definition at line 24 of file TestThread.cpp.

Constructor & Destructor Documentation

org::xmlBlaster::test::TestThread::TestThread ( Global global,
string  name,
bool  blocking 

Definition at line 34 of file TestThread.cpp.

org::xmlBlaster::test::TestThread::~TestThread (  ) 

Definition at line 44 of file TestThread.cpp.

References org::xmlBlaster::util::I_Log::call(), and org::xmlBlaster::util::thread::Thread::join().

Member Function Documentation

void org::xmlBlaster::test::TestThread::run (  )  [virtual]

This is the method which has to be implemented by the user.

Implements org::xmlBlaster::util::thread::Thread.

Definition at line 53 of file TestThread.cpp.

References org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::util::thread::Thread::sleep(), org::xmlBlaster::util::thread::Thread::sleepSecs(), and org::xmlBlaster::util::I_Log::trace().

void org::xmlBlaster::test::TestThread::testThread (  ) 

Definition at line 69 of file TestThread.cpp.

References org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::util::thread::Thread::sleepSecs(), and org::xmlBlaster::util::thread::Thread::start().

Referenced by main().

void org::xmlBlaster::test::TestThread::testRecursiveThread (  ) 

Definition at line 78 of file TestThread.cpp.

References callRecursive(), org::xmlBlaster::util::Property::get(), org::xmlBlaster::util::Global::getProperty(), and org::xmlBlaster::util::I_Log::info().

Referenced by main().

void org::xmlBlaster::test::TestThread::callRecursive ( int  count  ) 

Definition at line 89 of file TestThread.cpp.

References org::xmlBlaster::util::I_Log::info().

Referenced by testRecursiveThread().

void org::xmlBlaster::test::TestThread::setUp ( int  args = 0,
char *  argc[] = 0 

Definition at line 99 of file TestThread.cpp.

References org::xmlBlaster::util::I_Log::trace().

Referenced by main().

void org::xmlBlaster::test::TestThread::tearDown (  ) 

Definition at line 107 of file TestThread.cpp.

Referenced by main().

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