|
rules/wiredbas/common/BusCapacity.hGo to the documentation of this file.00001 //============================================================================ 00002 // Author : Alessandro Pinto <apinto@eecs.berkeley.edu> 00003 // University of California, Berkeley 00004 // 545 Cory Hall, Berkeley, CA 94720 00005 // Copyright : See COPYING file that comes with this distribution 00006 //============================================================================ 00007 00008 #ifndef BUSCAPACITY_H_ 00009 #define BUSCAPACITY_H_ 00010 00011 #include "quantities/Bandwidth.h" 00012 #include "networks/wiredbas/WiredBasImplementation.h" 00013 #include "rules/wiredbas/common/BusRule.h" 00014 00015 namespace cosi 00016 { 00017 00018 namespace rules 00019 { 00020 00021 namespace wiredbas 00022 { 00023 00024 class BusCapacity : public BusRule 00025 { 00026 cosi::Bandwidth mCapacity ; 00027 public: 00028 BusCapacity(); 00029 00030 virtual ~BusCapacity(); 00031 00032 void SetCapacityValue( double pCapacity) ; 00033 00034 void SetCapacity(cosi::Bandwidth pB) ; 00035 00036 virtual bool Satisfies(cosi::commstruct::wiredbas::Implementation pC) = 0 ; 00037 00038 }; 00039 00040 } 00041 00042 } 00043 00044 } 00045 00046 #endif /*BUSCAPACITY_H_*/ Generated on Sun Sep 7 18:37:43 2008 for COSI by 1.5.4 |