PollingCheck.h File Reference

#include <boost/function.hpp>
Include dependency graph for PollingCheck.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TestToolBox::PollingCheck
 Repeated polling until some condition comes true. For more info about usage see Using PollingCheck. More...

Defines

#define POLL_VERIFY(Func)   {TTB::ThePollingCheck()->Run(boost::bind(&Func,this),#Func,"", __FILE__, __LINE__);}
 Convenience macros (output of called function and possible error results via EventReceiver).
#define POLL_VERIFY1(Func, arg)   {TTB::ThePollingCheck()->Run(boost::bind(&Func,this,arg),#Func,#arg, __FILE__, __LINE__);}
 Using member function with single argument.
#define POLL_VERIFY_F(Func)   {TTB::ThePollingCheck()->Run(boost::bind(&Func),#Func,"", __FILE__, __LINE__);}
 Using free function.
#define POLL_VERIFY_F1(Func, arg)   {TTB::ThePollingCheck()->Run(boost::bind(&Func,arg),#Func,#arg, __FILE__, __LINE__);}
 Using free function with single argument.

Typedefs

typedef boost::function< bool()> TestToolBox::BoolFunctor
 Defines a boolean functor without arguments.

Functions

PollingCheck * TestToolBox::ThePollingCheck (void)
 Access/create the singleton instance of PollingCheck.

Detailed Description

Author:
Gerald Fahrnholz

Define Documentation

#define POLL_VERIFY ( Func   )     {TTB::ThePollingCheck()->Run(boost::bind(&Func,this),#Func,"", __FILE__, __LINE__);}

Convenience macros (output of called function and possible error results via EventReceiver).

Using memberfunction

Generated on Fri May 27 22:45:26 2011 for TestToolBox by  doxygen 1.6.3