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

In This Package:

RecordFromFStream.h
Go to the documentation of this file.
00001 #ifndef DYBDAQ_RECORD_FROM_FSTREAM_H
00002 #define DYBDAQ_RECORD_FROM_FSTREAM_H
00003 
00004 #include <string>
00005 #include <fstream>
00006 #include <stdint.h>
00007 
00008 namespace DybDaq {
00009 
00010 class RecordBuffer;
00011 
00012 class RecordFromFStream
00013 {
00014     public :
00015 
00016         RecordFromFStream();
00017         virtual ~RecordFromFStream();
00018 
00019         bool open(const std::string& fname);
00020         RecordBuffer* next();
00021 
00022 
00023     protected :
00024         std::ifstream m_fs;
00025 
00026     private :
00027 
00028         char*     m_block;
00029         uint32_t  m_limit;
00030         const int m_preRead;
00031 #ifdef RPC_ERROR_DEBUG
00032         int     m_debug;
00033 #endif
00034 };
00035 
00036 } // namespace DybDaq
00037 #endif
| 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