models/wiredbas/node/EthernetNodeCost.h

Go 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 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 /*ETHERNETNODECOST_H_*/

Generated on Sun Sep 7 18:37:42 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents