/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #ifndef DAQREADOUTFORMAT_ROMDATA_H 00002 #define DAQREADOUTFORMAT_ROMDATA_H 00003 00004 /* 00005 * RomData.h 00006 * DaqReadoutFormat 00007 * 00008 * Created by Simon Patton on 7/21/10. 00009 * Copyright 2010 DayaBay Collaboration. All rights reserved. 00010 * 00011 */ 00012 #include "DaqReadoutFormat/DaqBuffer.h" 00013 00014 namespace DybDaq { 00015 class DaqContainer; 00016 class DaqExpandable; 00017 } 00018 00019 namespace DybDaq { 00020 00021 class RomData { 00022 00023 public: 00024 00025 friend class DaqContainer; 00026 00030 virtual ~RomData(); 00031 00035 virtual unsigned int romSize() const = 0; 00036 00041 virtual unsigned int gatherRom(DaqBuffer::OutputBufferList& outputBuffers) const = 0; 00042 00047 virtual unsigned int inspectRom(DaqBuffer::Bytes& inspectors) const = 0; 00048 00049 protected: 00050 00054 RomData(); 00055 00060 virtual bool setRomExpandable(DaqExpandable& expandable) = 0; 00061 00062 private: 00063 00067 RomData(RomData& rhs); 00068 00072 RomData& operator=(RomData& rhs); 00073 00074 }; 00075 00076 } 00077 00078 #endif // DAQREADOUTFORMAT_ROMDATA_H