forked from peterkvt80/vbit2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packet830.h
43 lines (32 loc) · 797 Bytes
/
packet830.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** Packet source for 8/30/1 and 8/30/2
*/
#ifndef _PACKET830_H_
#define _PACKET830_H_
#include "packetsource.h"
#include "configure.h"
namespace vbit
{
class Packet830 : public PacketSource
{
public:
/** Default constructor */
Packet830(ttx::Configure *configure);
/** Default destructor */
virtual ~Packet830();
/** @todo Routines for cni, nic, MJD and station ident
* @todo Routines for PDC flag management
*/
// overrides
Packet* GetPacket(Packet* p) override;
/**
* Packet 830 must always wait for the correct field.
* @param force is ignored
*/
bool IsReady(bool force=false);
protected:
private:
ttx::Configure* _configure;
long calculateMJD(int year, int month, int day);
};
}
#endif // _PACKET830_H_