"Fossies" - the Fresh Open Source Software Archive 
Member "xosview-1.23/fieldmeterdecay.h" (11 Jul 2020, 1202 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 "fieldmeterdecay.h" see the
Fossies "Dox" file reference documentation.
1 //
2 // Original FieldMeter class is Copyright (c) 1994, 2006 by Mike Romberg
3 // ( mike.romberg@noaa.gov )
4 // Modifications from FieldMeter class done in Oct. 1995
5 // by Brian Grayson ( bgrayson@netbsd.org )
6 //
7 // This file was written by Brian Grayson for the NetBSD and xosview
8 // projects.
9 // This file may be distributed under terms of the GPL or of the BSD
10 // license, whichever you choose. The full license notices are
11 // contained in the files COPYING.GPL and COPYING.BSD, which you
12 // should have received. If not, contact one of the xosview
13 // authors for a copy.
14 //
15
16 #ifndef _FIELDMETERDECAY_H_
17 #define _FIELDMETERDECAY_H_
18
19 #include "fieldmeter.h"
20 #include "xosview.h"
21
22
23 class FieldMeterDecay : public FieldMeter {
24 public:
25 FieldMeterDecay( XOSView *parent, int numfields,
26 const char *title = "", const char *legend = "",
27 int docaptions = 0, int dolegends = 0, int dousedlegends = 0 );
28 virtual ~FieldMeterDecay( void );
29
30 virtual void drawfields( int mandatory = 0 );
31
32 protected:
33 int dodecay_;
34 int firsttime_; // Used to set up decaying fields right the first time.
35 double *decay_;
36 double *lastDecayval_;
37 private:
38 };
39
40 #endif