libraries/wiredbas/node/ArcnetSensor.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 ARCNETSENSOR_H_
00009 #define ARCNETSENSOR_H_
00010 
00011 #include "ArcnetNode.h"
00012 
00013 namespace cosi {
00014 
00015 namespace library {
00016 
00017 namespace wiredbas {
00018 
00019 class ArcnetSensor : public cosi::library::wiredbas::ArcnetNode {
00020 public:
00021         ArcnetSensor();
00022         virtual ~ArcnetSensor();
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         double GetCost();
00029 
00030         RealDelay GetDelay(Vertex NodeId,
00031                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00032                         Vertex Dest);
00033         double GetDelayValue(Vertex NodeId,
00034                         cosi::commstruct::wiredbas::Implementation* pI, Vertex Src,
00035                         Vertex Dest);
00036 
00037         std::string GetShape();
00038 
00039         static std::string ComponentName;
00040         static std::string ComponentType;
00041 
00042 };
00043 
00044 }
00045 
00046 }
00047 
00048 }
00049 
00050 #endif /*ARCNETSENSOR_H_*/

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