WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
MiscPlot.h
1#ifndef _WINC_MISCPLOT
2#define _WINC_MISCPLOT
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/Plot.h>
10#include <WXP/String.h>
11
12namespace WXP {
13 class MiscPlot : public Drawing, public Listener {
14 Filename filename;
15 String param;
16 String color;
17 int sync;
18
19 public:
20 MiscPlot();
21 MiscPlot( const char *str );
22 int init();
23 int setParam( const char *str );
24 int setFile();
25 int setInput( const char *str );
26 int setNameConv( const char *name );
27 int setFilename();
28 int setFilename( const char *str );
29 int setFilename( Date &date );
30 int setFilename( Date &date, const char *param );
31 int getDate( Date &date );
32 inline int setForeTime( const char *fore ){ return 1; };
33 int getDomain( Domain &domain );
34 int getInitDate( Date &date );
35 int getDateOffset();
36 int getLoopType();
37 int getNumFrames();
38 inline int getSync(){ return sync; };
39 int setColor( const char *str );
40 int draw( Plot &plot, const char *str );
41 int draw( Plot &plot );
42 void callback( const char *ev_str, const char *ev_data, const void *data );
43 int print();
44 };
45}
46#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 plots miscellaneous types of data.
Definition MiscPlot.h:13
int getNumFrames()
Definition MiscPlot.cc:135
int setParam(const char *str)
Definition MiscPlot.cc:39
int getLoopType()
Definition MiscPlot.cc:127
int setInput(const char *str)
Definition MiscPlot.cc:68
int setFile()
Definition MiscPlot.cc:54
int getDateOffset()
Definition MiscPlot.cc:123
int getSync()
Definition MiscPlot.h:38
int getDomain(Domain &domain)
Definition MiscPlot.cc:109
int getDate(Date &date)
Definition MiscPlot.cc:101
void callback(const char *ev_str, const char *ev_data, const void *data)
Definition MiscPlot.cc:106
int setForeTime(const char *fore)
Definition MiscPlot.h:32
int init()
Definition MiscPlot.cc:33
int setFilename()
Definition MiscPlot.cc:81
int setNameConv(const char *name)
Definition MiscPlot.cc:76
int print()
Definition MiscPlot.cc:253
int getInitDate(Date &date)
Definition MiscPlot.cc:116
This class defines mid-level graphics commands. Calls the Graph object for actual graphics output.
Definition Plot.h:26
This is a variable length string class.
Definition String.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4