Represents a boolean condition.
Used with CYIConditionEvaluator to notify users when one or more conditions are met.
#include <utility/YiCondition.h>
Public Member Functions | |
CYICondition () | |
virtual | ~CYICondition () |
void | Set () |
void | Unset () |
operator bool () const | |
![]() | |
CYISignalHandler () | |
CYISignalHandler (const CYISignalHandler &rSignalHandler) | |
virtual | ~CYISignalHandler () |
CYISignalHandler & | operator= (const CYISignalHandler &rSignalHandler) |
void | MoveToThread (CYIThread *pThread) |
This function allows the user to override the default thread affinity to any CYIThread that may or may not be running. More... | |
CYIThreadHandle | GetThreadAffinity () const |
void | SetThreadAffinity (const CYIThreadHandle &rThreadAffinity) |
virtual bool | IsConnected () const |
virtual bool | IsConnected (const CYISignalBase &rSignal) const |
void | Disconnect (CYISignalBase &rSignal) |
void | DisconnectFromAllSignals () |
![]() | |
Listener () | |
virtual | ~Listener () |
virtual void | OnThreadStarted (CYIThread *) |
virtual void | OnThreadTerminated (CYIThread *) |
virtual void | OnThreadFinished (CYIThread *) |
Friends | |
class | CYIConditionEvaluator |
CYICondition::CYICondition | ( | ) |
|
virtual |
|
inline |
Returns true when the condition has been set.
void CYICondition::Set | ( | ) |
Sets the condition to true. To unset each condition objects, use CYIConditionEvaluator::Reset
void CYICondition::Unset | ( | ) |
Sets the condition to false.
|
friend |