KTutorial  0.5.1
Public Member Functions
ktutorial::WaitForOr Class Reference

Composed WaitFor that performs an OR between its children. More...

#include <WaitForOr.h>

Inheritance diagram for ktutorial::WaitForOr:
Inheritance graph
[legend]
Collaboration diagram for ktutorial::WaitForOr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Q_INVOKABLE WaitForOr ()
 Creates a new WaitForOr.
virtual ~WaitForOr ()
 Destroys this WaitForOr.
virtual bool conditionMet () const
 Returns true if at least one of its children met its condition, false otherwise.

Detailed Description

Composed WaitFor that performs an OR between its children.

Definition at line 33 of file WaitForOr.h.


Member Function Documentation

bool ktutorial::WaitForOr::conditionMet ( ) const [virtual]

Returns true if at least one of its children met its condition, false otherwise.

If there are no children, false is returned.

Returns:
True if at least one of its children met its condition, false otherwise.

Implements ktutorial::WaitFor.

Definition at line 35 of file WaitForOr.cpp.

References ktutorial::WaitForComposed::waitFors().


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