Commit Graph

486 Commits

Author SHA1 Message Date
Mathieu Lacage
bb5e793580 rewrite CommandLine to not handle DefaultValues anymore. 2008-03-09 23:43:52 +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
b14aab2fe4 give Attribute power to ObjectFactory class. 2008-03-03 19:33:28 +01:00
Mathieu Lacage
93f5de21b1 typo is code unused until then. 2008-03-03 18:30:48 +01:00
Mathieu Lacage
163c32fc28 kill old code. 2008-03-03 02:07:40 +01:00
Mathieu Lacage
a786828ddf kill TraceResolver et al. 2008-03-03 01:58:57 +01:00
Mathieu Lacage
db4e999d61 register and unregister the NodeList as a config root namespace 2008-03-02 21:12:21 +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
bf1aad6a7d add ATTRIBUTE_VALUE_IMPLEMENT_NO_SERIALIZE 2008-03-01 05:39:25 +01:00
Mathieu Lacage
93ee85a925 output correct information about non-matching types. 2008-03-01 05:37:56 +01:00
Mathieu Lacage
69a95852ba typos in untested code path. 2008-02-29 17:27:14 +01:00
Mathieu Lacage
8e4605294a avoid macro namespace polution. 2008-02-29 00:45:02 +01:00
Mathieu Lacage
8f6d84e669 Use a temporary to avoid confusing the compiler. 2008-02-28 08:59:35 -08:00
Mathieu Lacage
21466b9afe Copy is not needed anymore. 2008-02-28 08:59:06 -08:00
Mathieu Lacage
893a2d0859 do not use anonymous namespace in header 2008-02-27 20:39:06 -08:00
Mathieu Lacage
fea84ff0f2 add example for trace connect/disconnection with trace paths 2008-02-28 04:28:34 +01:00
Mathieu Lacage
e06e3096cb merge with HEAD 2008-02-27 22:19:39 +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
49087105ad do not use operator []. Use iterators instead to work with std::list. 2008-02-27 19:36:03 +01:00
Mathieu Lacage
dd0ae959fe re-organize the code to avoid link-time errors due to duplicate symbols. 2008-02-27 19:35:37 +01:00
Mathieu Lacage
8f8639aa7a fix compilation bug on osx 2008-02-27 17:39:32 +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
1fe93d4e86 add an extra overload of SetTypeId to avoid overload resolution confusions. 2008-02-26 22:39:57 +01:00
Mathieu Lacage
e933b3091d add extra checker construction function 2008-02-26 20:23:47 +01:00
Mathieu Lacage
0a8fd09acf add extra checker construction function 2008-02-26 20:23:43 +01:00
Mathieu Lacage
200a9c69ff add extra checker construction function 2008-02-26 20:22:13 +01:00
Mathieu Lacage
276147ac65 add templated version of ObjectFactory::Create 2008-02-26 19:51:58 +01:00
Mathieu Lacage
9094ef8b1b EventTraceSource -> TracedCallback, ValueTraceSource -> TracedValue. 2008-02-26 19:51:33 +01:00
Mathieu Lacage
d5221dcfe4 fix tests 2008-02-26 18:17:10 +01:00
Mathieu Lacage
061f5a8426 export public header 2008-02-26 18:03:44 +01:00
Mathieu Lacage
9db1cd07e3 merge 2008-02-26 01:08:58 +01:00
Mathieu Lacage
5b36ba86ad A Config class which hooks into the Object Attribute/Tracing system. 2008-02-26 01:07:16 +01:00
Mathieu Lacage
38d882d889 add a base arg to MakeSimpleAttributeChecker 2008-02-25 22:08:56 +01:00
Mathieu Lacage
4e598bde94 do not attempt to access the AttributeList as a fallback from GlobalValue. 2008-02-25 22:07:19 +01:00
Mathieu Lacage
702a31b06e add a few public methods for the Config code 2008-02-25 22:06:14 +01:00
Mathieu Lacage
96b47442ea test the ValueTraceSource with an arbitrary class. 2008-02-24 20:18:02 +01:00
Mathieu Lacage
93ae3cea51 replace IntegerTraceSource with ValueTraceSource 2008-02-24 20:04:31 +01:00
Mathieu Lacage
6895e23eca InitialValue -> GlobalValue 2008-02-23 05:23:59 +01:00
Mathieu Lacage
c4238a2fb7 make EventTraceSource acceptable to the MakeTraceSourceAccessor function 2008-02-22 00:22:16 +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
6d05a9e061 get rid of useless accessor maker 2008-02-22 00:11:20 +01:00
Mathieu Lacage
f8ca997175 actually allow connection and disconnection to trace sources registered in TypeIds 2008-02-22 00:08:00 +01:00
Mathieu Lacage
377f70de36 add an IntegerTraceSource which behaves just like an Integer. 2008-02-21 23:15:00 +01:00