template <class testT, class idT = int> class testsync : public syncpoint Template class for setting synchronization points in tests.
| | id callback identifier |
| | testsync (testT& Test, idT Id = idT(), synctype Sync = invalid, tainsec_t Time = 0) Constructor. |
| | action (syncpointer& sync, bool& notify) Synchronization action. |
| | abort () abort function. |
| | pause (syncpointer& syncpt) pause function. |
| | resume (syncpointer& syncpt) resume function. |
| | test diagnostics test used for callback |
This template class implements synchronization points for test objects. It uses callback functions into the template class for action, abort, pause and resume functions. The first template parameter is the class which is used for callbacks (typically a descendent of diagtest); the second template parameter is the type which is passed as the argument to the callback fucntions; the third template parameter is the default callback member function for synchronization events; the fourth template parameter is the default callback member function for aborting a test; the fivth template parameter is the default callback member function for pausing a test; and the sixth template parameter is the default callback member function for resuming a test. (When instantinating this template, member functions have to be specified without a preceeding address operator&. Also it must not be an inline function.)
virtual bool action(syncpointer& sync, bool& notify)
notify - if true upon return sends a notfication message
virtual bool abort()
virtual bool pause(syncpointer& syncpt)
virtual bool resume(syncpointer& syncpt)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++