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

#include <QueueInfo.h>

Inheritance diagram for QueueInfo:

Public Member Functions

 QueueInfo ()
 
virtual ~QueueInfo ()
 
unsigned int getCapacity () const
 
void setCapacity (unsigned int capacity)
 
Flow * getFlow () const
 
void setFlow (Flow *flow)
 
unsigned int getFree () const
 
unsigned int getOccupied () const
 
void setOccupied (unsigned int occupied)
 

Private Attributes

Flow * flow
 
unsigned int capacity
 
unsigned int occupied
 

Detailed Description

Definition at line 36 of file QueueInfo.h.

Constructor & Destructor Documentation

QueueInfo::QueueInfo ( )

Definition at line 34 of file QueueInfo.cc.

QueueInfo::~QueueInfo ( )
virtual

Definition at line 81 of file QueueInfo.cc.

Member Function Documentation

unsigned int QueueInfo::getCapacity ( ) const

Definition at line 40 of file QueueInfo.cc.

Flow * QueueInfo::getFlow ( ) const
unsigned int QueueInfo::getFree ( ) const

Definition at line 70 of file QueueInfo.cc.

unsigned int QueueInfo::getOccupied ( ) const

Definition at line 60 of file QueueInfo.cc.

void QueueInfo::setCapacity ( unsigned int  capacity)

Definition at line 45 of file QueueInfo.cc.

Referenced by Socket::makeQueueInfo().

void QueueInfo::setFlow ( Flow *  flow)

Definition at line 55 of file QueueInfo.cc.

Referenced by Socket::makeQueueInfo().

void QueueInfo::setOccupied ( unsigned int  occupied)

Definition at line 65 of file QueueInfo.cc.

Referenced by Socket::makeQueueInfo().

Member Data Documentation

unsigned int QueueInfo::capacity
private

Definition at line 40 of file QueueInfo.h.

Referenced by getCapacity(), getFree(), and setCapacity().

Flow* QueueInfo::flow
private

Definition at line 39 of file QueueInfo.h.

Referenced by getFlow(), and setFlow().

unsigned int QueueInfo::occupied
private

Definition at line 41 of file QueueInfo.h.

Referenced by getFree(), getOccupied(), and setOccupied().


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