Commit Graph

126 Commits

Author SHA1 Message Date
Mathieu Lacage
3af2472ce4 merge with HEAD 2009-12-26 15:45:44 +01:00
Mathieu Lacage
c53146408d The iterator needs to actually go forward 2009-12-26 15:38:14 +01:00
Mathieu Lacage
3c10a5c742 get rid of last duplicated reference counting implementation 2009-12-08 19:56:24 +01:00
Mathieu Lacage
fe86ae64d8 Handle recursive calls to GetObject, AggregateObject and Start 2009-11-19 20:51:55 +01:00
Guillaume Seguin
a23934a4b7 Make applications generate traffic within their associated context/node 2009-11-14 17:47:05 +01:00
Mathieu Lacage
1fc1107e92 delete dead code 2009-11-09 16:02:05 +01:00
Mathieu Lacage
a0ff88e591 Optimization: use a shared reference counter instead of a per-object counter in Object::Ref/Unref 2009-11-06 17:47:44 +01:00
Mathieu Lacage
580033fc2b Optimize Object::GetObject. Introduce an array of aggregates and sort is by access frequency. 2009-11-05 21:04:05 +01:00
Mathieu Lacage
6a66402911 Optimize Object::GetObject. A 40% improvement on some testcases 2009-11-04 22:08:21 +01:00
Craig Dowell
7f89c4c222 Remove and replace object unit tests (bug 675) 2009-09-29 12:34:07 -07:00
Tom Henderson
f2804fd500 src/ and utils/ changes for IPv4 routing rework 2009-05-28 21:37:25 -07:00
Mathieu Lacage
8fd3438914 5% cpu optimization 2008-11-19 14:39:52 +01:00
Mathieu Lacage
3d6e4532ae avoid direct access to Object::m_tid. Use ObjectBase::GetInstanceTypeId instead. 2008-07-08 14:27:45 -07:00
Mathieu Lacage
24693d3bbd add Object::GetReferenceCount 2008-07-08 10:16:53 -07:00
Mathieu Lacage
78829ba702 add a couple of helper test macros 2008-04-23 14:56:58 -07:00
Mathieu Lacage
2c1b7db441 merge with HEAD 2008-04-17 15:50:49 -07:00
Craig Dowell
e7c2292d7b make duplicate aggregations fail; avoid duplicate aggregations 2008-04-10 13:16:43 -07:00
Mathieu Lacage
4a556dbf91 iterate over the _aggregated_ objects: this does not include the initial pointer. 2008-04-10 09:23:24 -07:00
Mathieu Lacage
923b1180f9 iterate over aggregated objects dynamically. 2008-04-09 17:35:18 -07:00
Mathieu Lacage
3bf71817cf remove undeeded include. 2008-03-24 13:11:48 -07:00
Mathieu Lacage
c995c98e85 Add an explicit copy constructor. Bug reported by Raj. 2008-03-20 10:25:59 -07:00
Mathieu Lacage
96e4874bdb move attribute code to ObjectBase. 2008-03-17 05:22:29 +01:00
Mathieu Lacage
0ef1e6b866 return the _current_ tid, not the Object tid. 2008-03-16 21:52:15 +01:00
Mathieu Lacage
0bfc594407 remove Object::m_collecting 2008-03-16 21:00:31 +01:00
Mathieu Lacage
fd014845f7 introduce ObjectBase::GetInstanceTypeId 2008-03-16 20:59:04 +01:00
Mathieu Lacage
660e414f36 split code from object.h/object.cc 2008-03-16 20:55:18 +01:00
Mathieu Lacage
3aa9706150 replace TypeId::CreateObject with TypeId::GetConstructor 2008-03-16 19:24:50 +01:00
Mathieu Lacage
ac16151d22 need to use ns3:: prefix for TypeId names now. 2008-03-15 19:29:22 +01:00
Mathieu Lacage
848cb7cfb5 add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage
3c32879211 Config::Connect -> Config::ConnectWithoutContext && Config::ConnectWithContext -> Config::Connect 2008-03-11 13:46:22 -07:00
Mathieu Lacage
5d2044ae93 TraceSourceConnect -> TraceConnect && TraceSourceDisconnect -> TraceDisconnect 2008-03-11 13:34:29 -07:00
Mathieu Lacage
9cac5c71ee check all errors. 2008-03-11 11:35:03 -07:00
Mathieu Lacage
ef8ee7e7ef kill multiple constructors per TypeId 2008-03-11 11:29:21 -07:00
Mathieu Lacage
603615d2d0 doxygen doc 2008-03-10 13:09:32 -07:00
Mathieu Lacage
a4c5f55812 rename old VALUE leftovers 2008-03-10 00:46:44 +01:00
Mathieu Lacage
ad625de65a make GetAttributeFlags and GetAttributeChecker public. add GetAttributeHelp 2008-03-09 22:55:25 +01:00
Mathieu Lacage
6f26975964 more FailSafe methods 2008-03-09 21:28:27 +01:00
Mathieu Lacage
782dd6d45b add FailSafe versions of setters which could fail. 2008-03-09 21:07:14 +01:00
Mathieu Lacage
5ed6f37ad9 make Disconnect work with trace contexts. 2008-03-07 12:18:34 -08:00
Mathieu Lacage
a786828ddf kill TraceResolver et al. 2008-03-03 01:58:57 +01:00
Mathieu Lacage
346b857c6c implement context-based trace connection 2008-03-02 21:00:37 +01:00
Mathieu Lacage
ed22af820c ensure that Dispose is invoked at one point. 2008-03-02 06:32:03 +01:00
Mathieu Lacage
0a3b46fdf5 improve debugging output. 2008-03-01 20:41:08 +01:00
Mathieu Lacage
af58f11739 report attribute setting errors as early as possible. 2008-03-01 20:20:14 +01:00
Mathieu Lacage
662bf63f87 introduce AttributeChecker::Create and use it instead of AttributeValue::Copy. 2008-03-01 19:54:48 +01:00
Mathieu Lacage
0c586271e5 introduce the ns3::String class, get rid of the string -> Attribute implicit conversion, and get rid of MakeDataRate, port PointToPointNetDevice to Attributes 2008-02-27 21:41:34 +01:00
Mathieu Lacage
ed32045dc6 do not use the private constructor to avoid overload resolution confusions. 2008-02-26 22:40:20 +01:00
Mathieu Lacage
702a31b06e add a few public methods for the Config code 2008-02-25 22:06:14 +01:00
Mathieu Lacage
2aa6ff8d7d invoke getters on tid temp variable to allow proper iteration over tid list. 2008-02-22 00:12:47 +01:00
Mathieu Lacage
f8ca997175 actually allow connection and disconnection to trace sources registered in TypeIds 2008-02-22 00:08:00 +01:00