Fray Engine
Loading...
Searching...
No Matches
fray::FrayManager::Entry Struct Reference

Associates a project and its queue with its managed worker thread. More...

Public Attributes

std::shared_ptr< ProjectManager > project
 Shared ownership of the project, including while queued tasks run.
std::shared_ptr< threads::TaskQueue > queue
 Shared queue serviced by the project thread.
threads::ThreadManager::Id thread = 0
 Identifier of the project worker in the thread manager.
std::shared_ptr< ProjectLogWorker > logWorker
 Separate worker for the project's log writes.
std::string path
 Most recently registered project path.
std::string id
 Project identity once known.
std::optional< std::size_t > restoreOrder
 Saved opening order for startup restoration, or empty for a user-opened project.

Detailed Description

Associates a project and its queue with its managed worker thread.

Definition at line 112 of file fray_manager.hpp.

Member Data Documentation

◆ id

std::string fray::FrayManager::Entry::id

Project identity once known.

Definition at line 131 of file fray_manager.hpp.

◆ logWorker

std::shared_ptr<ProjectLogWorker> fray::FrayManager::Entry::logWorker

Separate worker for the project's log writes.

Definition at line 127 of file fray_manager.hpp.

◆ path

std::string fray::FrayManager::Entry::path

Most recently registered project path.

Definition at line 129 of file fray_manager.hpp.

◆ project

std::shared_ptr<ProjectManager> fray::FrayManager::Entry::project

Shared ownership of the project, including while queued tasks run.

Definition at line 117 of file fray_manager.hpp.

◆ queue

std::shared_ptr<threads::TaskQueue> fray::FrayManager::Entry::queue

Shared queue serviced by the project thread.

Definition at line 121 of file fray_manager.hpp.

◆ restoreOrder

std::optional<std::size_t> fray::FrayManager::Entry::restoreOrder

Saved opening order for startup restoration, or empty for a user-opened project.

Definition at line 133 of file fray_manager.hpp.

◆ thread

threads::ThreadManager::Id fray::FrayManager::Entry::thread = 0

Identifier of the project worker in the thread manager.

Definition at line 125 of file fray_manager.hpp.


The documentation for this struct was generated from the following file: