#include <mrpt/synch/CEvent.h>
Public Member Functions | |
CEvent (bool initialSignaled) | |
Constructor: set the initial signaled state of the event. | |
~CEvent () | |
Destructor. | |
void | signal () |
Signal the event: the first waiting thread resumes execution (if no thread is waiting, the object keeps signaled). | |
void | wait () |
Waits for the event to be signaled. | |
void | reset () |
Manual reset of the event, without waiting to a signaled state (without effect if it is currently not signaled). | |
Private Attributes | |
utils::CReferencedMemBlock | m_data |
Definition at line 46 of file CEvent.h.
mrpt::synch::CEvent::CEvent | ( | bool | initialSignaled | ) |
Constructor: set the initial signaled state of the event.
mrpt::synch::CEvent::~CEvent | ( | ) |
Destructor.
void mrpt::synch::CEvent::reset | ( | ) |
Manual reset of the event, without waiting to a signaled state (without effect if it is currently not signaled).
void mrpt::synch::CEvent::signal | ( | ) |
Signal the event: the first waiting thread resumes execution (if no thread is waiting, the object keeps signaled).
void mrpt::synch::CEvent::wait | ( | ) |
Waits for the event to be signaled.
Page generated by Doxygen 1.5.7.1 for MRPT 0.6.5 SVN: at Mon Feb 23 13:35:09 EST 2009 |