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 class Producer : public Process 00014 { 00015 public: 00016 Producer(const Id& n, Out<int>& o); 00017 const char* type() const; 00018 void main(); 00019 00020 private: 00021 OutPort<int> out; 00022 };