|
PFUNC
1.0
|
#include <pfunc/prio.hpp>
Public Types | |
| typedef bool | result_type |
| typedef task< Attribute, Functor > * | first_argument_type |
| typedef first_argument_type | second_argument_type |
Public Member Functions | |
| bool | operator() (first_argument_type ptr1, second_argument_type ptr2) const |
Predicate that compares two task pointers. If the first is "before" the "second" task structure, the predicate returns true.
| typedef task<Attribute, Functor>* pfunc::detail::compare_task_ptr< Attribute, Functor >::first_argument_type |
Type of the first argument
| typedef bool pfunc::detail::compare_task_ptr< Attribute, Functor >::result_type |
Type of the result for operator()
| typedef first_argument_type pfunc::detail::compare_task_ptr< Attribute, Functor >::second_argument_type |
< Type of the second argument
| bool pfunc::detail::compare_task_ptr< Attribute, Functor >::operator() | ( | first_argument_type | ptr1, |
| second_argument_type | ptr2 | ||
| ) | const [inline] |
Determine whether first argument comes before the second according to priorities (task->attribute->priority) of the tasks to which these arguments point to. (task->attribute->compare_type) is used for comparison.
| [in] | ptr1 | Pointer to the first task. |
| [in] | ptr2 | Pointer to the second task. |
1.7.6.1