MOOS 0.2375
|
00001 #ifndef _indexedAlogReader_h_ 00002 #define _indexedAlogReader_h_ 00003 00004 #include <string> 00005 #include <vector> 00006 00007 #include "recordTypes.h" 00008 #include "alogLineReader.h" 00009 #include "indexReader.h" 00010 00011 class indexedAlogReader 00012 { 00013 public: 00014 indexedAlogReader(); 00015 ~indexedAlogReader(); 00016 00017 bool Init( std::string alogFilename ); 00018 void GetNextLine(std::string & line); 00019 void GetPrevLine(std::string & line); 00020 00021 void GetLine( int lineNum, std::string & line); 00022 00023 int GetNumRecords() const; 00024 double GetTime( int i ) const; 00025 double GetStartTime() const; 00026 const aloglib::idxMsgList& GetMsgList() const; 00027 const aloglib::idxSrcList& GetSrcList() const; 00028 const std::vector<aloglib::idxRec>& GetRecordList() const; 00029 00030 alogLineReader m_alogLineReader; 00031 indexReader m_indexReader; 00032 int m_CurrentLine; 00033 }; 00034 00035 #endif // _indexedAlogReader_h_ 00036