Commit Graph

17 Commits

Author SHA1 Message Date
Mathieu Lacage
939cee7ac3 do not use ObjectBase as a base class. 2008-03-16 18:42:23 +01:00
Mathieu Lacage
71c635dedc introduce ObjectBase 2008-01-30 17:25:06 +01:00
Mathieu Lacage
6b0e717a19 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Mathieu Lacage
9d5184bae4 add an extra constructor to use when the Create template cannot be used 2007-07-27 15:37:05 +02:00
Mathieu Lacage
01f37ccb65 rename MakeNewObject to Create 2007-06-04 16:32:37 +02:00
Mathieu Lacage
01d21b3ea2 add tests and fix leak 2007-05-24 15:37:00 +02:00
Mathieu Lacage
911daba417 fix bug 23 2007-05-24 14:53:10 +02:00
Mathieu Lacage
24d19e29c0 rename Ptr::Get and Ptr::Peek to GetPointer and PeekPointer 2007-05-11 09:46:01 +02:00
Mathieu Lacage
0e1388a2fd add MakeNewObject template function and fix operator == (T1,T2) 2007-05-11 08:35:41 +02:00
Mathieu Lacage
349f970d82 remove leaks and rework the Ptr class to work with a new refcount mechanism 2007-05-10 18:33:52 +02:00
Mathieu Lacage
a82cf78743 remove ptr::Remove, make ptr::Peek share the same signature as ptr::Get 2007-05-09 19:48:33 +02:00
Raj Bhattacharjea
ecfcfa977d Node* -> Ptr<Node> 2007-05-09 13:26:21 -04:00
Raj Bhattacharjea
4e32c8f56e Ptr changed to use Object's refcounts 2007-05-08 11:44:04 -04:00
Mathieu Lacage
041fcd1752 add ns3::Ptr<T>::operator * with a few tests 2007-01-31 20:14:23 +01:00
Mathieu Lacage
735a076eb3 more tests, fix bugs uncovered by tests 2006-12-18 14:25:33 +01:00
Mathieu Lacage
3a88bb5f32 smart pointer tests. no bugs for now 2006-12-18 13:28:29 +01:00
Mathieu Lacage
4c0c225a19 initial go at smart pointer implementation 2006-12-18 13:17:08 +01:00