class testiterator Object for implementing a test iterations
| | testiterator (const string& Name) Default constructor |
| | ~testiterator () Default constructor |
| | init (diagStorage& Storage, excitationManager& Excitations, diagtest& Test, const cmdnotify& Notify, bool rtMode = true) Initialization method. |
| | begin (std::ostringstream& errmsg) Startup method. |
| | end (std::ostringstream& errmsg) Cleanup method. |
| | setup (std::ostringstream& errmsg, tainsec_t starttime) Setup method. |
| | evaluate (std::ostringstream& errmsg, bool& anotherone, int testrindex, int& rindex, bool& notify) Evaluation method. |
| | name () const Name of supervisory task. |
| | step () const Returns the iteration number |
| | numOfSteps () const Setup method. |
| | self () const New test iterator object. |
| | mux Mutex to protect supervisory object |
| | myname Name of supervisory task |
| | RTmode Real-time mode |
| | storage Pointer to diagnostic storage object |
| | tpMgr Pointer to test point management object |
| | excitations Pointer to excitation manager |
| | test Pointer to diagnostics test |
| | notify Command notification object |
| | stepnow Iteration count |
Test iterator. This object implements the iteration behaviour of a diagnostics tests. All iterators must be descendents from this object. This object implements a mutex, a pointer to the storage object, a pointer to the excitation manager for iterator controlled channels, a pointer to the diagnostics test, a command notification object and a iteration counter.
virtual ~testiterator()
virtual bool init(diagStorage& Storage, excitationManager& Excitations, diagtest& Test, const cmdnotify& Notify, bool rtMode = true)
Excitations - excitation manager
Test - diagnostics test
Notify - command notification object
rtMode - Real-time mode if true (old data otherwise)
virtual bool begin(std::ostringstream& errmsg)
virtual bool end(std::ostringstream& errmsg)
virtual bool setup(std::ostringstream& errmsg, tainsec_t starttime)
starttime - earliest time excitation can be turned on
virtual bool evaluate(std::ostringstream& errmsg, bool& anotherone, int testrindex, int& rindex, bool& notify)
anotherone - true if continue, false if stop
testrindex - first result index of test
rindex - result index for iterator result (in/out)
notify - if true upon return sends a notfication message
virtual string name() const
virtual int step() const
virtual int numOfSteps() const
virtual testiterator* self() const
recursivemutex mux
string myname
bool RTmode
diagStorage* storage
testpointMgr* tpMgr
excitationManager* excitations
diagtest* test
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++