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