#include <YMacroPlayer.h>
Public Member Functions | |
YMacroPlayer (const string ¯oFileName) | |
virtual | ~YMacroPlayer () |
bool | error () const |
bool | finished () |
YCPValue | evaluateNextBlock () |
void | rewind () |
Protected Member Functions | |
void | readMacroFile (const string ¯oFileName) |
void | clearError () |
void | setError () |
Protected Attributes | |
YBlockPtr | _macro |
bool | _error |
int | _nextBlockNo |
|
Constructor |
|
Destructor |
|
Clear error status |
|
Report error status |
|
Return the result of the next macro block and increment the internal block counter. Returns YCPNull() on any previous error or if finished. Check for error() or finished() before calling this! |
|
Returns "true" if the execution of the entire macro is finished. Undefined on error, so check for error() first! |
|
Read and parse a macro file. Sets the internal "error" status. |
|
Rewind macro execution - prepare to redo from start |
|
Set error status |
|
Error status |
|
The parsed macro |
|
Number of the next macro block to execute |