irisEvent.cc

Go to the documentation of this file.
00001 /*
00002  * =====================================================================================
00003  *
00004  *       Filename:  event.cc
00005  *
00006  *    Description:  
00007  *
00008  *        Version:  1.0
00009  *        Created:  02/09/2010 12:47:56 PM
00010  *       Revision:  none
00011  *       Compiler:  gcc
00012  *
00013  *         Author:  Mitchelle Rasquinha (), mitchelle.rasquinha@gatech.edu
00014  *        Company:  Georgia Institute of Technology
00015  *
00016  * =====================================================================================
00017  */
00018 
00019 #ifndef  event_INC
00020 #define  event_INC
00021 
00022 #include        "irisEvent.h"
00023 
00024 string IrisEvent::toString()
00025 {
00026     stringstream str;
00027     str << "Time: " << Simulator::Now() 
00028         << " src: " << this->src_id
00029 //->myId() 
00030 //        << " dst: " << this->dst->myId() 
00031         << " vc: " << this->vc;
00032     return str.str();
00033 }
00034 
00035 IrisEvent::IrisEvent()
00036 {
00037     src_id = -1;
00038     vc = 0;
00039 }
00040 
00041 IrisEvent::~IrisEvent()
00042 {
00043 //    for( uint i=0; i < event_data.size(); i++)
00044 //        free(event_data.at(i));
00045 }
00046 
00047 #endif   /* ----- #ifndef event_INC  ----- */

Generated on Tue Oct 19 17:22:00 2010 for IRIS by  doxygen 1.5.8