#include <C4StartupModsDlg.h>
Definition at line 71 of file C4StartupModsDlg.h.
◆ C4StartupModsLocalModDiscovery::ModsInfo
| struct C4StartupModsLocalModDiscovery::ModsInfo |
◆ C4StartupModsLocalModDiscovery()
| C4StartupModsLocalModDiscovery::C4StartupModsLocalModDiscovery |
( |
C4StartupModsDlg * |
parent | ) |
|
|
inline |
◆ AddMod()
| ModsInfo& C4StartupModsLocalModDiscovery::AddMod |
( |
const std::string & |
id, |
|
|
const std::string & |
path, |
|
|
const std::string & |
name |
|
) |
| |
|
inline |
Definition at line 111 of file C4StartupModsDlg.h.
113 CStdLock lock(&modInformationModification);
114 modsInformation[id] = ModsInfo{ id, path, name };
115 return modsInformation[id];
◆ Execute()
| void C4StartupModsLocalModDiscovery::Execute |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetAllModInformation()
| const std::map<std::string, ModsInfo>& C4StartupModsLocalModDiscovery::GetAllModInformation |
( |
| ) |
|
|
inline |
◆ GetModInformation()
| ModsInfo C4StartupModsLocalModDiscovery::GetModInformation |
( |
const std::string & |
id | ) |
|
|
inline |
◆ IsDiscoveryFinished()
| bool C4StartupModsLocalModDiscovery::IsDiscoveryFinished |
( |
| ) |
const |
|
inline |
◆ IsModInstalled()
| const bool C4StartupModsLocalModDiscovery::IsModInstalled |
( |
const std::string & |
id | ) |
|
|
inline |
◆ IsSelfDestruct()
| virtual bool StdThread::IsSelfDestruct |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ IsStarted()
| bool StdThread::IsStarted |
( |
| ) |
|
|
inlineinherited |
◆ IsStopSignaled()
| bool StdThread::IsStopSignaled |
( |
| ) |
|
|
protectedinherited |
◆ Lock()
| CStdLock C4StartupModsLocalModDiscovery::Lock |
( |
| ) |
|
|
inline |
◆ RemoveMod()
| void C4StartupModsLocalModDiscovery::RemoveMod |
( |
const std::string & |
id | ) |
|
|
inline |
◆ SignalStop()
| void StdThread::SignalStop |
( |
| ) |
|
|
inherited |
◆ Start()
| bool StdThread::Start |
( |
| ) |
|
|
inherited |
◆ Stop()
Definition at line 306 of file StdScheduler.cpp.
309 if (!fStarted)
return;
311 fStopSignaled =
true;
312 #ifdef HAVE_WINTHREAD
314 HANDLE hThread =
reinterpret_cast<HANDLE
>(iThread);
315 if (WaitForSingleObject(hThread, 10000) == WAIT_TIMEOUT)
317 TerminateThread(hThread, -1);
318 #elif defined(HAVE_PTHREAD)
321 pthread_join(Thread,
nullptr);
Referenced by StdThread::Start(), and StdThread::~StdThread().
◆ WaitForDiscoveryFinished()
| void C4StartupModsLocalModDiscovery::WaitForDiscoveryFinished |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: