BinaryNinja::Activity Class Reference

Public Member Functions

 Activity (const std::string &name, const std::function< void(Ref< AnalysisContext >)> &action)
 
 Activity (BNActivity *activity)
 
virtual ~Activity ()
 
std::string GetName () const
 
- Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNActivity, BNNewActivityReference, BNFreeActivity >
 CoreRefCountObject ()
 
virtual ~CoreRefCountObject ()
 
BNActivity * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 
void ReleaseForRegistration ()
 

Static Protected Member Functions

static void Run (void *ctxt, BNAnalysisContext *analysisContext)
 

Protected Attributes

std::function< void(Ref< AnalysisContext > analysisContext)> m_action
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNActivity, BNNewActivityReference, BNFreeActivity >
static BNActivity * GetObject (CoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNActivity, BNNewActivityReference, BNFreeActivity >
std::atomic< int > m_refs
 
bool m_registeredRef
 
BNActivity * m_object
 

Constructor & Destructor Documentation

◆ Activity() [1/2]

BinaryNinja::Activity::Activity ( const std::string &  name,
const std::function< void(Ref< AnalysisContext >)> &  action 
)

◆ Activity() [2/2]

Activity::Activity ( BNActivity *  activity)

◆ ~Activity()

Activity::~Activity ( )
virtual

Member Function Documentation

◆ GetName()

string Activity::GetName ( ) const

◆ Run()

void Activity::Run ( void *  ctxt,
BNAnalysisContext *  analysisContext 
)
staticprotected

Member Data Documentation

◆ m_action

std::function<void(Ref<AnalysisContext> analysisContext)> BinaryNinja::Activity::m_action
protected

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