|
| Event (const DeviceOption &option) |
|
void | Record (DeviceType recorder_type, const void *context, const char *err_msg=nullptr) |
|
void | Wait (DeviceType waiter_type, void *context) const |
|
void | Finish () const |
|
EventStatus | Query () const |
|
const std::string & | ErrorMessage () const |
|
void | Reset () |
|
const DeviceOption & | GetDeviceOption () const |
|
bool | IsScheduled () const |
|
bool | IsFinished () const |
|
void | SetFinished (const char *err_msg=nullptr) |
|
bool | SupportsCallback () const |
|
void | SetCallback (EventCallbackFunction callback) |
|
bool | CanSchedule (const Event &child_event, bool supports_async) const |
|
int | GetType () const |
|
void | SetFinishedWithException (const char *err_msg=nullptr) |
|
bool | HasException () const |
|
int64_t | ExceptionTimestamp () const |
|
void | RethrowException () const |
|
|
static bool | CanSchedule (int parent_type, EventStatus parent_status, int child_type, bool child_supports_async) |
|
|
std::shared_ptr< void > | event_ |
|
|
template<DeviceType t> |
struct | EventCreateFunctionRegisterer |
|
template<DeviceType t> |
struct | EventRecordFunctionRegisterer |
|
template<DeviceType w, DeviceType d> |
struct | EventWaitFunctionRegisterer |
|
template<DeviceType t> |
struct | EventFinishFunctionRegisterer |
|
template<DeviceType t> |
struct | EventQueryFunctionRegisterer |
|
template<DeviceType t> |
struct | EventErrorMessageFunctionRegisterer |
|
template<DeviceType t> |
struct | EventSetFinishedFunctionRegisterer |
|
template<DeviceType t> |
struct | EventSetCallbackFunctionRegisterer |
|
template<DeviceType t> |
struct | EventResetFunctionRegisterer |
|
Definition at line 58 of file event.h.
The documentation for this class was generated from the following files: