Revision 0e46fceb

View differences:

include/eventtype.h
27 27
{
28 28
	private:
29 29
		const evType_t* type;
30
//		int modId;
31 30
		pdf_t pdf;
32 31

  
33 32
	public:
34 33
		SuccessorEvent(const EventType* const type, simtime_t firstSample) : pdf(firstSample)
35 34
		{
36 35
			this->type=type;
37
//			this->modId=type->getModId();
38 36
		}
39 37

  
40 38
		SuccessorEvent(const cMessage* const msg, simtime_t firstSample) : pdf(firstSample)
41 39
		{
42
//			modId=msg->getArrivalModuleId();
43 40
			cModule* mod=msg->getArrivalModule();
44 41
			type=mod->getEventType(msg);
45 42
		}
......
70 67
		{
71 68
			pdf.sample(delay);
72 69
		}
73

  
74
/*		int getEvModId()
75
		{
76
			return modId;
77
		}*/
78 70
};
79 71

  
80 72
class EventType

Also available in: Unified diff