buffer.h

Go to the documentation of this file.
00001 /*
00002  * =====================================================================================
00003  *
00004  *       Filename:  buffer.h
00005  *
00006  *    Description:  
00007  *
00008  *        Version:  1.0
00009  *        Created:  02/18/2010 07:12:13 PM
00010  *       Revision:  none
00011  *       Compiler:  gcc
00012  *
00013  *         Author:  Mitchelle Rasquinha
00014  *        Company:  Georgia Institute of Technology
00015  *
00016  * =====================================================================================
00017  */
00018 
00019 #ifndef  _buffer_h_INC
00020 #define  _buffer_h_INC
00021 
00022 #include        "../../data_types/impl/flit.h"
00023 #include        "../../../util/simIrisComponentHeader.h"
00024 
00025 using namespace std;
00026 
00027 
00028 /*
00029  * =====================================================================================
00030  *        Class:  Buffer
00031  *  Description:  
00032  * =====================================================================================
00033  */
00034 class Buffer
00035 {
00036     public:
00037         Buffer (){}                             /* constructor */
00038         ~Buffer() {}
00039         virtual void push ( Flit* f)  = 0;
00040         virtual Flit* pull () = 0;
00041         virtual uint get_occupancy ( uint channel ) const = 0;
00042 
00043     protected:
00044 
00045     private:
00046 
00047 }; /* -----  end of class Buffer  ----- */
00048 
00049 #endif   /* ----- #ifndef buffer_INC  ----- */
00050 

Generated on Tue Oct 19 17:22:00 2010 for IRIS by  doxygen 1.5.8