00001
00002
00003
00004
00005
00006
00007
00008 #ifndef ETHERNETNODECOST_H_
00009 #define ETHERNETNODECOST_H_
00010
00011 #include "models/wiredbas/common/NodeCost.h"
00012 #include "quantities/Ports.h"
00013 #include "float.h"
00014
00015 namespace cosi {
00016
00017 namespace models {
00018
00019 namespace wiredbas {
00020
00021 class EthernetNodeCost : public NodeCost {
00022
00023 public:
00024 EthernetNodeCost();
00025 virtual ~EthernetNodeCost();
00026 double GetValue(std::string pComponentName, std::string pComponentType,
00027 Ports pPorts);
00028
00029 double GetValue(std::string pComponentName, std::string pComponentType,
00030 Ports pPorts, double InterfaceSpeed);
00031
00032 };
00033
00034 }
00035
00036 }
00037
00038 }
00039
00040 #endif