|
OpenCPN Partial API docs
|
Manager for S57 chart SENC creation threads. More...
#include <senc_manager.h>
Public Member Functions | |
| void | OnEvtThread (OCPN_BUILDSENC_ThreadEvent &event) |
| SENCThreadStatus | ScheduleJob (SENCJobTicket *ticket) |
| void | FinishJob (SENCJobTicket *ticket) |
| void | StartTopJob () |
| bool | IsChartInTicketlist (s57chart *chart) |
| bool | SetChartPointer (s57chart *chart, void *new_ptr) |
| void | InvalidateChartPointer (s57chart *chart) |
| void | ReleaseCompletedTicket (SENCJobTicket *ticket) |
| void | ClearJobList () |
| int | GetJobCount () |
| int | GetRunningJobCount () |
| bool | IsShuttingDown () const |
Public Attributes | |
| int | m_max_jobs |
| std::vector< SENCJobTicket * > | ticket_list |
Manager for S57 chart SENC creation threads.
Manages the creation of SENC (Simplified Electronic Navigational Chart) files from S57 charts using background threads. Handles scheduling and executing SENC build jobs.
Worker threads post exactly one completion event to this manager via QueueEvent(). OnEvtThread() performs queue bookkeeping and forwards a single copy to the main frame for UI work. The frame deletes the ticket.
Definition at line 104 of file senc_manager.h.
| SENCThreadManager::SENCThreadManager | ( | ) |
Definition at line 83 of file senc_manager.cpp.
| SENCThreadManager::~SENCThreadManager | ( | ) |
Definition at line 98 of file senc_manager.cpp.
| void SENCThreadManager::ClearJobList | ( | ) |
Definition at line 133 of file senc_manager.cpp.
| void SENCThreadManager::FinishJob | ( | SENCJobTicket * | ticket | ) |
Definition at line 220 of file senc_manager.cpp.
| int SENCThreadManager::GetJobCount | ( | ) |
Definition at line 237 of file senc_manager.cpp.
| int SENCThreadManager::GetRunningJobCount | ( | ) |
Definition at line 102 of file senc_manager.cpp.
| void SENCThreadManager::InvalidateChartPointer | ( | s57chart * | chart | ) |
Definition at line 269 of file senc_manager.cpp.
| bool SENCThreadManager::IsChartInTicketlist | ( | s57chart * | chart | ) |
Definition at line 242 of file senc_manager.cpp.
| bool SENCThreadManager::IsShuttingDown | ( | ) | const |
Definition at line 100 of file senc_manager.cpp.
| void SENCThreadManager::OnEvtThread | ( | OCPN_BUILDSENC_ThreadEvent & | event | ) |
Definition at line 293 of file senc_manager.cpp.
| void SENCThreadManager::ReleaseCompletedTicket | ( | SENCJobTicket * | ticket | ) |
Definition at line 273 of file senc_manager.cpp.
| SENCThreadStatus SENCThreadManager::ScheduleJob | ( | SENCJobTicket * | ticket | ) |
Definition at line 158 of file senc_manager.cpp.
| bool SENCThreadManager::SetChartPointer | ( | s57chart * | chart, |
| void * | new_ptr | ||
| ) |
Definition at line 253 of file senc_manager.cpp.
| void SENCThreadManager::StartTopJob | ( | ) |
Definition at line 177 of file senc_manager.cpp.
| int SENCThreadManager::m_max_jobs |
Definition at line 123 of file senc_manager.h.
| std::vector<SENCJobTicket *> SENCThreadManager::ticket_list |
Definition at line 125 of file senc_manager.h.