quantities/onchipcommunication/NodeParameter.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 NODEPARAMETER_H_
00009 #define NODEPARAMETER_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 NodeParameter : public cosi::Quantity {
00021 public:
00022 
00023         NodeParameter();
00024 
00025         virtual ~NodeParameter();
00026 
00027         NodeParameter Get();
00028 
00029         void Set(NodeParameter pLp);
00030 
00031         cosi::library::onchipcommunication::Technology GetTechnology() const;
00032 
00033         void SetTechnology(cosi::library::onchipcommunication::Technology pTech);
00034 
00035         bool operator ==(const NodeParameter &pP) const;
00036 
00037         bool operator <(const NodeParameter &pP) const;
00038 
00039         NodeParameter operator+(NodeParameter pT);
00040         NodeParameter operator-(NodeParameter pT);
00041 
00042         friend std::ostream
00043                         & operator <<(std::ostream &pOs, const NodeParameter &pP);
00044 
00045         static std::string sQuantityType;
00046         static std::string sQuantityName;
00047 
00048 private:
00049         cosi::library::onchipcommunication::Technology mTech;
00050 };
00051 
00052 }
00053 
00054 }
00055 
00056 }
00057 
00058 #endif /*NODEPARAMETER_H_*/

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