FanOutList.hh

Go to the documentation of this file.
00001 #ifndef FAN_OUT_LIST_HH
00002 #define FAN_OUT_LIST_HH
00003 
00004 
00005 // Copyright (c) 2001-2005 Clifton Labs, Inc.  All Rights Reserved.
00006 
00007 // You may modify, distribute, and use the software contained in this package
00008 // under the terms of the "GNU LIBRARY GENERAL PUBLIC LICENSE" version 2,
00009 // June 1991. A copy of this license agreement can be found in the file
00010 // "LGPL", distributed with this archive.
00011 
00012 #include <vector>
00013 using std::vector;
00014 #include <string>
00015 using std::string;
00016 #include <iostream>
00017 using std::ostream;
00018 
00019 class FanDest;
00020 class SigEvent;
00021 class SimulationObject;
00022 
00023 class FanOutList {
00024 public:
00025   FanOutList();
00026   ~FanOutList();
00027 
00028   FanOutList( const FanOutList & );
00029   FanOutList &operator=( const FanOutList &that );
00030 
00034   void sendEvent( const SigEvent *toSend, SimulationObject *sender );
00035 
00039   void add( const string &processName, int destSigId );
00040 
00044   void addAll( const FanOutList &toAdd );
00045 
00049   void dump( ostream & );
00050 
00051 private:
00052   vector<FanDest *> fanOut;
00053 };
00054 
00055 #endif

Generated on Fri Mar 31 11:05:08 2006 for Tyvis by  doxygen 1.4.6