![]() |
![]() |
#include <DataSenderMonitorCollection.h>
Public Member Functions | |
FilterUnitKey (I2OChain const &i2oChain) | |
bool | operator< (FilterUnitKey const &other) const |
Public Attributes | |
uint32_t | fuGuid |
uint32_t | fuProcessId |
bool | isValid |
Key that is used to identify filter units.
Definition at line 78 of file DataSenderMonitorCollection.h.
stor::DataSenderMonitorCollection::FilterUnitKey::FilterUnitKey | ( | I2OChain const & | i2oChain | ) | [inline, explicit] |
Definition at line 84 of file DataSenderMonitorCollection.h.
References fuGuid, stor::I2OChain::fuGuid(), fuProcessId, stor::I2OChain::fuProcessId(), INVALID, isValid, and stor::I2OChain::messageCode().
{ if (i2oChain.messageCode() != Header::INVALID) { isValid = true; fuProcessId = i2oChain.fuProcessId(); fuGuid = i2oChain.fuGuid(); } else { isValid = false; } }
bool stor::DataSenderMonitorCollection::FilterUnitKey::operator< | ( | FilterUnitKey const & | other | ) | const [inline] |
Definition at line 98 of file DataSenderMonitorCollection.h.
References fuProcessId, and isValid.
{ if (isValid != other.isValid) return isValid < other.isValid; // 30-Jun-2009, KAB - we want to keep stats for each filter unit without // separating out the output modules. So, we should only use the process ID // in the key. (The GUID is different for each output module.) //if (fuProcessId != other.fuProcessId) return fuProcessId < other.fuProcessId; //return fuGuid < other.fuGuid; return fuProcessId < other.fuProcessId; }
Definition at line 82 of file DataSenderMonitorCollection.h.
Referenced by FilterUnitKey().
Definition at line 81 of file DataSenderMonitorCollection.h.
Referenced by FilterUnitKey(), and operator<().
Definition at line 80 of file DataSenderMonitorCollection.h.
Referenced by FilterUnitKey(), stor::DataSenderMonitorCollection::getAllNeededPointers(), stor::DataSenderMonitorCollection::getFURecordPointer(), and operator<().