RINASim  October 2016
Documentation of framework for OMNeT++
PortsLoadRU.h
Go to the documentation of this file.
1 //
2 // This program is free software: you can redistribute it and/or modify
3 // it under the terms of the GNU Lesser General Public License as published by
4 // the Free Software Foundation, either version 3 of the License, or
5 // (at your option) any later version.
6 //
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 // GNU Lesser General Public License for more details.
11 //
12 // You should have received a copy of the GNU Lesser General Public License
13 // along with this program. If not, see http://www.gnu.org/licenses/.
14 //
15 
16 #ifndef __PORTSLOADRU_H
17 #define __PORTSLOADRU_H
18 
19 #include <string>
20 
21 #include <IntRoutingUpdate.h>
22 #include <PLLSCommon.h>
23 
25 {
26 public:
27  PortsLoadRU(const Address &_addr, const std::string &_qos);
28 
29  std::string getQoS();
30 
31  void addEntry(const std::string &, linksU);
32  void setEntries(linksSt);
33 
36 
37 protected:
38  std::string qos;
40 };
41 
42 #endif // __PORTSLOADRU_H
std::map< std::string, linksU > linksSt
Definition: PLLSCommon.h:38
linksStIt entriesBegin()
Definition: PortsLoadRU.cc:43
std::string qos
Definition: PortsLoadRU.h:38
PortsLoadRU(const Address &_addr, const std::string &_qos)
Definition: PortsLoadRU.cc:18
std::string getQoS()
Definition: PortsLoadRU.cc:25
linksStIt entriesEnd()
Definition: PortsLoadRU.cc:47
linksSt entries
Definition: PortsLoadRU.h:39
void setEntries(linksSt)
Definition: PortsLoadRU.cc:37
linksSt::iterator linksStIt
Definition: PLLSCommon.h:45
Address class holds IPC Process identification.
Definition: Address.h:42
void addEntry(const std::string &, linksU)
Definition: PortsLoadRU.cc:30