Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
buffer Class Referenceabstract

#include <online_distribution/blob/master/newbasic/buffer.h>

+ Inheritance diagram for buffer:

Public Member Functions

 buffer ()
 
virtual ~buffer ()
 
virtual EventgetEvent ()=0
 
virtual int * getEventData ()=0
 
virtual int isGood () const =0
 

Static Public Member Functions

static int makeBuffer (PHDWORD *bp, const int allocatedsize, buffer **bptr)
 
static int i4swap (const int in)
 
static unsigned int u4swap (const unsigned int in)
 
static int i22swap (const int in)
 
static short i2swap (const short in)
 

Detailed Description

Definition at line 11 of file buffer.h.

View newest version in sPHENIX GitHub at line 11 of file buffer.h

Constructor & Destructor Documentation

buffer::buffer ( )

Definition at line 8 of file buffer.cc.

View newest version in sPHENIX GitHub at line 8 of file buffer.cc

buffer::~buffer ( )
virtual

Definition at line 14 of file buffer.cc.

View newest version in sPHENIX GitHub at line 14 of file buffer.cc

Member Function Documentation

virtual Event* buffer::getEvent ( )
pure virtual

Implemented in oncsBuffer, prdfBuffer, lzobuffer, and gzbuffer.

Referenced by gzbuffer::getEvent(), lzobuffer::getEvent(), and fileEventiterator::getNextEvent().

+ Here is the caller graph for this function:

virtual int* buffer::getEventData ( )
pure virtual

Implemented in oncsBuffer, and prdfBuffer.

int buffer::i22swap ( const int  in)
static

Definition at line 86 of file buffer.cc.

View newest version in sPHENIX GitHub at line 86 of file buffer.cc

References Acts::PhysicalConstants::c, i, and in.

short buffer::i2swap ( const short  in)
static

Definition at line 103 of file buffer.cc.

View newest version in sPHENIX GitHub at line 103 of file buffer.cc

References Acts::PhysicalConstants::c, i, and in.

int buffer::i4swap ( const int  in)
static

Definition at line 51 of file buffer.cc.

View newest version in sPHENIX GitHub at line 51 of file buffer.cc

References Acts::PhysicalConstants::c, i, and in.

Referenced by prdfBuffer::buffer_swap(), Packet_gl1psum::decode(), Packet_A::fix_endianess(), prdfBuffer::frame_swap(), gzbuffer::gzbuffer(), lzobuffer::lzobuffer(), and main().

+ Here is the caller graph for this function:

virtual int buffer::isGood ( ) const
pure virtual

Implemented in oncsBuffer, and prdfBuffer.

int buffer::makeBuffer ( PHDWORD bp,
const int  allocatedsize,
buffer **  bptr 
)
static

Definition at line 18 of file buffer.cc.

View newest version in sPHENIX GitHub at line 18 of file buffer.cc

References BUFFERMARKER, GZBUFFERMARKER, LZO1XBUFFERMARKER, ONCSBUFFERMARKER, and u4swap().

Referenced by rcdaqEventiterator::read_next_buffer(), and fileEventiterator::read_next_buffer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

unsigned int buffer::u4swap ( const unsigned int  in)
static

Definition at line 68 of file buffer.cc.

View newest version in sPHENIX GitHub at line 68 of file buffer.cc

References Acts::PhysicalConstants::c, i, and in.

Referenced by check_buffermarker(), gzbuffer::gzbuffer(), lzobuffer::lzobuffer(), main(), makeBuffer(), prdfBuffer::prdfBuffer(), and fileEventiterator::read_next_buffer().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: