BinaryNinja::BackgroundTask Class Reference

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
 

Constructor & Destructor Documentation

◆ BackgroundTask() [1/2]

BackgroundTask::BackgroundTask ( BNBackgroundTask *  task)

◆ BackgroundTask() [2/2]

BinaryNinja::BackgroundTask::BackgroundTask ( const std::string &  initialText,
bool  canCancel 
)

Member Function Documentation

◆ CanCancel()

bool BackgroundTask::CanCancel ( ) const

◆ Cancel()

void BackgroundTask::Cancel ( )

◆ Finish()

void BackgroundTask::Finish ( )

◆ GetProgressText()

string BackgroundTask::GetProgressText ( ) const

◆ GetRunningTasks()

vector< Ref< BackgroundTask > > BackgroundTask::GetRunningTasks ( )
static

◆ IsCancelled()

bool BackgroundTask::IsCancelled ( ) const

◆ IsFinished()

bool BackgroundTask::IsFinished ( ) const

◆ SetProgressText()

void BackgroundTask::SetProgressText ( const std::string &  text)

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