MaximUnpacker.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Aidan Hotan
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/maxim/dsp/MaximUnpacker.h
10 
11 
12 #ifndef __MaximUnpacker_h
13 #define __MaximUnpacker_h
14 
15 #include "dsp/Unpacker.h"
16 
17 #include "Registry.h"
18 
19 namespace dsp {
20 
22 
23  class MaximUnpacker : public Unpacker {
24 
25  public:
26 
28  MaximUnpacker (const char* name = "MaximUnpacker")
29  : Unpacker (name) {}
30 
31  protected:
32 
34  virtual void unpack ();
35 
37  virtual bool matches (const Observation* observation);
38 
39  };
40 
41 }
42 
43 #endif // !defined(__MaximUnpacker_h)
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Signal::State get_state() const
Return the state of the signal.
Definition: Observation.h:70
unsigned get_nbit() const
Return the number of bits per value.
Definition: Observation.h:95
std::string name
Operation name.
Definition: Operation.h:153
Stores information about digital, band-limited, time-varying signals.
Definition: Observation.h:33
MaximUnpacker(const char *name="MaximUnpacker")
Constructor.
Definition: MaximUnpacker.h:38
virtual bool matches(const Observation *observation)
Return true if we can convert the Observation.
Definition: MaximUnpacker.C:13
Abstract base class of Transformations that convert n-bit to float.
Definition: Unpacker.h:42
std::string get_machine() const
Return the instrument used to record signal.
Definition: Observation.h:194
virtual void unpack()
The unpacking routine.
Definition: MaximUnpacker.C:20

Generated using doxygen 1.8.17