#include <observer.h>
Public Member Functions | |
| bool | operator() (const T &value1, const T &value2) const |
Priority comparator functor.
T template parameter stands for elements which priority should be compared. It has to provide getPriority method and has to be pointer compatible type (pointer or kind of smart pointer).
| bool observer::PriorityComparator< T >::operator() | ( | const T & | value1, | |
| const T & | value2 | |||
| ) | const [inline] |
Comparator functor.
| value1 | Value to compare. | |
| value2 | Value to compare. |