Commit Graph

567 Commits

Author SHA1 Message Date
Mathieu Lacage
720fae1bbe rework the refcounting framework to use the MakeNewObject function 2007-05-11 08:59:49 +02:00
Mathieu Lacage
d82a6d11f9 add MakeNewObject template with more arguments 2007-05-11 08:59:11 +02:00
Mathieu Lacage
0e1388a2fd add MakeNewObject template function and fix operator == (T1,T2) 2007-05-11 08:35:41 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +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
01a20c0a82 add some refcount debugging 2007-05-10 09:57:46 +02:00
Mathieu Lacage
db94cb6941 use the NS_DEBUG env var rather than NS3_DEBUG, as explained by the documentation. 2007-05-10 09:57:32 +02:00
Mathieu Lacage
2d66e7e804 make sure that NodeList::GetNode is correctly implemented 2007-05-10 08:34:32 +02:00
Mathieu Lacage
60734cd2db implement properly Application::DoDispose and rename Application::PeekNOde to Application::GetNode 2007-05-10 08:19:53 +02:00
Mathieu Lacage
f5451f5bce rename NodeList::PeekNode to NodeList::GetNode 2007-05-10 08:19:19 +02:00
Mathieu Lacage
e322d7f1df implement properly NetDevice::DoDispose and rename NetDevice::PeekNode to NetDevice::GetNode 2007-05-10 08:18:41 +02:00
Mathieu Lacage
96f4b45eab remove some dead code 2007-05-10 08:03:07 +02:00
Mathieu Lacage
11d883f2a6 remove useless forward declaration 2007-05-10 07:58:31 +02:00
Mathieu Lacage
66bc2db9d1 convert Node * to Ptr<Node> 2007-05-10 07:58:18 +02:00
Mathieu Lacage
96e58ed708 convert UdpSocket and Udp to Ptr<Node> 2007-05-10 07:51:59 +02:00
Mathieu Lacage
ad8424e6d1 convert Node * to Ptr<Node> 2007-05-10 07:44:18 +02:00
Mathieu Lacage
817876d6fe convert Node * to Ptr<Node> 2007-05-10 07:43:52 +02:00
Mathieu Lacage
4d1c0647c8 remove useless forward declaration 2007-05-10 07:42:31 +02:00
Mathieu Lacage
5bd6229ac1 convert more code to use Ptr<Node> instead of Node * 2007-05-10 07:35:53 +02:00
Mathieu Lacage
b67d398976 convert Arp code to use Ptr<Node> instead of Node * 2007-05-10 07:33:26 +02:00
Mathieu Lacage
c12d5a1142 revert Ipv4Interface * -> Ptr<Ipv4Interface> 2007-05-10 07:30:37 +02:00
Mathieu Lacage
90a0cb3ad2 remove ptr from ArrayTraceResolver 2007-05-10 07:25:47 +02:00
Mathieu Lacage
2eb20b5743 merge 2007-05-10 07:19:38 +02:00
Unknown
a70e279787 some Ipv4Interface* -> Ptr<Ipv4Interface>, and unhack arraytraceresolver, still segfaults 2007-05-09 23:23:05 -04: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
Mathieu Lacage
80854a2c39 remove ptr::Remove, make ptr::Peek share the same signature as ptr::Get 2007-05-09 19:48:33 +02:00
Raj Bhattacharjea
bd73c92bb5 Hacked arraytraceresolver to compile, but segfaults upon running simple-p2p 2007-05-09 16:56:33 -04:00
Raj Bhattacharjea
de3b9c78f3 Removed manual ref/unref calls for Ptr<Node> 2007-05-09 14:50:14 -04: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
5461e0a056 fix doxygen doc error 2007-05-09 17:07:50 +02:00
Tom Henderson
ea55c60fe3 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07:00
Tom Henderson
a6f05a05e0 Cosmetic: change strings in the bind commands for queue. Move Bind() before CommandLine::Parse() in example script 2007-05-04 11:50:02 -07:00
Mathieu Lacage
8819fdde7a make the code work on g++ 3.4.4 2007-05-07 23:05:17 +02:00
Mathieu Lacage
1808ad3c6d add extra test for object creation with multiple interfaces 2007-05-07 15:55:37 +02:00
Mathieu Lacage
440479be65 add more tests 2007-05-07 13:45:30 +02:00
Mathieu Lacage
d35f6e80df use Callback::Assign 2007-05-07 13:45:15 +02:00
Mathieu Lacage
0bd8f12c64 use Callback::Assign 2007-05-07 13:44:33 +02:00
Mathieu Lacage
9e269500d2 add Callback::Assign 2007-05-07 13:44:22 +02:00
Mathieu Lacage
658cc9cd23 rework and document API 2007-05-07 13:21:29 +02:00
Mathieu Lacage
aa4cf039bf a first draft of a component manager 2007-05-06 18:59:36 +02:00
Mathieu Lacage
4b68e3f7fe define class Iid to replace the uint32_t as suggested by Gustavo 2007-05-06 11:20:12 +02:00
Mathieu Lacage
6e437f5103 move code around 2007-05-04 15:04:07 +02:00
Mathieu Lacage
ccd6f5b640 merge with HEAD 2007-05-04 14:03:12 +02:00
Raj Bhattacharjea
c7db73ec6b Added static RNGs, like ExponentialVariable::GetSingleValue(mean) 2007-05-03 14:19:33 -04:00
Mathieu Lacage
4f05b2b2fc remove Node::GetIpv4 2007-05-03 15:24:34 +02:00
Mathieu Lacage
b4810cc153 remove Node::GetArp 2007-05-03 14:39:37 +02:00
Mathieu Lacage
2f1189d766 remove Node::GetUdp 2007-05-03 14:23:41 +02:00
Mathieu Lacage
b1eccbe7bf define and implement IUdp 2007-05-03 14:20:04 +02:00
Mathieu Lacage
c2bd604574 remove spurious call to Dispose 2007-05-03 13:49:24 +02:00