|
Yate
|
Asynchronous execution support. More...
#include <yatescript.h>
Public Member Functions | |
| ScriptAsync (ScriptRun *owner) | |
| virtual | ~ScriptAsync () |
| ScriptRun * | runner () |
| virtual bool | run ()=0 |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual bool | alive () const |
| virtual void | destruct () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| virtual void * | getObject (const String &name) const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
Asynchronous execution support.
Operation that is to be executed by the script runtime before current operation
|
inline |
Constructor
| owner | The script running instance that will own this operation |
|
inlinevirtual |
Destructor
|
pure virtual |
Execute the aynchronous operation with context unlocked if the script is paused
|
inline |
Retrieve the script running instance that owns this stack