28namespace RobotRaconteur
35class ROBOTRACONTEUR_CORE_API AutoResetEvent :
private boost::noncopyable
39 virtual ~AutoResetEvent();
61#ifdef ROBOTRACONTEUR_WINDOWS
67 boost::condition_variable m_setCondition;
virtual void Set()
Set the event, releasing waiting threads.
virtual void Reset()
Reset the event.
virtual bool WaitOne(int32_t timeout)
Block the current thread until Set() is called, or timeout expires.
virtual void WaitOne()
Block the current thread infinitely until Set() is called.