26 const char * what ()
const throw ();
29 const char * epicsEvent::invalidSemaphore::what ()
const throw ()
31 return "epicsEvent::invalidSemaphore()";
44 if ( this->
id == 0 ) {
45 throw std::bad_alloc ();
49 epicsEvent::~epicsEvent ()
54 void epicsEvent::trigger ()
63 void epicsEvent::wait ()
72 bool epicsEvent::wait (
double timeOut)
84 bool epicsEvent::tryWait ()
96 void epicsEvent::show (
unsigned level )
const LIBCOM_API void epicsEventMustTrigger(epicsEventId id)
Trigger an event.
#define epicsEventWait(ID)
LIBCOM_API epicsEventStatus epicsEventWaitWithTimeout(epicsEventId id, double timeOut)
Wait an the event or until the specified timeout period is over.
LIBCOM_API epicsEventId epicsEventMustCreate(epicsEventInitialState initialState)
Create an epicsEvent for use from C code.
#define epicsEventTrigger(ID)
LIBCOM_API void epicsEventMustWait(epicsEventId id)
Wait for an event (see epicsEventWait()).
LIBCOM_API void epicsEventDestroy(epicsEventId id)
Destroy an epicsEvent and any resources it holds.
APIs for the epicsEvent binary semaphore.
epicsEventStatus
Return status from several C API routines.
epicsEventInitialState
Possible initial states of a new epicsEvent.
LIBCOM_API epicsEventStatus epicsEventTryWait(epicsEventId id)
Similar to wait() except that if the event is currenly empty the call will return immediately with st...
LIBCOM_API void cantProceed(const char *msg,...)
Routines for code that can't continue or return after an error.
LIBCOM_API epicsEventId epicsEventCreate(epicsEventInitialState initialState)
Create an epicsEvent for use from C code, or return NULL.
LIBCOM_API void epicsEventShow(epicsEventId id, unsigned int level)
Display information about the semaphore.