quantities/onchipcommunication/LinkParameter.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 LINKPARAMETER_H_
00009 #define LINKPARAMETER_H_
00010 
00011 #include "core/Quantity.h"
00012 #include "include/onchipcommunication/typedefs.h"
00013 
00014 namespace cosi {
00015 
00016 namespace quantity {
00017 
00018 namespace onchipcommunication {
00019 
00020 class LinkParameter : public cosi::Quantity {
00021 
00022 public:
00023 
00024         LinkParameter();
00025 
00026         LinkParameter(cosi::library::onchipcommunication::Technology pTech);
00027 
00028         virtual ~LinkParameter();
00029 
00030         LinkParameter Get();
00031 
00032         void Set(LinkParameter pLp);
00033 
00034         void SetTechnology(cosi::library::onchipcommunication::Technology pTech) ;
00035 
00036         cosi::library::onchipcommunication::Technology GetTechnology() const ;
00037 
00038         bool operator ==(const LinkParameter &pP) const;
00039 
00040         bool operator <(const LinkParameter &pP) const;
00041 
00042         LinkParameter operator+(LinkParameter pT);
00043         LinkParameter operator-(LinkParameter pT);
00044 
00045         friend std::ostream
00046                         & operator <<(std::ostream &pOs, const LinkParameter &pP);
00047 
00048         static std::string sQuantityType;
00049         static std::string sQuantityName;
00050 private:
00051         cosi::library::onchipcommunication::Technology mTech;
00052 
00053 };
00054 
00055 }
00056 
00057 }
00058 
00059 }
00060 
00061 #endif /*LINKPARAMTER_H_*/

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