|
models/wiredbas/node/ArcnetBusCost.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 ARCNETBUSCOST_H_ 00009 #define ARCNETBUSCOST_H_ 00010 00011 #include "networks/wiredbas/WiredBasPlatformInstance.h" 00012 #include "networks/wiredbas/WiredBasImplementation.h" 00013 #include "models/wiredbas/common/BusCost.h" 00014 #include "models/wiredbas/common/WireCost.h" 00015 #include "models/wiredbas/node/ArcnetNodeCost.h" 00016 00017 namespace cosi { 00018 00019 namespace models { 00020 00021 namespace wiredbas { 00022 00023 class ArcnetBusCost : public BusCost { 00024 cosi::models::wiredbas::ArcnetNodeCost* mNodeCost; 00025 cosi::models::wiredbas::WireCost* mWireCost; 00026 public: 00027 00028 ArcnetBusCost(cosi::models::wiredbas::WireCost* pWireCost); 00029 00030 ~ArcnetBusCost(); 00031 00032 void SetWireCost(cosi::models::wiredbas::WireCost* pWireCost); 00033 00034 double GetValue(cosi::commstruct::wiredbas::PlatformInstance pC); 00035 00036 double GetValue(cosi::commstruct::wiredbas::PlatformInstance* pC); 00037 00038 double GetValue(cosi::commstruct::wiredbas::Implementation pC); 00039 00040 double GetValue(cosi::commstruct::wiredbas::Implementation* pC); 00041 00042 }; 00043 00044 } 00045 00046 } 00047 00048 } 00049 00050 #endif /*ARCNETBUSCOST_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |