libraries/wiredbas/node/EthernetController.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 ETHERNETCONTROLLER_H_
00009 #define ETHERNETCONTROLLER_H_
00010 
00011 #include "EthernetNode.h"
00012 
00013 namespace cosi {
00014 
00015 namespace library {
00016 
00017 namespace wiredbas {
00018 
00019 class EthernetController  : public EthernetNode  {
00020 public:
00021         EthernetController();
00022         virtual ~EthernetController();
00023         cosi::commstruct::wiredbas::PlatformInstance* GetPlatformInstance(int V,
00024                         Position pP);
00025         cosi::commstruct::wiredbas::Implementation* GetImplementationInstance(
00026                         int V, Position pP, ThreadSet pThreads, TransferTable pT);
00027 
00028         RealDelay GetDelay(Vertex NodeId,
00029                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00030                         Vertex Dest);
00031         double GetDelayValue(Vertex NodeId,
00032                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00033                         Vertex Dest);
00034 
00035          RealDelay GetDelay(Vertex NodeId,
00036                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00037                         std::string Dest) {return RealDelay(0);};
00038          double GetDelayValue(Vertex NodeId,
00039                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00040                         std::string Dest) {return 0;};
00041 
00042         double GetCost();
00043 
00044         std::string ComponentName;
00045         std::string ComponentType;
00046 };
00047 
00048 }
00049 
00050 }
00051 
00052 }
00053 
00054 #endif /*ETHERNETCONTROLLER_H_*/

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