AceSmartSoft API Documentation
Public Member Functions | List of all members
SmartACE::SmartCondClass Class Reference

#include <smartCondVar.hh>

Public Member Functions

 SmartCondClass ()
 constructor More...
 
 ~SmartCondClass ()
 destructor More...
 
 SmartCondClass (const SmartCondClass &)
 copy constructor More...
 
SmartCondClassoperator= (const SmartCondClass &)
 copy assignment More...
 
int signalOne (void)
 
int signalAll (void)
 
int wait (void)
 

Detailed Description

condition like variable class.

The condition variable is used to avoid active waiting. In contrast to the SmartCntCondClass version, we really wait until the next signal is received and we do not store an already received signal. "signalAll" e.g. is used within clients of the push service to release every waiting thread as soon as an update is received.

Constructor & Destructor Documentation

◆ SmartCondClass() [1/2]

SmartACE::SmartCondClass::SmartCondClass ( )

constructor

◆ ~SmartCondClass()

SmartACE::SmartCondClass::~SmartCondClass ( )

destructor

◆ SmartCondClass() [2/2]

SmartACE::SmartCondClass::SmartCondClass ( const SmartCondClass )

copy constructor

Member Function Documentation

◆ operator=()

SmartCondClass& SmartACE::SmartCondClass::operator= ( const SmartCondClass )

copy assignment

◆ signalAll()

int SmartACE::SmartCondClass::signalAll ( void  )

◆ signalOne()

int SmartACE::SmartCondClass::signalOne ( void  )

◆ wait()

int SmartACE::SmartCondClass::wait ( void  )

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