Public Member Functions | |
BackgroundTask (BNBackgroundTask *task) | |
BackgroundTask (const std::string &initialText, bool canCancel) | |
bool | CanCancel () const |
bool | IsCancelled () const |
bool | IsFinished () const |
std::string | GetProgressText () const |
void | Cancel () |
void | Finish () |
void | SetProgressText (const std::string &text) |
Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNBackgroundTask, BNNewBackgroundTaskReference, BNFreeBackgroundTask > | |
CoreRefCountObject () | |
virtual | ~CoreRefCountObject () |
BNBackgroundTask * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | ReleaseForRegistration () |
Static Public Member Functions | |
static std::vector< Ref< BackgroundTask > > | GetRunningTasks () |
Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNBackgroundTask, BNNewBackgroundTaskReference, BNFreeBackgroundTask > | |
static BNBackgroundTask * | GetObject (CoreRefCountObject *obj) |
Additional Inherited Members | |
Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNBackgroundTask, BNNewBackgroundTaskReference, BNFreeBackgroundTask > | |
std::atomic< int > | m_refs |
bool | m_registeredRef |
BNBackgroundTask * | m_object |
BackgroundTask::BackgroundTask | ( | BNBackgroundTask * | task | ) |
BinaryNinja::BackgroundTask::BackgroundTask | ( | const std::string & | initialText, |
bool | canCancel | ||
) |
bool BackgroundTask::CanCancel | ( | ) | const |
void BackgroundTask::Cancel | ( | ) |
void BackgroundTask::Finish | ( | ) |
string BackgroundTask::GetProgressText | ( | ) | const |
|
static |
bool BackgroundTask::IsCancelled | ( | ) | const |
bool BackgroundTask::IsFinished | ( | ) | const |
void BackgroundTask::SetProgressText | ( | const std::string & | text | ) |