KiCad PCB EDA Suite
Loading...
Searching...
No Matches
UPDATE_MANAGER Class Reference

#include <update_manager.h>

Public Member Functions

 UPDATE_MANAGER ()
 
 ~UPDATE_MANAGER ()
 
void CheckForUpdate (wxWindow *aNoticeParent)
 
int PostRequest (const wxString &aUrl, std::string aRequestBody, std::ostream *aOutput, PROGRESS_REPORTER *aReporter, const size_t aSizeLimit)
 

Private Attributes

std::atomic< bool > m_working
 
std::shared_ptr< BACKGROUND_JOBm_updateBackgroundJob
 
std::future< void > m_updateTask
 

Detailed Description

Definition at line 35 of file update_manager.h.

Constructor & Destructor Documentation

◆ UPDATE_MANAGER()

UPDATE_MANAGER::UPDATE_MANAGER ( )

◆ ~UPDATE_MANAGER()

UPDATE_MANAGER::~UPDATE_MANAGER ( )

Definition at line 89 of file update_manager.cpp.

References m_updateBackgroundJob, and m_updateTask.

Member Function Documentation

◆ CheckForUpdate()

◆ PostRequest()

Member Data Documentation

◆ m_updateBackgroundJob

std::shared_ptr<BACKGROUND_JOB> UPDATE_MANAGER::m_updateBackgroundJob
private

Definition at line 47 of file update_manager.h.

Referenced by CheckForUpdate(), and ~UPDATE_MANAGER().

◆ m_updateTask

std::future<void> UPDATE_MANAGER::m_updateTask
private

Definition at line 48 of file update_manager.h.

Referenced by CheckForUpdate(), and ~UPDATE_MANAGER().

◆ m_working

std::atomic<bool> UPDATE_MANAGER::m_working
private

Definition at line 46 of file update_manager.h.

Referenced by CheckForUpdate().


The documentation for this class was generated from the following files: