WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
RedbookFile.h
1#ifndef _WINC_REDBOOKFILE
2#define _WINC_REDBOOKFILE
3
4#include <WXP/Date.h>
5#include <WXP/File.h>
6#include <WXP/RedbookPacket.h>
7#include <WXP/RedbookPlotParam.h>
8#include <WXP/RedbookText.h>
9#include <WXP/RedbookVector.h>
10
11namespace WXP {
13 File file;
14 Date date;
15 unsigned char data[10000];
16 int len;
17 int ind;
18 int pi;
19 bool opened;
20
21 public:
23 RedbookFile( const char *file );
24 ~RedbookFile( );
25 int open( const char *file );
26 int close();
27 bool isOpen();
28 int readHeader();
29 int getPi();
30 inline int getDate( Date &rdate ){ rdate = date; return 1; };
31 int readPacket( RedbookPacket &pack );
32 int procPacket( RedbookPacket &pack );
33 int plotParam( RedbookPacket &pack, RedbookPlotParam &param );
34 int vector( RedbookPacket &pack, RedbookVector &vect );
35 int text( RedbookPacket &pack, RedbookText &text );
36 };
37}
38#endif
This class stores date and time information.
Definition Date.h:8
This class accesses files.
Definition File.h:15
This class reads in Redbook formatted data.
Definition RedbookFile.h:12
int getPi()
Definition RedbookFile.cc:128
~RedbookFile()
Definition RedbookFile.cc:40
int readHeader()
Definition RedbookFile.cc:78
int procPacket(RedbookPacket &pack)
Definition RedbookFile.cc:158
int vector(RedbookPacket &pack, RedbookVector &vect)
Definition RedbookFile.cc:264
int open(const char *file)
Definition RedbookFile.cc:49
int plotParam(RedbookPacket &pack, RedbookPlotParam &param)
Definition RedbookFile.cc:167
int readPacket(RedbookPacket &pack)
Definition RedbookFile.cc:137
int text(RedbookPacket &pack, RedbookText &text)
Definition RedbookFile.cc:205
int close()
Definition RedbookFile.cc:62
RedbookFile()
Definition RedbookFile.cc:24
bool isOpen()
Definition RedbookFile.cc:71
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores Redbook packet data.
Definition RedbookPacket.h:13
This struct stores Redbook plotting parameters.
Definition RedbookPlotParam.h:5
This struct stores Redbook text data.
Definition RedbookText.h:13
This struct stores Redbook vector data.
Definition RedbookVector.h:7