RINASim
October 2016
Documentation of framework for OMNeT++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
MM_P_Out.h
Go to the documentation of this file.
1
//
2
// Copyright © 2014 - 2015 PRISTINE Consortium (http://ict-pristine.eu)
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU Lesser General Public License for more details.
13
//
14
// You should have received a copy of the GNU Lesser General Public License
15
// along with this program. If not, see http://www.gnu.org/licenses/.
16
//
17
18
#pragma once
19
20
#include "
Int_MM_Out_Module.h
"
21
22
#include <string>
23
#include <set>
24
#include <map>
25
#include <vector>
26
#include <list>
27
28
namespace
MM_P_Out
{
29
30
using namespace
std
;
31
32
class
MM_P_Out
:
public
Int_MM_Out_Module
33
{
34
public
:
35
~
MM_P_Out
();
36
void
finish();
37
38
void
pduInsertered(
RMTQueue
*,
RMTPort
*);
39
void
pduDropped(
RMTQueue
*,
const
cPacket *,
RMTPort
*);
40
void
pduReleased(
RMTQueue
*,
RMTPort
*);
41
void
queueCreated(
RMTQueue
*,
RMTPort
*);
42
43
RMTQueue
* getnextQueue(
RMTPort
*);
44
simtime_t getnextTime(
RMTPort
*);
45
46
protected
:
47
map<string , int>
queueName2Priority
;
48
int
defaultPriority
;
49
map<RMTQueue * , int>
queuePriority
;
50
51
map<RMTPort* , set<RMTQueue*> >
portQueues
;
52
53
void
initialize();
54
};
55
56
}
MM_P_Out::MM_P_Out::portQueues
map< RMTPort *, set< RMTQueue * > > portQueues
Definition:
MM_P_Out.h:51
Int_MM_Out_Module.h
std
MM_P_Out::MM_P_Out::queuePriority
map< RMTQueue *, int > queuePriority
Definition:
MM_P_Out.h:49
MM_P_Out
Definition:
MM_P_Out.cc:20
Int_MM_Out_Module
Definition:
Int_MM_Out_Module.h:7
MM_P_Out::MM_P_Out::defaultPriority
int defaultPriority
Definition:
MM_P_Out.h:48
RMTPort
Definition:
RMTPort.h:36
RMTQueue
Definition:
RMTQueue.h:34
MM_P_Out::MM_P_Out::queueName2Priority
map< string, int > queueName2Priority
Definition:
MM_P_Out.h:47
policies
DIF
RMT
Monitor
ModularMonitor
MM_P_Out
MM_P_Out.h
Generated on Tue Oct 25 2016 21:08:54 for RINASim by
1.8.10