"Fossies" - the Fresh Open Source Software Archive

Member "xosview-1.23/hpux/loadmeter.h" (11 Jul 2020, 571 Bytes) of package /linux/misc/xosview-1.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "loadmeter.h" see the Fossies "Dox" file reference documentation.

    1 //  
    2 //  Copyright (c) 1994, 1995, 1997 by Mike Romberg ( romberg@fsl.noaa.gov )
    3 //
    4 //  This file may be distributed under terms of the GPL
    5 //
    6 
    7 #ifndef _LOADMETER_H_
    8 #define _LOADMETER_H_
    9 
   10 
   11 #include "fieldmeterdecay.h"
   12 
   13 class LoadMeter : public FieldMeterDecay {
   14 public:
   15   LoadMeter( XOSView *parent );
   16   ~LoadMeter( void );
   17 
   18   const char *name( void ) const { return "LoadMeter"; }  
   19   void checkevent( void );
   20 
   21   void checkResources( void );
   22 protected:
   23 
   24   void getloadinfo( void );
   25   unsigned long procloadcol_, warnloadcol_;
   26 private:
   27   int alarmThreshold;
   28 };
   29 
   30 
   31 #endif