models/wiredbas/common/NetworkDelay.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 NETWORKDELAY_H_
00009 #define NETWORKDELAY_H_
00010 
00011 #include "networks/wiredbas/WiredBasImplementation.h"
00012 #include "quantities/RealDelay.h"
00013 #include "float.h"
00014 
00015 namespace cosi {
00016 
00017 namespace models {
00018 
00019 namespace wiredbas {
00020 
00021 class NetworkDelay {
00022 public:
00023         NetworkDelay();
00024 
00025         virtual ~NetworkDelay();
00026 
00027         virtual RealDelay Get(cosi::commstruct::wiredbas::Implementation pC,Vertex Src, std::string Dest,Vertex SrcId,Vertex DestId) = 0;
00028 
00029         virtual RealDelay Get(cosi::commstruct::wiredbas::Implementation* pC,Vertex Src, std::string Dest,Vertex SrcId,Vertex DestId) = 0;
00030 
00031         virtual double GetValue(cosi::commstruct::wiredbas::Implementation pC,Vertex Src, std::string Dest,Vertex SrcId,Vertex DestId) = 0;
00032 
00033         virtual double GetValue(cosi::commstruct::wiredbas::Implementation* pC,Vertex Src, std::string Dest,Vertex SrcId,Vertex DestId) = 0;
00034 };
00035 
00036 }
00037 
00038 }
00039 
00040 }
00041 
00042 #endif /*NETWORKDELAY_H_*/

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