Main MRPT website > C++ reference
MRPT logo

mrpt::synch::CEvent Class Reference

This class provides a simple way of waiting for and signaling events (NOT IMPLEMENTED YET!). More...

#include <mrpt/synch/CEvent.h>

Collaboration diagram for mrpt::synch::CEvent:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This class provides a simple way of waiting for and signaling events (NOT IMPLEMENTED YET!).

Definition at line 46 of file CEvent.h.


Constructor & Destructor Documentation

mrpt::synch::CEvent::CEvent ( bool  initialSignaled  ) 

Constructor: set the initial signaled state of the event.

mrpt::synch::CEvent::~CEvent (  ) 

Destructor.


Member Function Documentation

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.


Member Data Documentation

Definition at line 49 of file CEvent.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010