Ipc-ready variant of Arp::System::Commons::Threading::AutoResetEvent 
 More...
#include <AutoResetEvent.hpp>
 | 
|   | AutoResetEvent (bool initial=false) | 
|   | Creates a new object with specified initial state. More...
  | 
|   | 
| void  | Set (void) | 
|   | Sets the event to signaled state. More...
  | 
|   | 
| 
void  | Reset (void) | 
|   | Resets the event state to non-signaled.
  | 
|   | 
| bool  | WaitOne (unsigned long timeoutMs=0) | 
|   | Suspends thread execution until event is signaled by another thread. More...
  | 
|   | 
◆ AutoResetEvent()
  
  
      
        
          | Arp::System::Commons::Ipc::AutoResetEvent::AutoResetEvent  | 
          ( | 
          bool  | 
          initial = false | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Creates a new object with specified initial state.
- Parameters
 - 
  
    | initial | Initial state of event. | 
  
   
 
 
◆ Set()
      
        
          | void Arp::System::Commons::Ipc::AutoResetEvent::Set  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Sets the event to signaled state.
Causes a thread waiting on this event to resume its execution. 
 
 
◆ WaitOne()
      
        
          | bool Arp::System::Commons::Ipc::AutoResetEvent::WaitOne  | 
          ( | 
          unsigned long  | 
          timeoutMs = 0 | ) | 
           | 
        
      
 
Suspends thread execution until event is signaled by another thread.
- Parameters
 - 
  
    | timeoutMs | Timeout in milliseconds to wait for the event to become signaled. If the value is set to 0 (default) the calling thread will wait infinitly or until the event is set. | 
  
   
- Returns
 - Returns false is the timeout was reached before the event was signaled, otherwise true is returned.
 
 
 
The documentation for this class was generated from the following files: