1 // 2 // Copyright (c) 1994, 1995, 2006 by Mike Romberg ( mike.romberg@noaa.gov ) 3 // 4 // This file may be distributed under terms of the GPL 5 // 6 7 #ifndef _SWAPMETER_H_ 8 #define _SWAPMETER_H_ 9 10 #include "fieldmetergraph.h" 11 #include "xosview.h" 12 13 14 class SwapMeter : public FieldMeterGraph { 15 public: 16 SwapMeter( XOSView *parent ); 17 ~SwapMeter( void ); 18 19 const char *name( void ) const { return "SwapMeter"; } 20 void checkevent( void ); 21 22 void checkResources( void ); 23 protected: 24 25 void getswapinfo( void ); 26 private: 27 }; 28 29 30 #endif