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

In This Package:

CbltBuffer.cc
Go to the documentation of this file.
00001 /*
00002  *  CbltBuffer.cc
00003  *  CbltReadoutFormat
00004  *
00005  *  Created by Simon Patton on 7/21/10.
00006  *  Copyright 2010 DayaBay Collaboration. All rights reserved.
00007  *
00008  */
00009 #include "CbltReadoutFormat/CbltBuffer.h"
00010 
00011 #include "CbltReadoutFormat/CbltTraits.h"
00012 
00013 using DybDaq::ByteBuffer;
00014 using DybDaq::CbltBuffer;
00015 using DybDaq::CbltTraits;
00016 
00017 CbltBuffer::CbltBuffer(char* buffer,
00018                        const CbltTraits& traits,
00019                        const unsigned int size) :
00020 DaqBuffer(buffer,
00021           traits,
00022           size) {
00023 }
00024 
00025 CbltBuffer::CbltBuffer(const ByteBuffer& byteBuffer,
00026                        const CbltTraits& traits) :
00027 DaqBuffer(byteBuffer,
00028           traits) {
00029 }
00030 
00031 CbltBuffer::~CbltBuffer() {
00032 }
00033 
00034 const CbltTraits& CbltBuffer::cbltTraits() const {
00035         return dynamic_cast<const CbltTraits&>(daqTraits());
00036 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:53:11 for CbltReadoutFormat by doxygen 1.7.4