#include <QoreProgram.h>
Public Member Functions | |
DLLLOCAL | QoreProgramHelper (ExceptionSink &xs) |
creates the QoreProgram object | |
DLLLOCAL | ~QoreProgramHelper () |
waits until the QoreProgram object is done executing and then dereferences the object | |
DLLLOCAL QoreProgram * | operator-> () |
returns the QoreProgram object being managed | |
DLLLOCAL QoreProgram * | operator* () |
returns the QoreProgram object being managed |
DLLLOCAL QoreProgramHelper::~QoreProgramHelper | ( | ) | [inline] |
waits until the QoreProgram object is done executing and then dereferences the object
QoreProgram objects are deleted when there reference count reaches 0.
References QoreProgram::waitForTerminationAndDeref().