Bug 2452 - add Object::IsInitialized() check
add Object::IsInitialized() check
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: core
unspecified
All All
: P5 enhancement
Assigned To: Peter Barnes
:
Depends on:
Blocks: 2412
  Show dependency treegraph
 
Reported: 2016-07-14 11:19 UTC by Tom Henderson
Modified: 2016-07-21 01:43 UTC (History)
2 users (show)

See Also:


Attachments
suggested patch (1.10 KB, patch)
2016-07-14 11:19 UTC, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2016-07-14 11:19:47 UTC
Created attachment 2493 [details]
suggested patch

The attached patch would be useful to help check the object state and avoids reimplementing similar checks in subclasses.  

I would like to make use of it as part of bug 2412 solution (coordinating Wi-Fi channel number and frequency).
Comment 1 Tommaso Pecorella 2016-07-14 11:26:47 UTC
+1
Comment 2 Peter Barnes 2016-07-18 19:28:34 UTC
+1
Comment 3 Tom Henderson 2016-07-21 01:43:01 UTC
pushed in changeset 12213:7116b3cf5660