Commit Graph

55 Commits

Author SHA1 Message Date
Mathieu Lacage
976f16c4d9 get rid of MakeInterfaceId 2008-01-03 08:34:31 +01:00
Mathieu Lacage
bc1ab2d79b replace static const Interface iid; with static InterfaceId iid (void); 2008-01-02 10:33:39 +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
3262a4e103 add application tracing support 2007-12-11 13:51:03 +01:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Mathieu Lacage
3330ba77b1 GetName -> GetTypeName 2007-08-30 14:35:44 +02:00
Mathieu Lacage
f9a6120685 avoid method naming ambiguity in CompositeTraceResolver 2007-08-28 15:59:49 +02:00
Mathieu Lacage
4d9cf433ff constify 2007-08-28 14:33:53 +02:00
Mathieu Lacage
90c8be1fa3 add TraceContextElement::GetName method 2007-08-27 14:59:50 +02:00
Mathieu Lacage
ec4d9bbcb9 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code 2007-08-12 16:28:29 +02:00
Mathieu Lacage
0b34c336f7 convert TraceResolver * to Ptr<TraceResolver> 2007-08-10 15:47:13 +02:00
Mathieu Lacage
e683e1ab1c remove TraceContext argument from TraceResolver constructor and move it to Connect 2007-08-09 21:25:23 +02:00
Mathieu Lacage
496f1d91d0 TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage
1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
dd3ca3aa63 replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Mathieu Lacage
e05f635db5 rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage
b4237e51dc implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage
359a2f98a8 rename i-node to node 2007-06-04 16:21:05 +02:00
Mathieu Lacage
1b0dbb2b34 rename node.h to i-node.h 2007-05-14 09:09:43 +02:00
Mathieu Lacage
52d60ea049 add dox documentation for Node 2007-05-13 11:46:11 +02:00
Mathieu Lacage
88c5dfecb0 make the Node API more consistent 2007-05-13 11:30:15 +02:00
Mathieu Lacage
26c628e81a remove ApplicationList. Move functionality to Node class 2007-05-13 09:46:38 +02:00
Mathieu Lacage
666e00b097 rename Iid to InterfaceId 2007-05-11 18:57:45 +02:00
Mathieu Lacage
e22e6188cf rename NsUnknown to Interface and NsUnknownManager to ComponentManager 2007-05-11 18:52:05 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Tom Henderson
ea55c60fe3 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07: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
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
e89d1692e5 make ApplicationList an NsUnknown object. 2007-05-03 13:17:29 +02:00
Mathieu Lacage
b0399a9f9c fix valgrind warning: UdpSocket must manage carefully its Ipv4EndPoint to avoid double deleting it. 2007-05-03 13:11:50 +02:00
Mathieu Lacage
69ffe8defb make Ipv4L4Demux an NsUnknown object. 2007-05-03 12:46:50 +02:00
Mathieu Lacage
0e11e9f7f4 make L3Demux an NsUnknown object. 2007-05-03 12:33:08 +02:00
Mathieu Lacage
20d0136449 make Node derive from NsUnknown rather than Object 2007-05-03 11:08:13 +02:00
Mathieu Lacage
acf2d25cd5 rework the Node and NodeList classes to manage reference counts correctly 2007-05-02 13:44:41 +02:00
Mathieu Lacage
c82b51d8da remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage
9bb706c627 destroy prototype stack upon Simulator::Destroy 2007-05-02 10:41:34 +02:00
Mathieu Lacage
6d4e502109 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
1eeab81136 manage NetDevice objects with refcounts 2007-05-02 10:25:06 +02:00
Mathieu Lacage
8c580647fd dispose properly from Node::Dispose 2007-05-02 09:16:58 +02:00
Mathieu Lacage
9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage
4219858cc2 remove external NetDeviceList and use the Node's integrated list 2007-04-30 10:21:49 +02:00
Mathieu Lacage
50e9149f90 add NetDevice list into Node base class 2007-04-30 10:16:04 +02:00
Tom Henderson
f1cd4984a1 Add ApplicationList and Capability 2007-03-27 21:48:22 -07:00
Tom Henderson
d52242c4ae OnOffApplication functioning; some Node class cleanup 2007-03-21 23:17:11 -07:00
Tom Henderson
9e86e12f6f Add nodes to NodeList in static Create method; cut over simple-serial.cc to use this node factory 2007-03-20 06:28:24 -07:00
Tom Henderson
b9e6974c8e Add static node factory methods to class Node 2007-03-19 22:19:38 -07:00
Mathieu Lacage
8c31ac1950 remove SetNodeId and implement GetId and GetSystemId 2007-02-12 16:01:18 +01:00