Alexander Krotov
4011ea0c4e
core: avoid unnecessary "ns3" in include path
2017-02-27 20:52:43 +03:00
Alexander Krotov
8af471427c
core: Do not use `this' in nonmember function
2017-02-27 20:46:09 +03:00
Piyush Aggarwal
03dcf5fa45
core: clean up indenting (whitespace changes only)
2017-02-16 16:01:25 -08:00
Piyush Aggarwal
20c0d2f121
core: fix static code analysis warning (thanks to Natale Patriciello)
...
object-base.cc: fixed “value stored but never read” in
simulator.cc: false positive warning “called object pointer is null”.
The assignment in previous block should have been recognized.
object.cc: false positive.
2017-02-16 16:00:08 -08:00
Tom Henderson
e575508919
core: ( fixes #2490 ) Change logging timestamp precision
2017-01-22 18:54:49 -08:00
Tommaso Pecorella
8f629f0d18
flow-monitor: doxygen updates (thanks to Robert Ammon)
2017-01-22 16:50:12 +01:00
Danilo Abrignani
5eb935c41f
core: MakeEvent() and Schedule() to accept 6 arguments
2017-01-19 20:49:17 +01:00
Alexander Krotov
05d6ac4a56
core: implement operator < for Vector3D and Vector2D
...
Part of ongoing effort to stop comparing Ptrs, see bug #2595
2016-12-26 08:19:50 +03:00
Robert Ammon
5c28d36714
documentation: ( fixes #2583 ) Correct doxygen warnings and errors
2016-12-18 07:10:25 -08:00
Alexander Krotov
5bd59266e9
core: expand tabs and remove trailing whitespace in int64x64.cc
2016-12-14 11:56:08 +03:00
Tommaso Pecorella
027deedd50
core: provide ParetoRandomVariable::GetScale implementation
2016-11-09 15:23:34 +01:00
Tommaso Pecorella
bec49d392d
core: ( fixes #2513 ) - Deprecates Mean attribute in ParetoRandomVariable
2016-11-08 01:42:06 +01:00
Tommaso Pecorella
846709fff0
core: ( fixes #2447 ) Attribute system doesn't complain in case of errors
...
Patch to AttributeHelper by Tommaso, extended to ObjectFactory by Peter
Barnes, and changed to use abort.h so that checks are made in all builds
2016-09-12 12:21:53 -07:00
Peter D. Barnes, Jr.
4f64f9e28a
core: ( fixes #2344 ) Attribute names can't have spaces
2016-09-10 14:12:52 -07:00
Peter D. Barnes, Jr.
b46530a6b6
core: ( fixes #2149 ) Deprecated Attributes and TraceSources
...
Patch based on earlier patch proposal from Natale Patriciello
2016-09-10 14:08:54 -07:00
Tom Henderson
4d677cb2e7
[build] Partial fix for warnings revealed by changeset 865b0fc5e241
...
'Enable -Wstrict-overflow for G++ >= 4.8.1' revealed some issues.
2016-09-04 21:56:48 -07:00
Peter D. Barnes, Jr.
18e8001aaa
[core] Fix compilation errors from new NS_DEPRECATED function macro in r 12293 [57597d3fb31e]
...
Remove function macro and return to simple tag. GCC can have the
attribute in front of the function declaration, matching Windows.
2016-09-03 18:13:21 -04:00
Peter D. Barnes, Jr.
516b8b2ff9
[core] Document CommandLine feature request.
2016-09-03 00:56:53 -04:00
Peter D. Barnes, Jr.
d58a3b8863
[core] Improve GlobalValue documentation.
2016-09-03 00:52:50 -04:00
Peter D. Barnes, Jr.
ba7ae20fb5
[core] Fix compilation error introduced in r12295 [e1451373c0b6]
2016-09-02 23:12:36 -04:00
Peter D. Barnes, Jr.
c36606a7b9
[core] TypeId::LookupTraceSourceByName overload to return TraceSourceInformation
2016-09-02 22:49:14 -04:00
Peter D. Barnes, Jr.
8d7160380e
DES Metrics implementation.
2016-09-02 22:40:07 -04:00
Peter D. Barnes, Jr.
a165e2edec
[core] Refactor type-id.cc logging
2016-09-02 22:13:51 -04:00
Peter D. Barnes, Jr.
71902a017a
Use new NS_DEPRECATED function macro
2016-09-02 22:06:27 -04:00
Peter D. Barnes, Jr.
b5b2b5398a
[core] Show string args as quoted strings in NS_LOG_FUNCTION
2016-09-02 21:47:53 -04:00
Peter D. Barnes, Jr.
25c02db88c
[core] restore NS_DEPRECATED functionality
2016-09-02 21:46:31 -04:00
Peter D. Barnes, Jr.
84cd2d224c
[doc] ref-count-base files
2016-09-02 21:43:51 -04:00
Peter D. Barnes, Jr.
cc9ea12573
core: refix problem with temporary variable
...
This amends r12238 (271042c52437)
2016-08-26 09:46:16 -07:00
Peter D. Barnes, Jr.
275d52f141
core: fix problem with temporary variable
...
With the upcoming des-metrics feature, the temporary string created
from argv[0] for the argument to Split triggers a bizarre overwrite.
Making the temporary explicit, with block scope as arg0, fixes this.
2016-08-04 13:17:00 -07:00
Tom Henderson
377ba18313
core: ( fixes #2452 ) Add Object::IsInitialized method
2016-07-20 08:35:50 -07:00
Peter D. Barnes, Jr.
a50af0a233
[core] Document the meaning of Simulator context.
...
Use a symbol Simulator::NO_CONTEXT instead of hardcoded value.
2016-07-01 16:07:30 -07:00
Peter D. Barnes, Jr.
08ff4e78cf
[core] Use standard arguments args, argv.
2016-06-16 16:11:31 -07:00
Tom Henderson
582231c37d
core: Improve RngSeed and RngRun documentation
2016-06-10 14:50:07 -07:00
Alexander Krotov
79beb0d9ab
core: ( fixes #1939 ) Make sure that an object is not aggregated twice.
...
When aggregating objects, it was checked that objects of the same type
are not aggregated. However, the check was performed only against the
primary type of the "other" object, but not against the types of objects
aggregated to the "other" object. This patch fixes the issue.
2016-04-10 11:50:22 +02:00
Peter D. Barnes, Jr.
32754b8a5a
[doc] Remaining doxygen warnings on core.
2016-04-06 09:50:57 -07:00
Peter D. Barnes, Jr.
0d0089ae51
[docs] Replace \inferred with \deduced to align with commit 6769680336c8
2016-04-06 09:40:39 -07:00
Tom Henderson
e45db80b8b
core: (documentation) fix stale code sample
2016-02-01 14:52:17 -08:00
Tommaso Pecorella
3a8d1a1bda
some small fixes
2015-11-11 21:52:39 -08:00
Tommaso Pecorella
e17ad5fbd0
Missing SetGroupName in two classes
2015-09-11 10:52:44 +02:00
Peter D. Barnes, Jr.
798c314b09
Refactor test name character restrictions: allow '*'
2015-08-21 13:48:32 -07:00
Peter D. Barnes, Jr.
b1976b6366
Merge
2015-08-18 16:59:27 -07:00
Peter D. Barnes, Jr.
61f2fbd415
[doxygen] Revise TracedCallback function signatures for const.
2015-08-18 16:46:10 -07:00
Peter D. Barnes, Jr.
ebd742ba2d
Refactor test name character restrictions
2015-08-18 16:17:36 -07:00
Peter D. Barnes, Jr.
a5246b3b91
[doxygen] fix typos
2015-08-17 11:54:05 -07:00
Peter D. Barnes, Jr.
a90f09f672
Better reporting of Callback type mismatches.
2015-08-13 15:12:17 -07:00
Peter D. Barnes, Jr.
454a551c3e
NS_FATAL_ERROR_CONT macro, to report an error message, but allow the caller to terminate later.
2015-08-13 15:11:25 -07:00
Peter D. Barnes, Jr.
820548b9ac
TypeTraits<T>::BaseType, PtrBaseType and IsPtr
2015-08-12 16:37:08 -07:00
Peter D. Barnes, Jr.
baddf3f749
Refactor TracedValue callback function signatures.
...
Move from template class TracedValue to namespace TracedValueCallback.
Rename from [type]Callback to just [type]:
TracedValue<double>::DoubleCallback -> TracedValueCallback::Double
2015-07-29 13:56:55 -07:00
Peter D. Barnes, Jr.
d81c292aba
Remove obsolete struct, never invoked.
2015-07-29 12:44:41 -07:00
Peter D. Barnes, Jr.
aaa6ddae99
Remove obsolete struct, never invoked.
2015-07-29 12:44:41 -07:00