AdditionalDrivers.hh

Go to the documentation of this file.
00001 #ifndef ADDITIONAL_DRIVERS_HH
00002 #define ADDITIONAL_DRIVERS_HH
00003 
00004 //---------------------------------------------------------------------------
00005 // Copyright (c) 2004-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 
00013 #include <clutils/Set.h>
00014 using clutils::Set;
00015 
00016 class SignalBase;
00017 class RValue;
00018 class ArrayInfo;
00019 class VHDLKernel;
00020 
00021 class AdditionalDrivers {
00022 public:
00023   AdditionalDrivers(){}
00024   AdditionalDrivers( const AdditionalDrivers &that );
00025   ~AdditionalDrivers(){}
00026   
00027   AdditionalDrivers &operator=( const AdditionalDrivers &that );
00028 
00029   void addDriver( SignalBase *toAdd );
00030   void addDrivers( const AdditionalDrivers &toAdd );
00031 
00032   void updateDriver( int sigId,
00033                      VHDLKernel *srcProcess,
00034                      const RValue *data,
00035                      const ArrayInfo *sInfo, 
00036                      const ArrayInfo *dInfo );
00037 
00038   int length() const;
00039 
00040 private:
00041   Set<SignalBase> drivers;
00042 };
00043 
00044 #endif

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