00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: outputBuffer.h 00005 * 00006 * Description: 00007 * 00008 * Version: 1.0 00009 * Created: 02/18/2010 07:53:39 PM 00010 * Revision: none 00011 * Compiler: gcc 00012 * 00013 * Author: Mitchelle Rasquinha (), mitchelle.rasquinha@gatech.edu 00014 * Company: Georgia Institute of Technology 00015 * 00016 * ===================================================================================== 00017 */ 00018 00019 #ifndef _outputbuffer_h_INC 00020 #define _outputbuffer_h_INC 00021 00022 #include "buffer.h" 00023 00024 typedef unsigned int uint; 00025 /* 00026 * ===================================================================================== 00027 * Class: OutputBuffer 00028 * Description: 00029 * ===================================================================================== 00030 */ 00031 class OutputBuffer : public Buffer 00032 { 00033 public: 00034 OutputBuffer (){} /* constructor */ 00035 virtual ~OutputBuffer (){} 00036 00037 virtual uint get_no_vcs () const = 0; 00038 virtual void change_pull_channel ( uint channel ) = 0; 00039 virtual void change_push_channel ( uint channel ) = 0; 00040 virtual uint get_pull_channel () const = 0; 00041 virtual uint get_push_channel () const = 0; 00042 virtual bool is_channel_full ( uint channel ) const = 0; 00043 virtual bool is_empty ( uint channel ) const = 0; 00044 00045 protected: 00046 00047 private: 00048 00049 }; /* ----- end of class OutputBuffer ----- */ 00050 00051 #endif /* ----- #ifndef _outputbuffer_h_INC ----- */