Home > other >  omnet++
omnet++

Time:10-04

I hope to establish a module which can then be regularly produced a new module and then appear on the GUI, the following code

Void Creator: : handleMessage (MSG) cMessage *//received after the message to send information
{
CModuleType * moduleType=cModuleType: : get (" Node ");
CModule * module=moduleType - & gt; Create (" node ", this);
The module - & gt; BuildInside ();
The module - & gt; ScheduleStart (simTime ());
ScheduleAt (simTime (), sendMessageEvent);

}
But as shown in figure
Can successfully establish new module but displayed on the GUI and building modules overlap when don't know how to solve this problem should turn to the great god
463840198 would like to add my qq is I the great god of welcome to add me!!!!!!! Thank you very much!