domain::UserRequirement Class Reference

Represents a requirement for a UserType. More...

#include <tasktype.h>

Inheritance diagram for domain::UserRequirement:
Inheritance graph
[legend]
Collaboration diagram for domain::UserRequirement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isFulfilled (const domain::Task *task) const
bool canBeSuccessful (const domain::Task *task) const

Private Member Functions

 UserRequirement (UserType *userType)

Friends

class TaskTypePrivate

Detailed Description

Represents a requirement for a UserType.

See also:
Requirement

Definition at line 141 of file tasktype.h.


Member Function Documentation

bool domain::UserRequirement::canBeSuccessful ( const domain::Task task  )  const [virtual]

Indicates whether this requirements does not prevent the given task from being in a successful state. The difference with isFulfilled is that this method returns true even if the timing constraints of this requirements are in the past but could have been fulfilled at some time.

Implements domain::Requirement.

Definition at line 253 of file tasktype.cpp.

Here is the call graph for this function:

bool domain::UserRequirement::isFulfilled ( const domain::Task task  )  const [virtual]

Indicates whether this requirement is fulfilled for the given task.

Implements domain::Requirement.

Definition at line 237 of file tasktype.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator
Generated on Thu May 27 14:20:18 2010 for MopTaskManager by  doxygen 1.6.3