xosview  1.23
About: xosview is an X Windows based system monitor (cpu, memory, swap and network usage; interrupt and serial activities; load average).
  Fossies Dox: xosview-1.23.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pagemeter.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 1996 by Massimiliano Ghilardi ( ghilardi@cibs.sns.it )
3 // 2007 by Samuel Thibault ( samuel.thibault@ens-lyon.org )
4 //
5 // This file may be distributed under terms of the GPL
6 //
7 
8 #ifndef _PAGEMETER_H_
9 #define _PAGEMETER_H_
10 
11 #include "fieldmetergraph.h"
12 
13 class PageMeter : public FieldMeterGraph {
14 public:
15  PageMeter( XOSView *parent, float max );
16  ~PageMeter( void );
17 
18  const char *name( void ) const { return "PageMeter"; }
19  void checkevent( void );
20 
21  void checkResources( void );
22 protected:
23  float pageinfo_[2][2];
25  float maxspeed_;
26 
27  void getpageinfo( void );
28  void updateinfo(void);
29 private:
30 };
31 
32 #endif
const char * name(void) const
Definition: pagemeter.h:18
~PageMeter(void)
float pageinfo_[2][2]
Definition: pagemeter.h:23
void updateinfo(void)
Definition: pagemeter.cc:53
int pageindex_
Definition: pagemeter.h:24
void getpageinfo(void)
float maxspeed_
Definition: pagemeter.h:25
PageMeter(XOSView *parent, double total)
Definition: pagemeter.cc:22
void checkevent(void)
void checkResources(void)
static const int max
Definition: intmeter.cc:17