1 #ifndef CastorChannelStatus_h
2 #define CastorChannelStatus_h
34 else if (status ==
"GOOD")
36 else if (status ==
"HOT")
38 else if (status ==
"DEAD")
40 else if (status ==
"END")
51 void setBit(
unsigned int bitnumber) {
52 uint32_t statadd = 0x1 << (bitnumber);
56 uint32_t statadd = 0x1 << (bitnumber);
62 uint32_t statadd = 0x1 << (bitnumber);
63 return (
mStatus & statadd) ? (
true) : (
false);
CastorChannelStatus(unsigned long fid, uint32_t status)
void unsetBit(unsigned int bitnumber)
bool isBitSet(unsigned int bitnumber) const
CastorChannelStatus(unsigned long fid, std::string status)
uint32_t getValue() const
#define COND_SERIALIZABLE
void setValue(uint32_t value)
void setBit(unsigned int bitnumber)