Main Page | Namespace List | Compound List | File List | Compound Members | File Members

pc.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  *
00003  * (C) Copyright Koninklijke Philips Electronics NV 2006. 
00004  * All rights reserved. This software is licensed under the terms of
00005  * version 2.1 of the GNU Lesser General Public License as published 
00006  * by the Free Software Foundation. For licensing and warranty
00007  * information, see the file COPYING in the main directory.
00008  *
00009  *------------------------------------------------------------------*/
00010 
00011 #include "yapi.h"
00012 
00013 #include "producer.h"
00014 #include "consumer.h"
00015 
00016 class PC : public ProcessNetwork
00017 {
00018 public:
00019   PC(const Id& n);
00020   const char* type() const;
00021 
00022 private:
00023   Fifo<int> fifo;
00024 
00025   Producer prod;
00026   Consumer cons;
00027 };

Generated on Wed Feb 15 14:52:42 2006 for pc by doxygen 1.3.2