#include <QueueID.h>
Public Types | |
typedef enquing_policy::PolicyTag | PolicyType |
Public Member Functions | |
size_t | index () const |
bool | isValid () const |
bool | operator!= (QueueID const &other) const |
bool | operator< (QueueID const &other) const |
bool | operator== (QueueID const &other) const |
PolicyType | policy () const |
QueueID () | |
QueueID (PolicyType policy, size_t index) | |
Private Attributes | |
size_t | index_ |
PolicyType | policy_ |
Uniquely identifies the consumer queues
stor::QueueID::QueueID | ( | ) | [inline] |
stor::QueueID::QueueID | ( | PolicyType | policy, |
size_t | index | ||
) | [inline] |
size_t stor::QueueID::index | ( | ) | const [inline] |
Return the index for this queue.
Definition at line 103 of file QueueID.h.
References index_.
Referenced by stor::operator<<().
{ return index_; }
bool stor::QueueID::isValid | ( | void | ) | const [inline] |
Test for validity of a QueueID. Invalid QueueIDs do not represent the identity of any actual queue.
Definition at line 110 of file QueueID.h.
References siStripFEDMonitor_P5_cff::Max, and policy_.
{ return policy_ != enquing_policy::Max; }
bool stor::QueueID::operator!= | ( | QueueID const & | other | ) | const [inline] |
operator!= is the negation of operator==.
Definition at line 133 of file QueueID.h.
References operator==().
{ return !( operator==(other)); }
bool stor::QueueID::operator< | ( | QueueID const & | other | ) | const [inline] |
bool stor::QueueID::operator== | ( | QueueID const & | other | ) | const [inline] |
QueueID::PolicyType stor::QueueID::policy | ( | ) | const [inline] |
Return the tag for the queing policy of *this.
Definition at line 96 of file QueueID.h.
References policy_.
Referenced by stor::operator<<().
{ return policy_; }
size_t stor::QueueID::index_ [private] |
Definition at line 75 of file QueueID.h.
Referenced by index(), operator<(), and operator==().
PolicyType stor::QueueID::policy_ [private] |
Definition at line 76 of file QueueID.h.
Referenced by isValid(), operator<(), operator==(), and policy().