Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

fifobase.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 #ifndef FIFOBASE_H
00012 #define FIFOBASE_H
00013 
00014 #include "connector.h"
00015 
00016 class NetworkBase;
00017 class InPortBase;
00018 class OutPortBase;
00019 
00020 class FifoBase : public Connector
00021 {
00022 public:
00023   FifoBase(const IdBase& n);
00024 
00025   NetworkBase* parentNetwork() const;
00026   OutPortBase* srcPort() const;
00027   InPortBase*  dstPort(unsigned int i=0) const;
00028 
00029   bool isFifo() const { return true; }
00030   
00031 private:
00032   friend void insert(NetworkBase* n, FifoBase* f);
00033 
00034 };
00035 
00036 #endif

Generated on Wed Feb 15 14:52:39 2006 for yapi by doxygen 1.3.2