|
libraries/wiredbas/common/Bus.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 BUS_H_ 00009 #define BUS_H_ 00010 00011 #include "libraries/wiredbas/common/InstantiableBus.h" 00012 #include "networks/wiredbas/WiredBasImplementation.h" 00013 00014 namespace cosi 00015 { 00016 00017 namespace library 00018 { 00019 00020 namespace wiredbas 00021 { 00022 00023 class Bus : public InstantiableBus 00024 { 00025 public: 00026 Bus(); 00027 virtual ~Bus(); 00028 virtual double BusAccessLatencyValue(cosi::commstruct::wiredbas::Implementation* pBus) =0 ; 00029 virtual double BusAccessLatencyValue(int pNodeId,cosi::commstruct::wiredbas::Implementation* pBus) =0 ; 00030 virtual bool Satisfies(cosi::commstruct::wiredbas::Implementation* pBus) =0 ; 00031 virtual double GetCost(cosi::commstruct::wiredbas::Implementation* pBus) =0; 00032 virtual double GetBusBandwidthValue(cosi::commstruct::wiredbas::Implementation* pBus) =0; 00033 }; 00034 00035 } 00036 00037 } 00038 00039 } 00040 00041 #endif /*BUS_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |