PVData C++  8.0.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
epics::pvData::Event Class Reference

C++ wrapper for epicsEvent from EPICS base. More...

#include <misc/pv/event.h>

Public Types

typedef std::tr1::shared_ptr
< Event
shared_pointer
 
typedef std::tr1::shared_ptr
< const Event
const_shared_pointer
 
typedef std::tr1::weak_ptr< Eventweak_pointer
 
typedef std::tr1::weak_ptr
< const Event
const_weak_pointer
 

Public Member Functions

 Event (bool=false)
 
 ~Event ()
 
void signal ()
 
bool wait ()
 
bool wait (double timeOut)
 
bool tryWait ()
 

Detailed Description

C++ wrapper for epicsEvent from EPICS base.

Definition at line 31 of file event.h.

Constructor & Destructor Documentation

epics::pvData::Event::Event ( bool  = false)
explicit

Constructor

epics::pvData::Event::~Event ( )

Destructor.

Member Function Documentation

void epics::pvData::Event::signal ( )

Signal the event i.e. ensures that the next or current call to wait completes.

bool epics::pvData::Event::tryWait ( )

See if a signal has been called.

Returns
(false, true) if (timeout or error, event signaled).
bool epics::pvData::Event::wait ( )

wait

Returns
(false,true) if (some error, event signaled). The next wait or tryWait will clear signal.
bool epics::pvData::Event::wait ( double  timeOut)

wait for up to timeOut seconds.

Parameters
timeOutmax number of seconds to wait
Returns
(false, true) if (timeout or error, event signaled).

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