exec_request_t Struct Referenceabstract
Execute code in the main thread - to be used with execute_sync(). More...
#include <kernwin.hpp>
Public Types | |
enum | { MFF_MAGIC = 0x12345678 } |
Internal magic. | |
Public Member Functions | |
bool | valid (void) const |
Can this request be executed? | |
virtual int idaapi | execute (void)=0 |
Callback to be executed. More... | |
exec_request_t (void) | |
Constructor. | |
virtual | ~exec_request_t (void) |
Destructor. | |
Public Attributes | |
int | code |
temporary location, used internally | |
qsemaphore_t | sem |
semaphore to communicate with the main thread. More... | |
Detailed Description
Execute code in the main thread - to be used with execute_sync().
Member Function Documentation
◆ execute()
|
pure virtual |
Callback to be executed.
If this function raises an exception, execute_sync() never returns.
Member Data Documentation
◆ sem
qsemaphore_t exec_request_t::sem |
semaphore to communicate with the main thread.
If nullptr, will be initialized by execute_sync().
The documentation for this struct was generated from the following file:
Generated by 1.9.3