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

In This Package:

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

Generated on Fri May 16 2014 09:53:06 for LtbReadoutFormat by doxygen 1.7.4