Commit Graph
508 Commits
Author SHA1 Message Date
Mathieu Lacage b34bca62b3 make L3Demux an NsUnknown object. 2007-05-03 12:33:08 +02:00
Mathieu Lacage ce7a8de796 make Node derive from NsUnknown rather than Object 2007-05-03 11:08:13 +02:00
Mathieu Lacage c96563c3e8 disable the default constructor to avoid bugs 2007-05-03 11:06:51 +02:00
Mathieu Lacage 60ce9e797d add NsUnknown::Dispose 2007-05-03 11:01:26 +02:00
Mathieu Lacage 3dffadb7eb rename the class itself 2007-05-03 10:58:08 +02:00
Mathieu Lacage 4035622521 rename files
--HG--
rename : src/core/interface.cc => src/core/ns-unknown.cc
rename : src/core/interface.h => src/core/ns-unknown.h
2007-05-03 10:49:28 +02:00
Mathieu Lacage 0ddef50308 airplane COM code 2007-05-03 10:34:35 +02:00
Mathieu Lacage a3f12a3db5 remove more dead code 2007-05-03 00:37:48 +02:00
Mathieu Lacage 3e7898ae3c remove dead code 2007-05-03 00:35:39 +02:00
Mathieu Lacage 90eacfe39e remove dead code 2007-05-03 00:33:03 +02:00
Mathieu Lacage 87b3408a0e fix last leaks with new refcounted mechanism 2007-05-03 00:31:04 +02:00
Mathieu Lacage d1edc4f0e3 constify refcounted object base class 2007-05-03 00:23:23 +02:00
Mathieu Lacage e26095c940 port sample code to refcounting model 2007-05-03 00:12:39 +02:00
Mathieu Lacage 597cf5f841 remove dead method declaration and dead use 2007-05-02 23:45:26 +02:00
Mathieu Lacage 4c6ac89e26 implement properly the refcounting rules for the capability getters 2007-05-02 23:42:22 +02:00
Mathieu Lacage 330ea61b96 make capabilities and sockets refcounted 2007-05-02 23:18:51 +02:00
Mathieu Lacage 4e7a215f6a implement Dispose properly throughout the network stack 2007-05-02 23:08:41 +02:00
Mathieu Lacage f09be37481 use Dispose more extensively 2007-05-02 22:32:25 +02:00
Mathieu Lacage 4f1cb40b93 rework the socket/udp layer to remove the Ipv4EndPointDemux template 2007-05-02 19:14:34 +02:00
Mathieu Lacage 2289afeb21 fix segfault 2007-05-02 15:14:27 +02:00
Mathieu Lacage 3a0f38a0b7 use ref/unref for Node in more cases 2007-05-02 15:07:33 +02:00
Mathieu Lacage bde924e433 remove nil macro 2007-05-02 14:52:34 +02:00
Mathieu Lacage 1bce11a9bb remove dead files 2007-05-02 14:46:14 +02:00
Mathieu Lacage 385e072ef7 remove nil macro 2007-05-02 14:43:18 +02:00
Mathieu Lacage cac0524db5 remove nil macro 2007-05-02 14:41:34 +02:00
Mathieu Lacage cc91afd663 remove nil macro 2007-05-02 14:41:18 +02:00
Mathieu Lacage d9daa0b63d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +02:00
Mathieu Lacage bd14f334e7 remove useless methode declaration 2007-05-02 14:28:07 +02:00
Mathieu Lacage 1693d53539 rename NodeList::GetNode to NodeList::PeekNode to avoid memory leaks. Call Dispose from NodeListPriv::~NodeListPriv 2007-05-02 13:59:29 +02:00
Mathieu Lacage 04eca6a083 rework the Node and NodeList classes to manage reference counts correctly 2007-05-02 13:44:41 +02:00
Mathieu Lacage b1a7b0a705 a singleton template class to simplify the implementation of a few classes 2007-05-02 13:43:41 +02:00
Mathieu Lacage 66f0d86355 remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage d2cb8b7b5a do not leak the NetDevice from P2PTopology 2007-05-02 12:12:55 +02:00
Mathieu Lacage eed7a695a5 do not leak the channel from simple-p2p 2007-05-02 11:43:22 +02:00
Mathieu Lacage ad24f56895 do not use Simulator::StopAt to avoid too many memory leaks 2007-05-02 11:38:21 +02:00
Mathieu Lacage bbbaa4c346 make Application::Stop work 2007-05-02 11:37:52 +02:00
Mathieu Lacage 268af07f95 improve debugger output for time variables when we do not need the 128 bit statistics 2007-05-02 11:22:27 +02:00
Mathieu Lacage 7bccedae23 destroy prototype stack upon Simulator::Destroy 2007-05-02 10:41:34 +02:00
Mathieu Lacage c7d8a02e3a destroy the Node vector upon Simulator::Destroy rather than wait until the global static destructor of Node::g_nodes is invoked. This fixes a bad assert caught with valgrind. 2007-05-02 10:33:39 +02:00
Mathieu Lacage 9a3b39648a manage NetDevice objects with refcounts 2007-05-02 10:25:06 +02:00
Mathieu Lacage 3a5cc38cea temporarily invoke node's Dispose from user script 2007-05-02 10:24:59 +02:00
Mathieu Lacage dc1bba4197 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Mathieu Lacage 84469530c0 call dispose from within the destructor 2007-05-02 09:18:18 +02:00
Mathieu Lacage 533f1058a1 just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage be787dd579 derive from Object for proper refcounting 2007-05-02 09:17:42 +02:00
Mathieu Lacage 46c9165ab6 do not try to dispose the parent's ressources from InternetNode::Dispose 2007-05-02 09:17:17 +02:00
Mathieu Lacage 0311864c37 dispose properly from Node::Dispose 2007-05-02 09:16:58 +02:00
Mathieu Lacage ff9d79bedd add Object::Dispose 2007-05-02 09:16:32 +02:00
Mathieu Lacage c46256d176 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage 1e1ac70e73 make sure that the code matches the documentation 2007-05-01 11:58:19 +02:00