|
models/wiredbas/node/EthernetSwitchDelay.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 ETHERNETSWITCHDELAY_H_ 00009 #define ETHERNETSWITCHDELAY_H_ 00010 00011 #include <string> 00012 #include <map> 00013 #include "models/wiredbas/common/NodeDelay.h" 00014 #include "models/wiredbas/link/EthernetLinkDelay.h" 00015 00016 namespace cosi { 00017 00018 namespace models { 00019 00020 namespace wiredbas { 00021 00022 class EthernetSwitchDelay : public NodeDelay { 00023 cosi::models::wiredbas::EthernetLinkDelay* mLinkDelay; 00024 double mSpeed; 00025 public: 00026 EthernetSwitchDelay(double Speed); 00027 virtual ~EthernetSwitchDelay(); 00028 RealDelay Get(Vertex NodeId, 00029 cosi::commstruct::wiredbas::Implementation* pI,Vertex Src , std::string Dest); 00030 double GetValue(Vertex NodeId, 00031 cosi::commstruct::wiredbas::Implementation* pI,Vertex Src , std::string Dest); 00032 00033 }; 00034 00035 } 00036 00037 } 00038 00039 } 00040 00041 #endif /*ETHERNETSWITCHDELAY_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |