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