Home Libraries Author Links

stm::system_condition Class Reference
[DivAids: Diverse Aids]

List of all members.


Detailed Description

System condition class.

Definition at line 1059 of file divaids.hpp.


Public Member Functions

 system_condition (const std::string &name)
 
Throws:
std::logic_error on error.

void signal ()
 
Throws:
std::logic_error on error.

void broadcast ()
 
Throws:
std::logic_error on error.

void wait (system_scoped_lock &lock)
 
Throws:
std::logic_error on error.

bool timed_wait (system_scoped_lock &lock, int64 absTimeMs)
 
Throws:
std::logic_error on error.


Constructor & Destructor Documentation

stm::system_condition::system_condition ( const std::string &  name  )  [explicit]

Throws:
std::logic_error on error.


Member Function Documentation

void stm::system_condition::signal (  ) 

Throws:
std::logic_error on error.

void stm::system_condition::broadcast (  ) 

Throws:
std::logic_error on error.

void stm::system_condition::wait ( system_scoped_lock lock  ) 

Throws:
std::logic_error on error.

bool stm::system_condition::timed_wait ( system_scoped_lock lock,
int64  absTimeMs 
)

Throws:
std::logic_error on error.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).