Multiplex.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2002 by Jonathon Kocz
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Classes/dsp/Multiplex.h
10 
11 #ifndef __Multiplex_h
12 #define __Multiplex_h
13 
14 #include "dsp/MultiFile.h"
15 
16 namespace dsp {
17 
19  class Multiplex : public MultiFile {
20 
21  public:
22 
25 
27  virtual ~Multiplex ();
28 
29  protected:
30 
32  virtual int64_t load_bytes (unsigned char* buffer, uint64_t bytes);
33 
35  virtual int64_t seek_bytes (uint64_t bytes);
36 
39 
41  unsigned current_index;
42  };
43 
44 }
45 
46 #endif // !defined(__Multiplex_h)
47 
virtual int64_t seek_bytes(uint64_t bytes)
Adjust the file pointer.
Definition: Multiplex.C:107
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
unsigned current_index
Index of the current File in use.
Definition: Multiplex.h:51
virtual int64_t load_bytes(unsigned char *buffer, uint64_t bytes)
Load bytes from file.
Definition: Multiplex.C:30
virtual ~Multiplex()
Destructor.
Definition: Multiplex.C:26
Reference::To< File > loader
Currently open File instance.
Definition: Multiplex.h:48
Base class of objects that load data from multiple files.
Definition: MultiFile.h:24
Multiplex()
Constructor.
Definition: Multiplex.C:21

Generated using doxygen 1.8.17