AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
#include <event.h>
Public Member Functions | |
AJAEvent (bool manualReset=true, const std::string &name="") | |
virtual | ~AJAEvent () |
virtual AJAStatus | Signal () |
virtual AJAStatus | Clear () |
virtual AJAStatus | SetState (bool signaled=true) |
virtual AJAStatus | GetState (bool *pSignaled) |
virtual AJAStatus | SetManualReset (bool manualReset) |
virtual AJAStatus | GetManualReset (bool *pManualReset) |
virtual AJAStatus | WaitForSignal (uint32_t timeout=0xffffffff) |
virtual AJAStatus | GetEventObject (uint64_t *pEventObject) |
Friends | |
AJA_EXPORT AJAStatus | AJAWaitForEvents (AJAEvent *, uint32_t, bool, uint32_t) |
System independent event class for signaling between threads.
AJAEvent::AJAEvent | ( | bool | manualReset = true , |
const std::string & | name = "" |
||
) |
Constructor obtains an event object from the system.
The event is automatically reset when the first waiting thread is released. Set manualReset to control the reset with the api. Specify a name if the event is to be shared system wide.
[in] | manualReset | true if event must be reset by caller. false if event automatically reset. |
[in] | name | Name of a shared lock object. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
friend |
Wait for a list of events to be signaled.
The wait can terminate when one or all of the events in the list is signaled.
[in] | pList | An array of events (AJAEventPtr). |
[in] | numEvents | Number of events in the event array. |
[in] | all | true to wait for all events to be signaled. |
[in] | timeout | Wait timeout in milliseconds (0xffffffff infinite). |
Definition at line 199 of file eventimpl.cpp.