FRIBParallelanalysis
1.0
FrameworkforMPIParalleldataanalysisatFRIB
|
#include <BufferDecoder.h>
Public Member Functions | |
CBufferDecoder () | |
virtual | ~CBufferDecoder () |
const Address_t | getBuffer () |
virtual const Address_t | getBody () |
virtual UInt_t | getBodySize () |
virtual UInt_t | getRun () |
virtual UInt_t | getEntityCount () |
virtual UInt_t | getSequenceNo () |
virtual UInt_t | getLamCount () |
virtual UInt_t | getPatternCount () |
virtual UInt_t | getBufferType () |
virtual void | getByteOrder (Short_t &Signature16, Int_t &Signature32) |
virtual std::string | getTitle () |
virtual bool | blockMode () |
void | setBody (Address_t p) |
In SpecTcl, the buffer decoder class offers specific services to event processors that are not available in the parallel analysis framework since not all workers will see the state transition items that are used to gather the information needed to provide those services. What we do is offer the interfaces, so the user code can compile and either return dummy stuff or throw exceptions if there's nothing reasonable to return.
frib::analysis::CBufferDecoder::CBufferDecoder | ( | ) |
constructor
|
virtual |
destructor
|
virtual |
Ring items are not block mode.
|
virtual |
getBody The body will point to the ring item as it does for RingBufferDecoder. that body will have to be set by the worker framework by calling setBody.
|
virtual |
getBodySize Treating m_pItem as a ring item, return its size.
|
virtual |
getBufferType Since we're only going to call the uperator() this will always be 1 for physics event. 1
|
virtual |
getByteOrder Little endian won the world. We just return the machine's byt order signatures.
[out] | signature16 | - 16 bit sig., |
[out] | signature32 | - 32 bit sig. |
|
virtual |
getEntityCount
|
virtual |
getLamCount This is deprecated and has been returning 0 for some time.
|
virtual |
getPaternCount Similarly, this has been returning 0 for some time
|
virtual |
getRun We don't know the run so always return 0.
|
virtual |
getSequenceNo
|
virtual |
getTitle We don't have a title but we can return an empty string.
void frib::analysis::CBufferDecoder::setBody | ( | Address_t | p | ) |
setBody Used by the framework to set the value of m_pItem