Commit Graph

116 Commits

Author SHA1 Message Date
Quincy Tse
b65ae65e7a bug 921: Inconsistent declaration of class/struct Object 2010-05-27 08:34:16 +02:00
Andrey Mazo
892d5e3f3d spell check, mostly in comments. 2010-04-23 15:09:31 +04: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
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
b1400fd928 Optimization: try to optimistically dynamically_cast in case the requested object is the first entry in the aggregate buffer. 2009-11-06 11:27:04 +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
0d5554a509 make CreateObject<> behave like Create<>: use positional constructor arguments rather than attribute lists. 2009-06-19 08:43:58 +02:00
Tom Henderson
f2804fd500 src/ and utils/ changes for IPv4 routing rework 2009-05-28 21:37:25 -07:00
Timo Bingmann
eb8ca704b4 bug 486: patches for icc compilation. 2009-02-24 08:29:36 +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
178567b32b add PythonCompleteConstruct friend for python bindings 2008-07-08 10:19:34 -07:00
Mathieu Lacage
24693d3bbd add Object::GetReferenceCount 2008-07-08 10:16:53 -07:00
Mathieu Lacage
6badc137d9 add some doxygen, remove a couple of XXX 2008-06-02 10:30:24 -07:00
Tom Henderson
dfb9b7360a Doxygen organization 2008-05-29 23:24:10 -07:00
Mathieu Lacage
ea6e067812 merge with HEAD 2008-04-21 08:05:34 -07:00
Mathieu Lacage
a6321aac60 add const version of CopyObject 2008-04-18 14:35:10 -07:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -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
7c1cda0ccb doxygen 2008-03-24 13:04:27 -07:00
Mathieu Lacage
09b0afe3d5 fix the build, again. 2008-03-21 13:19:37 -07:00
Mathieu Lacage
48a799a6ac fix dox warnings 2008-03-21 13:06:34 -07:00
Mathieu Lacage
745520c03d some doxygen work. 2008-03-20 13:23:03 -07:00
Mathieu Lacage
c995c98e85 Add an explicit copy constructor. Bug reported by Raj. 2008-03-20 10:25:59 -07:00
Mathieu Lacage
218c66592a move more code around 2008-03-17 05:42:20 +01:00
Mathieu Lacage
96e4874bdb move attribute code to ObjectBase. 2008-03-17 05:22:29 +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
0ddbe50a61 add CopyObject 2008-03-14 16:36:55 -07:00
Mathieu Lacage
848cb7cfb5 add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage
b97dfc9450 fix doxygen errors 2008-03-12 09:31:50 -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
b5a8d46096 get rid of CreateObjectWith 2008-03-11 13:30:12 -07:00
Mathieu Lacage
7a1c14372c do not set attributes if they have their default value. 2008-03-11 11:35:26 -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
af58f11739 report attribute setting errors as early as possible. 2008-03-01 20:20:14 +01:00
Mathieu Lacage
e06e3096cb merge with HEAD 2008-02-27 22:19:39 +01:00