Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/mvtx_decoder/PayLoadSG.h>
Classes | |
struct | SGPiece |
Public Member Functions | |
PayLoadSG ()=default | |
~PayLoadSG ()=default | |
add n bytes to the buffer | |
void | add (size_t n, bool err) |
move current pointer to the head | |
void | rewind () |
make buffer empty | |
void | clear () |
void | setDone () |
size_t & | currentPieceId () |
size_t | currentPieceId () const |
const SGPiece * | currentPiece () const |
const SGPiece * | nextPiece () |
const SGPiece * | getPiece (int i) const |
size_t | getNPieces () const |
Private Attributes | |
std::vector< SGPiece > | mBuffer |
size_t | mCurrentPieceId = 0 |
Definition at line 16 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 16 of file PayLoadSG.h
|
default |
|
default |
add n bytes to the buffer
|
inline |
move current pointer to the head
Definition at line 25 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 25 of file PayLoadSG.h
References mBuffer.
|
inline |
Definition at line 40 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 40 of file PayLoadSG.h
References mBuffer, and mCurrentPieceId.
Referenced by mvtx::GBTLink::clear().
|
inline |
Definition at line 59 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 59 of file PayLoadSG.h
References mBuffer, and mCurrentPieceId.
Referenced by nextPiece().
|
inline |
Definition at line 56 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 56 of file PayLoadSG.h
References mCurrentPieceId.
|
inline |
Definition at line 57 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 57 of file PayLoadSG.h
References mCurrentPieceId.
|
inline |
Definition at line 70 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 70 of file PayLoadSG.h
References mBuffer.
|
inline |
Definition at line 68 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 68 of file PayLoadSG.h
|
inline |
Definition at line 61 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 61 of file PayLoadSG.h
References currentPiece(), and mCurrentPieceId.
|
inline |
make buffer empty
Definition at line 34 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 34 of file PayLoadSG.h
References mCurrentPieceId.
|
inline |
Definition at line 54 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 54 of file PayLoadSG.h
References mBuffer, and mCurrentPieceId.
|
private |
Definition at line 73 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 73 of file PayLoadSG.h
Referenced by add(), clear(), currentPiece(), getNPieces(), getPiece(), and setDone().
|
private |
Definition at line 74 of file PayLoadSG.h.
View newest version in sPHENIX GitHub at line 74 of file PayLoadSG.h
Referenced by clear(), currentPiece(), currentPieceId(), nextPiece(), rewind(), and setDone().