On Fri, 2019-11-22, Öö Tiib wrote:
> On Thursday, 21 November 2019 20:48:37 UTC+2, Adnan Rashid wrote:
>> Dear All,
>>
>> I wrote this below code in the source file. (I am using a simulator
>> ns3 which is based on C++)
>>
>> ApplicationContainer sixLbrApps;
>> ObjectFactory factory;
>> factory.SetTypeId (SixLowPanRadvd::GetTypeId ());
>> Ptr<SixLowPanRadvd> sixLbr = factory.Create<SixLowPanRadvd> ();
>> nodes.Get (0)->AddApplication (sixLbr);
>> sixLbrApps.Add (sixLbr);
>> sixLbrApps.Start(Seconds(0));
>>
>> How can I write a helper function for the above code? So I can
>> reuse the above functionality by calling the function.
>
> If you need help about concrete library (I guess) like
> <
https://www.nsnam.org/> then please contact directly the
> manufacturer or forum or fan-club of that library. For me (if to try
> to be straightly honest) the whole product feels like "dirt" or
> "digital waste", sorry.
much the library. It's still difficult to come up with a good reply
though ... he can wrap the code in
// Jorgen Grahn <grahn@ Oo o. . .