8 #ifndef _BITFIELDMETER_H_
9 #define _BITFIELDMETER_H_
19 const char *
title =
"",
20 const char *bitlegend =
"",
const char *fieldlegend =
"",
34 void setUsed (
double val,
double total);
35 void setBits(
int startbit,
unsigned char values);
65 bool checkX(
int x,
int width)
const;
void drawused(int mandatory)
BitFieldMeter(XOSView *parent, int numBits=1, int numfields=1, const char *title="", const char *bitlegend="", const char *fieldlegend="", int docaptions=0, int dolegends=0, int dousedlegends=0)
void drawBits(int mandatory=0)
void dousedlegends(int val)
void IntervalTimerStart()
void setUsed(double val, double total)
virtual ~BitFieldMeter(void)
void setBits(int startbit, unsigned char values)
virtual void drawfields(int mandatory=0)
void setfieldlegend(const char *fieldlegend)
void SetUsedFormat(const char *const str)
double IntervalTimeInSecs()
bool checkX(int x, int width) const
virtual void checkResources(void)
void drawfieldlegend(void)
int printedZeroTotalMesg_
double IntervalTimeInMicrosecs()
void setfieldcolor(int field, const char *color)
double report_usecs(void) const