/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes
DybDaq::RecordBuffer Class Reference

#include <RecordBuffer.h>

Collaboration diagram for DybDaq::RecordBuffer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RecordBuffer (char *data, int size)
virtual ~RecordBuffer ()
char * data ()
int size ()
DaqRawEventtimeRevisedEvent ()

Protected Attributes

char * m_data
int m_size
DaqRawEventm_daqEvt

Detailed Description

Definition at line 8 of file RecordBuffer.h.


Constructor & Destructor Documentation

DybDaq::RecordBuffer::RecordBuffer ( char *  data,
int  size 
) [inline]

Definition at line 12 of file RecordBuffer.h.

DybDaq::RecordBuffer::~RecordBuffer ( ) [virtual]

Definition at line 4 of file RecordBuffer.cc.

{
    delete m_daqEvt;
}

Member Function Documentation

char* DybDaq::RecordBuffer::data ( ) [inline]

Definition at line 18 of file RecordBuffer.h.

{ return m_data; }
int DybDaq::RecordBuffer::size ( ) [inline]

Definition at line 19 of file RecordBuffer.h.

{ return m_size; }
DybDaq::DaqRawEvent * DybDaq::RecordBuffer::timeRevisedEvent ( )

Definition at line 9 of file RecordBuffer.cc.

{
    if ( m_daqEvt == 0 ) {
        m_daqEvt = new DaqRawEvent((const uint32_t*)(m_data+16));
        m_daqEvt->timeRevise();
    }
    return m_daqEvt;
}

Member Data Documentation

char* DybDaq::RecordBuffer::m_data [protected]

Definition at line 26 of file RecordBuffer.h.

Definition at line 27 of file RecordBuffer.h.

Definition at line 29 of file RecordBuffer.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:52:46 for RawRecordPool by doxygen 1.7.4