#include <PythonSystemComponent.h>
Inherits AZ::Component, AzToolsFramework::EditorPythonEventsInterface, and AzToolsFramework::EditorPythonRunnerRequestBus::Handler.
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
|
void | Activate () override |
|
void | Deactivate () override |
|
bool | StartPython (bool silenceWarnings=false) override |
|
bool | StopPython (bool silenceWarnings=false) override |
|
bool | IsPythonActive () override |
|
void | WaitForInitialization () override |
|
void | ExecuteWithLock (AZStd::function< void()> executionCallback) override |
|
bool | TryExecuteWithLock (AZStd::function< void()> executionCallback) override |
|
void | ExecuteByString (AZStd::string_view script, bool printResult) override |
|
bool | ExecuteByFilename (AZStd::string_view filename) override |
|
bool | ExecuteByFilenameWithArgs (AZStd::string_view filename, const AZStd::vector< AZStd::string_view > &args) override |
|
bool | ExecuteByFilenameAsTest (AZStd::string_view filename, AZStd::string_view testCase, const AZStd::vector< AZStd::string_view > &args) override |
|
Manages the Python interpreter inside this Gem (Editor only)
- redirects the Python standard output and error streams to AZ_TracePrintf and AZ_Warning, respectively
The documentation for this class was generated from the following file:
- Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.h