1 #ifndef SZA_UTIL_MONITORCONDITION_H
2 #define SZA_UTIL_MONITORCONDITION_H
27 unsigned stablePacketCount = defaultStablePacketCount_,
28 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
52 unsigned packetCount = defaultPacketCount_,
53 unsigned stablePacketCount = defaultStablePacketCount_,
54 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
63 unsigned packetCount = defaultPacketCount_,
64 unsigned stablePacketCount = defaultStablePacketCount_,
65 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
70 void setTo(
unsigned packetCount = defaultPacketCount_,
71 unsigned stablePacketCount = defaultStablePacketCount_,
72 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
77 unsigned packetCount = defaultPacketCount_,
78 unsigned stablePacketCount = defaultStablePacketCount_,
79 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
85 unsigned packetCount = defaultPacketCount_,
86 unsigned stablePacketCount = defaultStablePacketCount_,
87 unsigned giveUpPacketCount = defaultGiveUpPacketCount_);
94 std::string
format(std::string& reg);
109 unsigned giveUpPacketCount);
113 bool isDelta() {
return isDeltaCondition_;}
114 unsigned nFrame() {
return stablePacketCount_;}
115 double min() {
return op1_.getValAsDouble();}
116 double max() {
return op2_.getValAsDouble();}
124 bool isDeltaCondition_;
128 unsigned packetCount_;
129 unsigned stablePacketCount_;
130 unsigned giveUpPacketCount_;
132 static const unsigned defaultPacketCount_ = 1;
133 static const unsigned defaultStablePacketCount_ = 0;
134 static const unsigned defaultGiveUpPacketCount_ = 20;
143 #endif // End #ifndef SZA_UTIL_MONITORCONDITION_H
A class for managing operations on DataType objects which return booleans.
Tagged: Tue Jun 22 22:32:16 UTC 2004.
void checkPacketCount(unsigned packetCount, unsigned stablePacketCount, unsigned giveUpPacketCount)
Check the packet count to see if it makes sense.
virtual ~MonitorCondition()
Destructor.
std::string format(std::string ®)
Format this condition.
MonitorCondition(unsigned packetCount=defaultPacketCount_, unsigned stablePacketCount=defaultStablePacketCount_, unsigned giveUpPacketCount=defaultGiveUpPacketCount_)
Constructor for no condition.
Tagged: Mon Oct 25 18:41:34 PDT 2004.
A class for handling a condition for a monitor point.