WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
SoundPlot.h
1#ifndef _WINC_SOUNDPLOT
2#define _WINC_SOUNDPLOT
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Drawing.h>
7#include <WXP/Filename.h>
8#include <WXP/Listener.h>
9#include <WXP/ParcelParams.h>
10#include <WXP/Plot.h>
11#include <WXP/ThermPlot.h>
12#include <WXP/UpaData.h>
13
14namespace WXP {
15 class SoundPlot : public Drawing, public Listener {
16 int type;
17 int draw_par;
18 int refresh;
19 char id[15];
20 int diag;
21 int sync;
22 String color;
23 String color_parcel;
24 Filename filename;
25 ThermPlot therm;
26 ParcelParams parcel;
27 String time;
28
29 public:
30 SoundPlot();
31 SoundPlot( const char *param );
32 int init();
33 int setType( int rtype );
34 int setType( const char *str );
35 int getType();
36 inline int setDiag( int val ){ diag = val; return 1; };
37 int setParam( const char *str );
38 int setFile();
39 int setInput( const char *type );
40 int setNameConv( const char *name );
41 int setHour( const char *str );
42 int setFilename();
43 int setFilename( const char *name );
44 int setFilename( Date &date );
45 int setFilename( Date &date, const char *param );
46 int setForeTime( const char *fore );
47 int setId( const char *rid );
48 int promptId();
49 int getDate( Date &date );
50 int getInitDate( Date &date );
51 int getDateOffset();
52 int getLoopType();
53 int getNumFrames();
54 int setLineColor( const char *str );
55 int setParcelColor( const char *str );
56 int getDomain( Domain &domain );
57 inline int getSync(){ return sync; };
58 int draw( Plot &plot );
59 int draw( Plot &plot, UpaData &data );
60 void callback( const char *ev_str, const char *ev_data, const void *data );
61 int print();
62 };
63}
64#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This is a virtual class defining drawing routines.
Definition Drawing.h:16
This class creates filenames.
Definition Filename.h:11
This virtual class defines the callback method for use with plotting.
Definition Listener.h:11
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This class plots a thermodynamic diagram.
Definition SoundPlot.h:15
int draw(Plot &plot)
Definition SoundPlot.cc:259
int getNumFrames()
Definition SoundPlot.cc:235
int setNameConv(const char *name)
Definition SoundPlot.cc:138
int setInput(const char *type)
Definition SoundPlot.cc:134
int setParam(const char *str)
Definition SoundPlot.cc:92
int setFilename()
Definition SoundPlot.cc:148
int getDomain(Domain &domain)
Definition SoundPlot.cc:252
int getDate(Date &date)
Definition SoundPlot.cc:209
int init()
Definition SoundPlot.cc:60
int getSync()
Definition SoundPlot.h:57
int getLoopType()
Definition SoundPlot.cc:225
int print()
Definition SoundPlot.cc:712
int getInitDate(Date &date)
Definition SoundPlot.cc:214
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition SoundPlot.cc:239
int setFile()
Definition SoundPlot.cc:116
int getDateOffset()
Definition SoundPlot.cc:221
int setForeTime(const char *fore)
Definition SoundPlot.cc:192
This is a variable length string class.
Definition String.h:5
This class plots thermodynamic diagrams (no soundings)
Definition ThermPlot.h:12
This class stores upper air data.
Definition UpaData.h:13
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores parcel parameters.
Definition ParcelParams.h:9