#include <defaultsequenceiterator.hpp>
Inheritance diagram for DefaultSequenceIterator:
Public Member Functions | |
DefaultSequenceIterator () | |
Default constructor. | |
~DefaultSequenceIterator () | |
Default destructor. | |
bool | hasNextTaskId () |
Returns if there are more tasks that have to be executed. | |
int | getNextTaskId () |
Returns the id of the next task to be executed and stores the task id in previousIds vector. | |
Protected Attributes | |
int | next |
This is a default implementation of a sequence iterator. It just returns the task id one by one of the sequence stored at index zero in the sequences vector of PtfCore.
Definition at line 30 of file defaultsequenceiterator.hpp.
|
Default constructor. Definition at line 25 of file defaultsequenceiterator.cpp. References next. |
|
Default destructor. Definition at line 32 of file defaultsequenceiterator.cpp. |
|
Returns the id of the next task to be executed and stores the task id in previousIds vector.
Reimplemented from SequenceIterator. Definition at line 50 of file defaultsequenceiterator.cpp. References PtfCore::getMessageLog(), PtfCore::getSequences(), Singleton< PtfCore >::getSingleton(), hasNextTaskId(), and next. Here is the call graph for this function: ![]() |
|
Returns if there are more tasks that have to be executed.
Reimplemented from SequenceIterator. Definition at line 40 of file defaultsequenceiterator.cpp. References PtfCore::getSequences(), Singleton< PtfCore >::getSingleton(), and next. Referenced by getNextTaskId(). Here is the call graph for this function: ![]() |
|
Definition at line 32 of file defaultsequenceiterator.hpp. Referenced by DefaultSequenceIterator(), getNextTaskId(), and hasNextTaskId(). |