rules/wiredbas/node/EthernetNetworkRule.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 ETHERNETNETWORKRULE_H_
00009 #define ETHERNETNETWORKRULE_H_
00010 
00011 #include "rules/wiredbas/common/NetworkRule.h"
00012 #include "networks/wiredbas/WiredBasImplementation.h"
00013 #include "networks/wiredbas/WiredBasSpecificaion.h"
00014 #include "models/wiredbas/link/EthernetLinkDelay.h"
00015 
00016 namespace cosi {
00017 
00018 namespace rules {
00019 
00020 namespace wiredbas {
00021 
00022 class EthernetNetworkRule : public NetworkRule {
00023         double mSpeed;
00024         cosi::models::wiredbas::EthernetLinkDelay* mLinkDelay ;
00025 public:
00026         EthernetNetworkRule(double pSpeed);
00027         virtual ~EthernetNetworkRule();
00028         bool Satisfies(cosi::commstruct::wiredbas::Specification* pSpec , cosi::commstruct::wiredbas::Implementation pC);
00029         bool Satisfies(cosi::commstruct::wiredbas::Specification* pSpec , cosi::commstruct::wiredbas::Implementation* pC);
00030 };
00031 
00032 }
00033 
00034 }
00035 
00036 }
00037 
00038 #endif /*ETHERNETNETWORKRULE_H_*/

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