![]() |
Audacity 3.2.0
|
Contains definitions for ScriptCommandRelay. More...
#include "ScriptCommandRelay.h"#include "CommandTargets.h"#include "CommandBuilder.h"#include "ActiveProject.h"#include "AppCommandEvent.h"#include "Project.h"#include <wx/app.h>#include <thread>Go to the source code of this file.
Functions | |
| static int | ExecCommand (wxString *pIn, wxString *pOut, bool fromMain) |
| This is the function which actually obeys one command. More... | |
| static int | ExecFromWorker (wxString *pIn, wxString *pOut) |
| Executes a command in the worker (script) thread. More... | |
| int | ExecFromMain (wxString *pIn, wxString *pOut) |
| Executes a command on the main (GUI) thread. More... | |
Contains definitions for ScriptCommandRelay.
Definition in file ScriptCommandRelay.cpp.
|
static |
This is the function which actually obeys one command.
Definition at line 33 of file ScriptCommandRelay.cpp.
References GetActiveProject(), CommandBuilder::GetCommand(), CommandBuilder::GetResponse(), AppCommandEvent::SetCommand(), and CommandBuilder::WasValid().
Referenced by ExecFromMain(), and ExecFromWorker().
| int ExecFromMain | ( | wxString * | pIn, |
| wxString * | pOut | ||
| ) |
Executes a command on the main (GUI) thread.
Definition at line 73 of file ScriptCommandRelay.cpp.
References ExecCommand().
|
static |
Executes a command in the worker (script) thread.
Definition at line 67 of file ScriptCommandRelay.cpp.
References ExecCommand().
Referenced by ScriptCommandRelay::StartScriptServer().