Public Member Functions | |
def | run (self) |
None | terminate (self, worker) |
None | update_and_advance (self, Addon repo) |
Public Attributes | |
counter | |
failed | |
lock | |
repo_queue | |
repos | |
terminators | |
workers | |
Static Public Attributes | |
progress_made = QtCore.Signal(int, int) | |
status_message = QtCore.Signal(str) | |
update_macro = QtCore.Signal(Addon) | |
Download and cache the macro code, and parse its internal metadata
def addonmanager_workers.CacheMacroCode.run | ( | self | ) |
References addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, and addonmanager_workers.UpdateAllWorker.status_message.
Referenced by femexamples.examplesgui.FemExamples.clicked(), and femsolver.task.Task.protector().
None addonmanager_workers.CacheMacroCode.terminate | ( | self, | |
worker | |||
) |
References addonmanager_workers.CacheMacroCode.failed, femsolver.task.Task.failed(), SALOMEDS::Locker.lock, Utils_Mutex.lock(), e57::PacketReadCache.lock(), Base::StateLocker.lock, Gui::EditorViewP.lock, AddonManager.CommandAddonManager.lock, addonmanager_workers.CacheMacroCode.lock, drafttaskpanels.task_scale.ScaleTaskPanel.lock, and PathScripts.PathCamoticsGui.CAMoticsUI.lock.
Referenced by addonmanager_workers.CacheMacroCode.update_and_advance().
None addonmanager_workers.CacheMacroCode.update_and_advance | ( | self, | |
Addon | repo | ||
) |
References FaceQuadStruct::SideIterator.counter, Gui::SoFCSelectionContext.counter, Gui::SoFCSelectionCounter.counter, addonmanager_workers.CacheMacroCode.counter, addonmanager_workers.CacheMacroCode.failed, femsolver.task.Task.failed(), SALOMEDS::Locker.lock, Utils_Mutex.lock(), e57::PacketReadCache.lock(), Base::StateLocker.lock, Gui::EditorViewP.lock, AddonManager.CommandAddonManager.lock, addonmanager_workers.CacheMacroCode.lock, drafttaskpanels.task_scale.ScaleTaskPanel.lock, PathScripts.PathCamoticsGui.CAMoticsUI.lock, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.progress_made, addonmanager_workers.FillMacroListWorker.progress_made, addonmanager_workers.CacheMacroCode.progress_made, addonmanager_workers.InstallWorkbenchWorker.progress_made, addonmanager_workers.UpdateMetadataCacheWorker.progress_made, addonmanager_workers.UpdateAllWorker.progress_made, NetworkManager.NetworkManager.progress_made, addonmanager_workers.CacheMacroCode.repo_queue, addonmanager_workers.UpdateAllWorker.repo_queue, addonmanager_workers.UpdateSingleWorker.repo_queue, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.repos, addonmanager_workers.CacheMacroCode.repos, addonmanager_workers.UpdateMetadataCacheWorker.repos, addonmanager_workers.UpdateAllWorker.repos, package_list.PackageListItemModel.repos, addonmanager_workers.UpdateWorker.status_message, addonmanager_workers.CacheMacroCode.status_message, addonmanager_workers.GetMacroDetailsWorker.status_message, addonmanager_workers.InstallWorkbenchWorker.status_message, addonmanager_workers.UpdateMetadataCacheWorker.status_message, addonmanager_workers.UpdateAllWorker.status_message, XMLTools.terminate(), SandboxGui::DrawingPlane.terminate(), Gui::PolyPickerSelection.terminate(), Gui::RubberbandSelection.terminate(), Gui::BoxZoomSelection.terminate(), Gui::AbstractMouseSelection.terminate(), addonmanager_workers.CacheMacroCode.terminate(), addonmanager_workers.CacheMacroCode.terminators, addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.CacheMacroCode.update_macro, addonmanager_workers.UpdateSingleWorker.update_macro(), AddonManager.CommandAddonManager.workers, and addonmanager_workers.CacheMacroCode.workers.
Referenced by addonmanager_workers.CacheMacroCode.update_and_advance().
addonmanager_workers.CacheMacroCode.counter |
Referenced by addonmanager_workers.CacheMacroCode.update_and_advance().
addonmanager_workers.CacheMacroCode.failed |
addonmanager_workers.CacheMacroCode.lock |
Referenced by NetworkManager.NetworkManager.abort(), addonmanager_workers.UpdateMetadataCacheWorker.download_completed(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_wiki(), addonmanager_workers.UpdateAllWorker.run(), addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.InstallWorkbenchWorker.update_status(), and addonmanager_workers.InstallWorkbenchWorker.update_zip_status().
addonmanager_workers.CacheMacroCode.repo_queue |
addonmanager_workers.CacheMacroCode.repos |
Referenced by package_list.PackageListItemModel.append_item(), package_list.PackageListItemModel.data(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), package_list.PackageListItemModel.reload_item(), package_list.PackageListItemModel.rowCount(), addonmanager_workers.UpdateMetadataCacheWorker.run(), addonmanager_workers.UpdateAllWorker.run(), package_list.PackageListItemModel.setData(), addonmanager_workers.CacheMacroCode.update_and_advance(), package_list.PackageListItemModel.update_item_icon(), and package_list.PackageListItemModel.update_item_status().
|
static |
Referenced by addonmanager_workers.InstallWorkbenchWorker.finish_zip(), addonmanager_workers.UpdateMetadataCacheWorker.process_icon(), addonmanager_workers.UpdateMetadataCacheWorker.process_metadata_txt(), addonmanager_workers.UpdateMetadataCacheWorker.process_package_xml(), addonmanager_workers.UpdateMetadataCacheWorker.process_requirements_txt(), addonmanager_workers.CacheMacroCode.run(), addonmanager_workers.GetMacroDetailsWorker.run(), addonmanager_workers.InstallWorkbenchWorker.run_git_clone(), addonmanager_workers.InstallWorkbenchWorker.run_git_update(), addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.InstallWorkbenchWorker.update_status(), and addonmanager_workers.InstallWorkbenchWorker.update_zip_status().
addonmanager_workers.CacheMacroCode.terminators |
Referenced by addonmanager_workers.CacheMacroCode.update_and_advance().
|
static |
addonmanager_workers.CacheMacroCode.workers |