FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
BufferDecoder.h
Go to the documentation of this file.
1 /*
2  This software is Copyright by the Board of Trustees of Michigan
3  State University (c) Copyright 2017.
4 
5  You may use this software under the terms of the GNU public license
6  (GPL). The terms of this license are described at:
7 
8  http://www.gnu.org/licenses/gpl.txt
9 
10  Authors:
11  Ron Fox
12  Giordano Cerriza
13  FRIB
14  Michigan State University
15  East Lansing, MI 48824-1321
16 */
17 
21 #ifndef ANALYSIS_BUFFERDECODER_H
22 #define ANALYSIS_BUFFERDECODER_H
23 #include "SpecTclTypes.h"
24 #include <string>
25 
26 namespace frib {
27  namespace analysis {
40  private:
41  Address_t m_pItem;
42  public:
43 
45  virtual ~CBufferDecoder();
46  const Address_t getBuffer();
47 
48  virtual const Address_t getBody();
49  virtual UInt_t getBodySize() ;
50  virtual UInt_t getRun();
51  virtual UInt_t getEntityCount();
52  virtual UInt_t getSequenceNo();
53  virtual UInt_t getLamCount();
54  virtual UInt_t getPatternCount();
55  virtual UInt_t getBufferType();
56  virtual void getByteOrder(Short_t& Signature16,
57  Int_t& Signature32);
58  virtual std::string getTitle();
59  virtual bool blockMode(); // True if data source must deliver fixed sized blocks.
60  // Used by the framework
61 
62  void setBody(Address_t p);
63  };
64  }
65 }
66 
67 
68 #endif
virtual UInt_t getRun()
Definition: BufferDecoder.cpp:62
void setBody(Address_t p)
Definition: BufferDecoder.cpp:145
virtual ~CBufferDecoder()
Definition: BufferDecoder.cpp:34
virtual UInt_t getLamCount()
Definition: BufferDecoder.cpp:88
virtual const Address_t getBody()
Definition: BufferDecoder.cpp:44
virtual UInt_t getSequenceNo()
Definition: BufferDecoder.cpp:78
virtual bool blockMode()
Definition: BufferDecoder.cpp:137
virtual UInt_t getEntityCount()
Definition: BufferDecoder.cpp:70
Definition: BufferDecoder.h:39
virtual void getByteOrder(Short_t &Signature16, Int_t &Signature32)
Definition: BufferDecoder.cpp:118
virtual UInt_t getBufferType()
Definition: BufferDecoder.cpp:107
CBufferDecoder()
Definition: BufferDecoder.cpp:30
virtual UInt_t getBodySize()
Definition: BufferDecoder.cpp:52
virtual UInt_t getPatternCount()
Definition: BufferDecoder.cpp:97
virtual std::string getTitle()
Definition: BufferDecoder.cpp:130
Definition: AbstractApplication.cpp:30