OLT_Table Class Reference

#include <OLT_Table.h>

Inheritance diagram for OLT_Table:

cSimpleModule cModule cComponent cDefaultList cNoncopyableOwnedObject cOwnedObject noncopyable cNamedObject cObject

List of all members.

Public Member Functions

int numInitStages () const

Public Attributes

int_matrix_t table_olt_report
simtime_t_vector_t table_olt_report_time

Protected Member Functions

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


Detailed Description

Definition at line 27 of file OLT_Table.h.


Member Function Documentation

void OLT_Table::handleMessage ( cMessage msg  )  [protected, virtual]

Reimplemented from cSimpleModule.

Definition at line 62 of file OLT_Table.cc.

00063 {
00064 }

void OLT_Table::initialize ( int  stage  )  [protected, virtual]

Reimplemented from cComponent.

Definition at line 34 of file OLT_Table.cc.

00035 {
00036         // VARIABLES
00037         int file = (int)par("numOnu"); // VARIABLE QUE INDICA EL NUMERO DE FILAS DE LA TABLA DEL MODULO OLT_TABLE
00038         int columns = (int)par("numqueue")+2; // VARIABLE QUE INDICA EL NUMERO DE COLUMNAS DE LA TABLA DEL MODULO OLT_TABLE
00039 
00040         if(stage==0)
00041         {
00042                 // RESERVAMOS DE FORMA DINAMICA EL TAMANYO DE LA TABLA E INICIALIZAMOS A 0
00043                 // DEFINIMOS LAS VARIABLES QUE NOS MARCAN EL TRAMANYO DE LA MATRIZ
00044                 table_olt_report_time.resize(1,0);
00045                 table_olt_report.resize(file);
00046                 // CREAMOS LA MATRIZ MEDIANTE EL BUCLE FOR
00047                 for(int m=0;m<file;m++)
00048                 {
00049                         table_olt_report[m].resize(columns,0);
00050                 }
00051         }
00052         
00053 }

int OLT_Table::numInitStages (  )  const [virtual]

Reimplemented from cComponent.

Definition at line 25 of file OLT_Table.cc.

00025 {return 1;}


Member Data Documentation

Definition at line 30 of file OLT_Table.h.

Definition at line 31 of file OLT_Table.h.


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

Generated on Thu Nov 28 14:47:24 2013 for red_wireless by  doxygen 1.5.7.1