00001 00016 // =================================================================== 00017 // Avoid multiple inclusion. 00018 #if !defined (_TEXT_RAW_READER_HH) 00019 #define _TEXT_RAW_READER_HH 00020 // =================================================================== 00021 00022 00023 00024 // =================================================================== 00025 // INCLUDES 00026 00027 #include <stdio.h> 00028 #include "Reference_Reader.hh" 00029 // =================================================================== 00030 00031 00032 00033 // =================================================================== 00034 // CLASS DEFINITION 00035 00043 class Text_Raw_Reader : public Reference_Reader { 00044 00045 public: // CONSTRUCTOR 00046 00055 Text_Raw_Reader (const char* const reference_trace_pathname); 00056 00057 public: // VIRTUAL METHODS 00058 00070 virtual void read (reference_record_s* const reference_record); 00071 00072 protected: // DATA 00073 00075 timestamp_t reference_time; 00076 00078 timestamp_t instruction_time; 00079 00080 }; // class Reference_Reader 00081 // =================================================================== 00082 00083 00084 00085 // =================================================================== 00086 #endif // _TEXT_RAW_READER_HH 00087 // ===================================================================