<div>Probably, set up it like that would be more correct:</div><div><p style="margin:0px;font-size:11px;font-family:Monaco;color:#006141;"><span style="color:#000000;">šš</span>ObjectFactory<span style="color:#000000;"> factory;</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#3933ff;"><span style="color:#000000;">š factory.SetTypeId(</span>"ns3::PointToPointNetDevice"<span style="color:#000000;">);</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;color:#3933ff;"><span style="color:#000000;">šš</span><span style="color:#006141;">Ptr</span><span style="color:#000000;"><</span><span style="color:#006141;">PointToPointNetDevice</span><span style="color:#000000;">> devA = factory.Create<</span><span style="color:#006141;">PointToPointNetDevice</span><span style="color:#000000;">> ();</span></p><p style="margin:0px;font-size:11px;font-family:Monaco;">š devA->SetAddress (<span style="color:#006141;">Mac48Address</span>::Allocate ());</p><p style="margin:0px;font-size:11px;font-family:Monaco;">š nodes.Get (1)->AddDevice (devA);</p><p style="margin:0px;font-size:11px;font-family:Monaco;">š</p><p style="margin:0px;font-size:11px;font-family:Monaco;">š factory.SetTypeId(<span style="color:#3933ff;">"ns3::DropTailQueue"</span>);</p><p style="margin:0px;font-size:11px;font-family:Monaco;">š <span style="color:#006141;">Ptr</span><<span style="color:#006141;">Queue</span>> queueA = factory.Create<<span style="color:#006141;">Queue</span>> ();</p><p style="margin:0px;font-size:11px;font-family:Monaco;">š devA->SetQueue (queueA);</p></div><div>š</div><div>Natalyaš</div><div>š</div><div>14.07.2013, 06:47, "Alex Afanasyev" <alexander.afanasyev@ucla.edu>:</div><blockquote type="cite"><div>Can you give me some examples of how would you set different queue types, if you create topology manually?</div><div>š</div><div>---</div><div>Alex</div><br /><div><div>On Jul 13, 2013, at 4:45 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</div><br /><blockquote type="cite"><div>Yes, ideally I wanted to use different types on different nodes...</div><div>š</div><div>Natalya</div><div>š</div><div>š</div><div>14.07.2013, 06:39, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>>:</div><blockquote type="cite"><p>Do you need to specify different queue types on different nodes?<br /><br />In any case, setting queue types is not yet supported, but could be easily added.<br /><br />---<br />Alex<br /><br />On Jul 13, 2013, at 4:06 PM, Natalya Rozhnova <<a href="mailto:natalya.rozhnova@lip6.fr">natalya.rozhnova@lip6.fr</a>> wrote:</p><blockquote>šHi Alex,<br /><br />šIs it possible to specify the queue type using topology reader? If so, how could I do it?<br /><br />šThanks,<br />šNatalya</blockquote></blockquote>_______________________________________________<br />ndnSIM mailing list<br /><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br /><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></blockquote></div></blockquote>