|
Hormiga 1.0
|
#include <step.h>

Public Types | |
| enum | state { NotSatisfied, Satisfied, Executing, Accepted } |
Public Slots | |
| void | notifyStepState (Step *peer, Step::state newState, Step::state oldState) |
| void | run () |
| void | sleep () |
| void | wakeUp () |
| void | showMessage (int severity, T_STRING msg) |
Signals | |
| void | stateChanged (Step *emisor, Step::state newState, Step::state oldState) |
| void | needInput (Step *emisor, T_CAPTURE_LIST *captures) |
| void | reportOutput (Step *emisor, T_REPORT_LIST *reports) |
| void | message (int severity, T_STRING msg) |
Public Member Functions | |
| virtual T_STRING | toString () const |
| T_STRING | getName () |
| virtual void | setStepNeeds (T_STEP_LIST *stepsNeeded) |
| virtual void | setExecutionBlock (Statement *execBlock) |
| virtual void | setCaptures (T_CAPTURE_LIST *captures) |
| virtual void | setReports (T_REPORT_LIST *reports) |
| virtual void | setStepCondition (StepCondition *condition) |
| Step (T_STRING name) | |
| ~Step () | |
| virtual void | changeState (Step::state newState) |
Protected Member Functions | |
| virtual bool | exec (bool interactive) |
Protected Attributes | |
| unsigned int | unsatisfiedDependencesCount |
| Step::state | currentState |
| bool | alreadyExecuted |
| T_STEP_LIST * | stepsNeeded |
| Statement * | execBlock |
| T_CAPTURE_LIST * | captures |
| T_REPORT_LIST * | reports |
| StepCondition * | condition |
| T_STRING | name |
| QMutex | execSleep |
| enum Step::state |
| void Step::changeState | ( | Step::state | newState | ) | [virtual] |
| bool Step::exec | ( | bool | interactive | ) | [protected, virtual] |
This method executes the 'execution block'. If the interactive parameter is 'true' the Step will emit the signals 'needInput' and 'reportOutput', else those signal will no be emited.
| interactive | emit or not the signals 'needInput' and 'reportOutput' |
Definition at line 93 of file step.cpp.


| T_STRING Step::getName | ( | ) |
| void Step::message | ( | int | severity, |
| T_STRING | msg | ||
| ) | [signal] |

| void Step::needInput | ( | Step * | emisor, |
| T_CAPTURE_LIST * | captures | ||
| ) | [signal] |

| void Step::notifyStepState | ( | Step * | peer, |
| Step::state | newState, | ||
| Step::state | oldState | ||
| ) | [slot] |
| void Step::reportOutput | ( | Step * | emisor, |
| T_REPORT_LIST * | reports | ||
| ) | [signal] |

| void Step::run | ( | ) | [slot] |
| void Step::setCaptures | ( | T_CAPTURE_LIST * | captures | ) | [virtual] |
| void Step::setExecutionBlock | ( | Statement * | execBlock | ) | [virtual] |
| void Step::setStepCondition | ( | StepCondition * | condition | ) | [virtual] |
| void Step::setStepNeeds | ( | T_STEP_LIST * | stepsNeeded | ) | [virtual] |
| void Step::showMessage | ( | int | severity, |
| T_STRING | msg | ||
| ) | [inline, slot] |
See CoreInterface::notifyMessage()
Definition at line 114 of file step.h.


| void Step::sleep | ( | ) | [inline, slot] |
| void Step::stateChanged | ( | Step * | emisor, |
| Step::state | newState, | ||
| Step::state | oldState | ||
| ) | [signal] |

| void Step::wakeUp | ( | ) | [inline, slot] |
bool Step::alreadyExecuted [protected] |
T_CAPTURE_LIST* Step::captures [protected] |
StepCondition* Step::condition [protected] |
Step::state Step::currentState [protected] |
Statement* Step::execBlock [protected] |
QMutex Step::execSleep [protected] |
T_STRING Step::name [protected] |
T_REPORT_LIST* Step::reports [protected] |
T_STEP_LIST* Step::stepsNeeded [protected] |
unsigned int Step::unsatisfiedDependencesCount [protected] |