|
networks/Network.hppGo 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 00022 #ifndef NETWORK_HPP_ 00023 #define NETWORK_HPP_ 00024 00025 #include "../core/IdGraph.h" 00026 #include "../label/LabelDefinition.h" 00027 00028 namespace cosi { 00029 00030 class NocSpecification : public IdGraph, public MapArea, 00031 public MapInterfaceType, public MapBandwidth, public MapHopConstraint { 00032 public: 00033 NocSpecification(string Name) : 00034 IdGraph(Name) { 00035 } 00036 ; 00037 ~NocSpecification() { 00038 } 00039 ; 00040 }; 00041 00042 class NetworkBase : public IdGraph, public NodeMap, public LinkMap { 00043 public: 00044 NetworkBase(string Name) : 00045 IdGraph(Name) { 00046 } 00047 ; 00048 ~NetworkBase() { 00049 } 00050 ; 00051 }; 00052 00053 class NetworkBandwidth : public NetworkBase, public MapBandwidth { 00054 public: 00055 NetworkBandwidth(string Name) : 00056 NetworkBase(Name) { 00057 } 00058 ; 00059 ~NetworkBandwidth() { 00060 } 00061 ; 00062 }; 00063 00064 } 00065 #endif /*NETWORK_HPP_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |