Queuing policy comparator for MOPR. More...
#include <QueuePolicy.h>
Public Member Functions | |
| virtual | ~QueueCompMOPR () |
| Destructor. | |
| virtual bool | operator() (const Bundle *a, const Bundle *b) const |
| Virtual from std::greater. | |
Protected Member Functions | |
| QueueCompMOPR (QueuePolicy::q_policy_t qp, const Stats *stats) | |
| Constructor, protected to enforce factory method. | |
Friends | |
| class | QueuePolicy |
Queuing policy comparator for MOPR.
Definition at line 198 of file QueuePolicy.h.
| virtual prophet::QueueCompMOPR::~QueueCompMOPR | ( | ) | [inline, virtual] |
Destructor.
Definition at line 204 of file QueuePolicy.h.
| prophet::QueueCompMOPR::QueueCompMOPR | ( | QueuePolicy::q_policy_t | qp, | |
| const Stats * | stats | |||
| ) | [inline, protected] |
Constructor, protected to enforce factory method.
Definition at line 228 of file QueuePolicy.h.
| virtual bool prophet::QueueCompMOPR::operator() | ( | const Bundle * | a, | |
| const Bundle * | b | |||
| ) | const [inline, virtual] |
Virtual from std::greater.
Reimplemented from prophet::QueueComp.
Definition at line 209 of file QueuePolicy.h.
References prophet::Stats::get_mopr(), prophet::Bundle::sequence_num(), prophet::QueueComp::stats_, and prophet::QueueComp::verbose_.
friend class QueuePolicy [friend] |
Reimplemented from prophet::QueueComp.
Definition at line 223 of file QueuePolicy.h.
1.6.3