RINASim  October 2016
Documentation of framework for OMNeT++
IRM Class Reference

#include <IRM.h>

Inheritance diagram for IRM:

Public Member Functions

 IRM ()
 
virtual ~IRM ()
 
bool receiveAllocationRequestFromAe (Flow *flow)
 
bool receiveDeallocationRequestFromAe (Flow *flow)
 
bool receiveAllocationResponsePositiveFromIpc (Flow *flow)
 
void newFlow (Flow *flow)
 
void changeStatus (Flow *flow, ConnectionTableEntry::ConnectionStatus status)
 
int getIrmGateHandle (Flow *flow) const
 
int getApGateHandle (Flow *flow) const
 
void setNorthGates (Flow *flow, cGate *nIn, cGate *nOut)
 
ConnectionTablegetConTable () const
 
bool deleteBindings (Flow *flow)
 

Protected Member Functions

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 
void initPointers ()
 
void updateDisplayString ()
 
void initSignalsAndListeners ()
 
bool createBindings (Flow *flow)
 

Protected Attributes

int statPassUp
 
int statPassDown
 
int statDiscarded
 
ConnectionTableConTable
 
DADifAllocator
 
simsignal_t sigIRMAllocReq
 
simsignal_t sigIRMDeallocReq
 
simsignal_t sigStatIRMPassUp
 
simsignal_t sigStatIRMPassDown
 
LisIRMAllocReqlisAllocReq
 
LisIRMDeallocReqlisDeallocReq
 

Detailed Description

Definition at line 41 of file IRM.h.

Constructor & Destructor Documentation

IRM::IRM ( )

Definition at line 32 of file IRM.cc.

IRM::~IRM ( )
virtual

Definition at line 38 of file IRM.cc.

Member Function Documentation

void IRM::changeStatus ( Flow flow,
ConnectionTableEntry::ConnectionStatus  status 
)
bool IRM::createBindings ( Flow flow)
protected

Definition at line 120 of file IRM.cc.

Referenced by receiveAllocationResponsePositiveFromIpc().

bool IRM::deleteBindings ( Flow flow)

Definition at line 287 of file IRM.cc.

Referenced by AE::receiveDeallocationRequestFromFAI().

int IRM::getApGateHandle ( Flow flow) const

Definition at line 346 of file IRM.cc.

ConnectionTable * IRM::getConTable ( ) const

Definition at line 272 of file IRM.cc.

Referenced by LisIRMAllocReq::receiveSignal(), and LisIRMDeallocReq::receiveSignal().

int IRM::getIrmGateHandle ( Flow flow) const

Definition at line 333 of file IRM.cc.

Referenced by AE::deleteBindings(), and AE::sendData().

void IRM::handleMessage ( cMessage *  msg)
protectedvirtual

Definition at line 58 of file IRM.cc.

void IRM::initialize ( )
protectedvirtual

Definition at line 53 of file IRM.cc.

void IRM::initPointers ( )
protected

Definition at line 46 of file IRM.cc.

Referenced by initialize().

void IRM::initSignalsAndListeners ( )
protected

Definition at line 101 of file IRM.cc.

Referenced by initialize().

void IRM::newFlow ( Flow flow)
bool IRM::receiveAllocationRequestFromAe ( Flow flow)
bool IRM::receiveDeallocationRequestFromAe ( Flow flow)

Definition at line 205 of file IRM.cc.

Referenced by LisIRMDeallocReq::receiveSignal(), and AE::sendDeallocationRequest().

void IRM::setNorthGates ( Flow flow,
cGate *  nIn,
cGate *  nOut 
)

Definition at line 342 of file IRM.cc.

Referenced by AE::createBindings(), and DAFEnrollment::createBindings().

void IRM::updateDisplayString ( )
protected

Definition at line 262 of file IRM.cc.

Referenced by handleMessage().

Member Data Documentation

DA* IRM::DifAllocator
protected

Definition at line 71 of file IRM.h.

Referenced by initPointers(), newFlow(), and ~IRM().

LisIRMAllocReq* IRM::lisAllocReq
protected

Definition at line 85 of file IRM.h.

Referenced by initSignalsAndListeners().

LisIRMDeallocReq* IRM::lisDeallocReq
protected

Definition at line 86 of file IRM.h.

Referenced by initSignalsAndListeners().

simsignal_t IRM::sigIRMAllocReq
protected

Definition at line 78 of file IRM.h.

simsignal_t IRM::sigIRMDeallocReq
protected

Definition at line 79 of file IRM.h.

simsignal_t IRM::sigStatIRMPassDown
protected

Definition at line 82 of file IRM.h.

Referenced by handleMessage(), and initSignalsAndListeners().

simsignal_t IRM::sigStatIRMPassUp
protected

Definition at line 81 of file IRM.h.

Referenced by handleMessage(), and initSignalsAndListeners().

int IRM::statDiscarded
protected

Definition at line 68 of file IRM.h.

Referenced by handleMessage(), IRM(), updateDisplayString(), and ~IRM().

int IRM::statPassDown
protected

Definition at line 67 of file IRM.h.

Referenced by handleMessage(), IRM(), updateDisplayString(), and ~IRM().

int IRM::statPassUp
protected

Definition at line 66 of file IRM.h.

Referenced by handleMessage(), IRM(), updateDisplayString(), and ~IRM().


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