pinapa-extend-slave-process.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002  *         Copyright (c) STMicroelectronics,Verimag
00003  * Pinapa is free software; you can redistribute it and/or
00004  * modify it under the terms of the GNU Lesser General Public
00005  * License as published by the Free Software Foundation; either
00006  * version 2 of the License, or (at your option) any later version.
00007  * 
00008  * This library is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011  * Library General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU Lesser General Public
00014  * License along with this library; if not, write to the Free
00015  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00016  * MA 02111-1307, USA
00017  *------------------------------------------------------------------------------
00018  *                 System Platform Group - HPC
00019  *******************************************************************************/
00020 
00021 #ifndef _PINAPA_EXTEND_SLAVE_PROCESS_H_
00022 #define _PINAPA_EXTEND_SLAVE_PROCESS_H_
00023 
00024 /*-----------------------------------------------------------------------------
00025  * Includes
00026  *---------------------------------------------------------------------------*/
00027 #include "pinapa-parser-all.h"
00028 #include "pinapa-systemc-light.h"
00029 #include "pinapa-simcontext.h"
00030 
00031 
00038 /*-----------------------------------------------------------------------------
00039  * Types
00040  *---------------------------------------------------------------------------*/
00041 namespace pinapa {
00042 
00043   //-----------------------------------------------------------------------------
00045   //-----------------------------------------------------------------------------
00046   class slave_method_as_process : 
00047     public sc_process_b
00048   {
00049   public:
00050     slave_method_as_process::slave_method_as_process(string slave_base,
00051                                                      string method_name,
00052                                                      sc_module * related_module);
00053       // everything is in the base class.
00054 
00055   }; /* class slave_method_as_process */ 
00056 
00057   typedef slave_method_as_process * slave_method_handle;
00058 
00059 }; /* namespace pinapa */
00060 
00061 #endif /* _PINAPA_EXTENDED_METHOD_H_ */
00062 
00063 /* EOF */
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page