00001 /* -*- mode: c++; c-basic-offset: 4; -*- */ 00002 #ifndef SENDS_FETCH_STAGE_HH 00003 #define SENDS_FETCH_STAGE_HH 00004 00005 #include "seda_stage.hh" 00006 00007 namespace sends { 00008 00009 class frame_loc; 00010 00022 class fetch_stage : public seda_stage { 00023 public: 00027 typedef transaction::gps_type gps_type; 00028 00032 typedef transaction::chan_index chan_index; 00033 00037 typedef transaction::seg_index seg_index; 00038 00042 typedef std::vector<chan_index> chan_vect; 00043 public: 00053 fetch_stage(int nThread, int nTrans); 00054 00058 virtual ~fetch_stage(void); 00059 00066 void filter(transaction* trans); 00067 00073 void find_data(transaction* trans); 00074 00083 void read(const frame_loc& fl, const chan_vect& v, 00084 gps_type start, gps_type stop); 00085 00091 const char* stage_name(void) const; 00092 00093 private: 00094 }; 00095 } 00096 00097 #endif // !defined(SENDS_FETCH_STAGE_HH)
1.5.5