RINASim  October 2016
Documentation of framework for OMNeT++
TKMonitor::TKMonitor Class Reference

#include <TKMonitor.h>

Inheritance diagram for TKMonitor::TKMonitor:
SmartMonitor RMTQMonitorBase

Public Member Functions

void onPolicyInit ()
 
void postPDUInsertion (RMTQueue *queue)
 
void onMessageDrop (RMTQueue *queue, const cPacket *pdu)
 
void postQueueCreation (RMTQueue *queue)
 
RMTQueuegetNextInput (RMTPort *port)
 
RMTQueuegetNextOutput (RMTPort *port)
 
double getInDropProb (RMTQueue *queue)
 
double getOutDropProb (RMTQueue *queue)
 
- Public Member Functions inherited from RMTQMonitorBase
virtual void prePDUInsertion (RMTQueue *queue)
 
virtual void prePDURelease (RMTQueue *queue)
 
virtual void postPDURelease (RMTQueue *queue)
 
virtual void preQueueRemoval (RMTQueue *queue)
 

Protected Attributes

tkRepo TKs
 
QueueStatus Qs
 
port2QueuesS OutSet
 
port2Queues inQ
 
port2Count inC
 
port2Count outC
 
int tokensPDU
 
- Protected Attributes inherited from RMTQMonitorBase
RMTModuleAllocatorrmtAllocator
 
RMTSchedulingBaseschedPolicy
 
AddressComparatorBaseaddrComparator
 

Additional Inherited Members

- Protected Member Functions inherited from RMTQMonitorBase
virtual void handleMessage (cMessage *msg)
 

Detailed Description

Definition at line 79 of file TKMonitor.h.

Member Function Documentation

double TKMonitor::TKMonitor::getInDropProb ( RMTQueue queue)
virtual

Implements SmartMonitor.

Definition at line 183 of file TKMonitor.cc.

RMTQueue * TKMonitor::TKMonitor::getNextInput ( RMTPort port)
virtual

Implements SmartMonitor.

Definition at line 135 of file TKMonitor.cc.

RMTQueue * TKMonitor::TKMonitor::getNextOutput ( RMTPort port)
virtual

Implements SmartMonitor.

Definition at line 151 of file TKMonitor.cc.

double TKMonitor::TKMonitor::getOutDropProb ( RMTQueue queue)
virtual

Implements SmartMonitor.

Definition at line 190 of file TKMonitor.cc.

void TKMonitor::TKMonitor::onMessageDrop ( RMTQueue queue,
const cPacket *  pdu 
)
virtual

A hook method invoked after a PDU gets dropped from a queue. Note: the PDU object is discarded after invocation of this method.

Parameters
queuepointer to the queue
pduPDU being dropped

Reimplemented from RMTQMonitorBase.

Definition at line 107 of file TKMonitor.cc.

void TKMonitor::TKMonitor::onPolicyInit ( )
virtual

A hook method invoked after the initial setup of policy module.

Reimplemented from RMTQMonitorBase.

Definition at line 56 of file TKMonitor.cc.

void TKMonitor::TKMonitor::postPDUInsertion ( RMTQueue queue)
virtual

A hook method invoked after a PDU arrives into a queue.

Parameters
queuepointer to the queue

Reimplemented from RMTQMonitorBase.

Definition at line 93 of file TKMonitor.cc.

void TKMonitor::TKMonitor::postQueueCreation ( RMTQueue queue)
virtual

A hook method invoked after a queue is created.

Parameters
queuepointer to the queue

Reimplemented from RMTQMonitorBase.

Definition at line 120 of file TKMonitor.cc.

Member Data Documentation

port2Count TKMonitor::TKMonitor::inC
protected

Definition at line 100 of file TKMonitor.h.

port2Queues TKMonitor::TKMonitor::inQ
protected

Definition at line 98 of file TKMonitor.h.

port2Count TKMonitor::TKMonitor::outC
protected

Definition at line 100 of file TKMonitor.h.

port2QueuesS TKMonitor::TKMonitor::OutSet
protected

Definition at line 96 of file TKMonitor.h.

QueueStatus TKMonitor::TKMonitor::Qs
protected

Definition at line 95 of file TKMonitor.h.

tkRepo TKMonitor::TKMonitor::TKs
protected

Definition at line 94 of file TKMonitor.h.

int TKMonitor::TKMonitor::tokensPDU
protected

Definition at line 102 of file TKMonitor.h.


The documentation for this class was generated from the following files: