00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: event.h 00005 * 00006 * Description: 00007 * 00008 * Version: 1.0 00009 * Created: 02/07/2010 05:28:14 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 00020 #ifndef event_h_INC 00021 #define event_h_INC 00022 00023 #include <vector> 00024 #include <sstream> 00025 #include <string> 00026 #include "../../../kernel/component.h" 00027 #include "../../../util/simIrisComponentHeader.h" 00028 00029 using namespace std; 00030 00031 /* 00032 * ===================================================================================== 00033 * Class: IrisEvent 00034 * Description: 00035 * 00036 * ===================================================================================== 00037 */ 00038 class IrisEvent 00039 { 00040 public: 00041 IrisEvent(); 00042 ~IrisEvent(); 00043 uint src_id; 00044 uint dst_id; 00045 Component* src; 00046 Component* dst; 00047 vector<void *> event_data; 00048 simTime time; 00049 IrisEventType type; 00050 uint vc; 00051 string toString(void); 00052 00053 protected: 00054 00055 private: 00056 00057 }; /* ----- end of class IrisEvent ----- */ 00058 00059 #endif /* ----- #ifndef event_h_INC ----- */