|
|
typedef std::unique_ptr< PyObject, PyObjectDeleter > | PyObjectPtr |
| |
|
|
| CPythonInvoker (ILanguageInvocationHandler *invocationHandler) |
| |
|
bool | Execute (const std::string &script, const std::vector< std::string > &arguments=std::vector< std::string >()) override |
| |
|
bool | IsStopping () const override |
| |
|
| ILanguageInvoker (ILanguageInvocationHandler *invocationHandler) |
| |
|
virtual bool | Stop (bool abort=false) |
| |
|
void | SetId (int id) |
| |
|
int | GetId () const |
| |
|
const ADDON::AddonPtr & | GetAddon () const |
| |
|
void | SetAddon (const ADDON::AddonPtr &addon) |
| |
|
InvokerState | GetState () const |
| |
|
bool | IsActive () const |
| |
|
bool | IsRunning () const |
| |
|
void | Reset () |
| |
|
|
bool | execute (const std::string &script, const std::vector< std::string > &arguments) override |
| |
|
virtual void | executeScript (FILE *fp, const std::string &script, PyObject *moduleDict) |
| |
|
bool | stop (bool abort) override |
| |
|
void | onExecutionDone () override |
| |
|
void | onExecutionFailed () override |
| |
|
virtual const char * | getInitializationScript () const =0 |
| |
|
virtual void | onInitialization () |
| |
|
virtual void | onPythonModuleInitialization (void *moduleDict) |
| |
|
virtual void | onDeinitialization () |
| |
|
virtual void | onSuccess () |
| |
|
virtual void | onAbort () |
| |
|
virtual void | onError (const std::string &exceptionType="", const std::string &exceptionValue="", const std::string &exceptionTraceback="") |
| |
|
virtual void | AbortNotification () |
| | Called to notify the script is aborting.
|
| |
|
virtual void | pulseGlobalEvent () |
| |
|
virtual bool | onExecutionInitialized () |
| |
|
virtual void | onExecutionFinalized () |
| |
|
void | setState (InvokerState state) |
| |
|
|
std::string | m_sourceFile |
| |
|
CCriticalSection | m_critical |
| |
|
ADDON::AddonPtr | m_addon |
| |
The documentation for this class was generated from the following files:
- xbmc/interfaces/python/PythonInvoker.h
- xbmc/interfaces/python/PythonInvoker.cpp