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

#include <ConnectionTable.h>

Inheritance diagram for ConnectionTable:

Public Member Functions

std::string info () const
 
void insertNew (Flow *flow)
 
void insert (const ConnectionTableEntry &entry)
 
void remove ()
 
ConnectionTableEntryfindEntryByFlow (Flow *flow)
 
ConnectionTableEntryfindEntryByAPNI (const APNamingInfo &apni)
 
cGate * findOutputGate (cGate *input, bool &isGoingUp)
 
bool setSouthGates (Flow *flow, cGate *sIn, cGate *sOut)
 
bool setNorthGates (Flow *flow, cGate *nIn, cGate *nOut)
 
bool setFa (Flow *flow, FABase *fa)
 
bool setStatus (Flow *flow, ConnectionTableEntry::ConnectionStatus status)
 
ConnectionTableEntry::ConnectionStatus getStatus (Flow *flow)
 
FABasegetFa (Flow *flow)
 

Protected Member Functions

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 

Private Attributes

TConTable ConTable
 

Detailed Description

Definition at line 35 of file ConnectionTable.h.

Member Function Documentation

ConnectionTableEntry * ConnectionTable::findEntryByAPNI ( const APNamingInfo apni)
cGate * ConnectionTable::findOutputGate ( cGate *  input,
bool &  isGoingUp 
)

Definition at line 102 of file ConnectionTable.cc.

Referenced by IRM::handleMessage().

FABase * ConnectionTable::getFa ( Flow flow)

Definition at line 131 of file ConnectionTable.cc.

Referenced by IRM::receiveAllocationRequestFromAe().

ConnectionTableEntry::ConnectionStatus ConnectionTable::getStatus ( Flow flow)

Definition at line 136 of file ConnectionTable.cc.

void ConnectionTable::handleMessage ( cMessage *  msg)
protectedvirtual

Definition at line 126 of file ConnectionTable.cc.

std::string ConnectionTable::info ( ) const

Definition at line 32 of file ConnectionTable.cc.

void ConnectionTable::initialize ( )
protectedvirtual

Definition at line 27 of file ConnectionTable.cc.

void ConnectionTable::insert ( const ConnectionTableEntry entry)

Definition at line 50 of file ConnectionTable.cc.

Referenced by insertNew().

void ConnectionTable::insertNew ( Flow flow)

Definition at line 45 of file ConnectionTable.cc.

Referenced by IRM::newFlow().

void ConnectionTable::remove ( )

Definition at line 55 of file ConnectionTable.cc.

bool ConnectionTable::setFa ( Flow flow,
FABase fa 
)

Definition at line 92 of file ConnectionTable.cc.

Referenced by IRM::newFlow().

bool ConnectionTable::setNorthGates ( Flow flow,
cGate *  nIn,
cGate *  nOut 
)

Definition at line 81 of file ConnectionTable.cc.

Referenced by IRM::setNorthGates().

bool ConnectionTable::setSouthGates ( Flow flow,
cGate *  sIn,
cGate *  sOut 
)

Definition at line 70 of file ConnectionTable.cc.

Referenced by IRM::createBindings().

bool ConnectionTable::setStatus ( Flow flow,
ConnectionTableEntry::ConnectionStatus  status 
)

Definition at line 116 of file ConnectionTable.cc.

Referenced by IRM::changeStatus().

Member Data Documentation

TConTable ConnectionTable::ConTable
private

Definition at line 62 of file ConnectionTable.h.

Referenced by findEntryByAPNI(), findOutputGate(), initialize(), and insert().


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