activemq-cpp-3.6.0
decaf::internal::util::concurrent::CompletionCondition Class Reference

#include <src/main/decaf/internal/util/concurrent/ThreadingTypes.h>

Public Member Functions

virtual ~CompletionCondition ()
virtual bool operator() (bool timedOut DECAF_UNUSED)
 Called from timed wait condition methods to indicate if the timeout has occurred, allows this method to take other actions based on the timeout having occurred or not.
virtual bool operator() ()
 Called from non-timed wait conditions to determine if the condition necessary to complete the wait has occurred or not.

Constructor & Destructor Documentation

virtual decaf::internal::util::concurrent::CompletionCondition::~CompletionCondition ( )
inlinevirtual

Member Function Documentation

virtual bool decaf::internal::util::concurrent::CompletionCondition::operator() ( bool timedOut  DECAF_UNUSED)
inlinevirtual

Called from timed wait condition methods to indicate if the timeout has occurred, allows this method to take other actions based on the timeout having occurred or not.

By default this method just defers to the simple operator() method.

Parameters
timedOutIndicates that the calling wait condition timed out or not.

References operator()().

virtual bool decaf::internal::util::concurrent::CompletionCondition::operator() ( )
inlinevirtual

Called from non-timed wait conditions to determine if the condition necessary to complete the wait has occurred or not.

Referenced by operator()().


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