#include <boost/function.hpp>
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. |
#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