|
WSF
|
Thread for parsing the WSF source in the background. More...
#include <ProjectParseThread.hpp>
Inherits UtThread.
Classes | |
| struct | Task |
Public Types | |
| enum | TaskPhase { cNOT_WORKING , cPARSING , cPARSE_DONE , cSERIALIZING , cSERIALIZE_DONE } |
Public Member Functions | |
| ProjectParseThread () | |
| ~ProjectParseThread () override=default | |
| void | JoinThread () |
| void | Run () override |
| void | Abort () |
| bool | IsAborting () const |
| void | SetTask (const Task &aTask) |
| void | SetComplete () |
| void | SetRunOnCompletion (std::function< void()> onCompletion) |
| TaskPhase | GetPhase () const |
Thread for parsing the WSF source in the background.
| wizard::ProjectParseThread::ProjectParseThread | ( | ) |
References cNOT_WORKING.
|
overridedefault |
| void wizard::ProjectParseThread::Abort | ( | ) |
Referenced by JoinThread().
|
inline |
|
inline |
| void wizard::ProjectParseThread::JoinThread | ( | ) |
References Abort().
|
override |
References cPARSE_DONE, cPARSING, cSERIALIZE_DONE, cSERIALIZING, and Serialize().
| void wizard::ProjectParseThread::SetComplete | ( | ) |
References cNOT_WORKING, cPARSE_DONE, and cSERIALIZE_DONE.
|
inline |
| void wizard::ProjectParseThread::SetTask | ( | const Task & | aTask | ) |
References cNOT_WORKING, cPARSING, cSERIALIZING, wizard::ProjectParseThread::Task::cTT_PARSE, wizard::ProjectParseThread::Task::cTT_SERIALIZE, wizard::Project::GetParseResults(), wizard::Project::GetParseWorker(), wizard::ProjectParseThread::Task::mScenarioPtr, wizard::ParseResultsProxyData::Proxy(), wizard::TextSource::ReloadViews(), WsfPProxy::RenameMappingOldToNew(), WsfPProxy::SaveFiles(), wizard::ParseWorker::Start(), wizard::ParseWorker::StartSerialize(), and wizard::Project::TakeParseResults().