|
rules/wiredbas/common/NetworkRule.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 NETWORKRULE_H_ 00009 #define NETWORKRULE_H_ 00010 00011 #include "networks/wiredbas/WiredBasImplementation.h" 00012 #include "networks/wiredbas/WiredBasSpecificaion.h" 00013 00014 namespace cosi { 00015 00016 namespace rules { 00017 00018 namespace wiredbas { 00019 00020 class NetworkRule { 00021 public: 00022 NetworkRule(); 00023 virtual ~NetworkRule(); 00024 virtual bool Satisfies(cosi::commstruct::wiredbas::Specification* pSpec, cosi::commstruct::wiredbas::Implementation pC) = 0; 00025 virtual bool Satisfies(cosi::commstruct::wiredbas::Specification* pSpec, cosi::commstruct::wiredbas::Implementation* pC) = 0; 00026 }; 00027 00028 } 00029 00030 } 00031 00032 } 00033 00034 #endif /*NETWORKRULE_H_*/ Generated on Sun Sep 7 18:37:43 2008 for COSI by 1.5.4 |