Tommaso Pecorella
a8fc1b6235
doxygen: fix warnings in various modules
2022-01-05 00:22:31 -06:00
Ameya Deshpande
fcc095b05c
core: Use std::invoke_result instead of std::result_of
...
C++17 introduces `std::invoke_result`, and deprecates
the usage of `std::result_of`.
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com >
2021-12-28 09:06:53 -08:00
Peter Barnes
3dd74f2017
core: refactor ObjectBase::ConstructSelf
2021-12-24 00:08:09 +00:00
Peter Barnes
7f3d883f75
core: fix doxy warnings
2021-12-21 17:06:57 +00:00
Peter Barnes
0e685cbdbb
Use [[maybe_unused]] attribute directly, instead of NS_UNUSED
2021-12-21 10:32:43 +00:00
Peter Barnes
1d0c81dea4
core: pre-event hook, to facilitate chaining SimulatorImpls
2021-12-20 21:59:44 +00:00
Eduardo Almeida
96ec88cd59
core: Remove NonCopyable class
2021-12-18 16:41:39 -08:00
Peter D. Barnes, Jr
9c5fec6697
Define NS_DEPRECATED_3_36
2021-12-17 17:24:11 +00:00
Peter D. Barnes, Jr
ccb21e8887
Use C++-14 [[deprecated (msg)]], convert NS_DEPRECATED to function macro
2021-12-17 17:24:11 +00:00
Peter Barnes
6f319e48fc
core: (bugzilla 2203) MakeEvent from a lambda
2021-12-17 17:23:45 +00:00
Peter Barnes
4dc0ec0682
core: ( fixes #141 ) Print parent attributes from CommandLine --PrintAttributes
2021-12-17 01:04:14 +00:00
Peter Barnes
dd1d254a9f
core: html-encode in CommandLine::PrintDoxygenUsage
2021-12-16 23:32:15 +00:00
Peter Barnes
8b0d0e7044
core: symbolic names for EventId reserved Uid values
2021-12-13 23:04:15 +00:00
Peter Barnes
c333dbc0cd
core: forward ScheduleNow(...) to Schedule(0, ...)
2021-12-10 22:41:33 +00:00
Tommaso Pecorella
deaec64d36
core: remove NS_TEST_*_INTERNAL
2021-12-09 01:25:52 +00:00
Stefano Avallone
6ec6fc2eb6
core: Add an attribute value storing a std::tuple
2021-12-06 10:49:40 +01:00
Peter D. Barnes, Jr
1dc223f85a
core: mark event impl function typedefs as maybe_unused
2021-12-02 21:00:50 +00:00
Gabriel Ferreira
3c604d5b2e
Update docs with CMake and ns3 wrapper
2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a
CMake buildsystem
2021-12-01 12:29:55 -08:00
Tommaso Pecorella
3ec15efca2
core: fix some doxygen warnings
2021-11-25 00:17:52 +01:00
Eduardo Almeida
5dc117216a
Fix doxygen warning
2021-11-04 14:19:29 -07:00
Eduardo Almeida
a2efceffb2
Simplify trivial bool statements
2021-11-04 14:19:29 -07:00
Tommaso Pecorella
d1169d40ad
core: fix some doxygen warnings
2021-10-24 17:14:32 +02:00
Alexander Krotov
d8fe6bac00
core: (merges !623 ) Print available values on EnumChecker::GetValue () error
2021-09-25 12:42:23 -07:00
Peter D. Barnes, Jr
7c48447ffa
core: Add hashing functor for creating hash of a Ptr
2021-09-15 22:01:48 +02:00
Tommaso Pecorella
dbb8b67ad8
core ( fixes #452 ) Add TracedCallback::IsEmpty
2021-09-01 04:13:57 +02:00
Tommaso Pecorella
73a14518e7
core: ( fixes #444 ) Remove Pareto::Mean attribute
2021-08-30 20:57:24 +00:00
Tommaso Pecorella
6ed23c3ae1
core: ( fixes #445 ) update doc for Timer::State
2021-08-23 19:52:57 +00:00
Michael Scoggin
0f3fbffcd7
core: (merges !621 ) Add DistanceSquared and LengthSquared methods to Vectors
...
Complements existing methods to avoid unnecessary square roots in some cases
2021-08-18 20:56:40 -07:00
Michael Scoggin
a02b47a08a
core: (merges !620 ) add operator to ptr to facilitate std alg
2021-08-18 16:22:55 -07:00
Tom Henderson
f1f2877c81
core: Update deprecation macro definitions
2021-07-31 07:48:30 -07:00
Stefano Avallone
ac6c4c2e69
core: Create<>() forwards parameters to constructors
...
Just like CreateObject does.
2021-07-22 07:29:42 +00:00
Peter D. Barnes, Jr
09d2a6e9c6
build: ( fixes #52 ) Fix and standardize boost detection
2021-06-17 12:09:25 -07:00
Tommaso Pecorella
e2f1ff084b
core: fix doxygen warnings
2021-05-01 00:19:55 +02:00
Steven Smith
bbcea3e502
core: ( fixes #387 ) Fix MakeCallbackAccessor compilation error
...
Use more specific properties of containers to identify containers for specialization
2021-04-20 10:11:05 -07:00
Tommaso Pecorella
b6ee0842ac
internet: deprecate Icmpv6RA::[G,S]etFlags
2021-03-19 01:11:00 +00:00
Chappidi Yoga Satwik
854ca2ed34
core ( fixes #349 ): Warn about Config::SetDefault() of deprecated attribute
2021-03-01 09:25:33 -08:00
Tommaso Pecorella
d2d5459888
core: fix trickle-timer compilation on clang gt 10
2021-02-07 10:12:44 +00:00
Tommaso Pecorella
457142a618
core: Trickle timer implementation
2021-02-06 04:47:50 +00:00
Tom Henderson
84ead2465d
core: ( fixes #302 ) Fix NormalRandomVariable cache values
...
Credit to Peter Barnes for finding bug and suggesting solution. Also
affected the GammaRandomVariable (also fixed in this pach).
2020-12-28 13:38:49 -08:00
Peter D. Barnes, Jr
11231ff23c
Complete the doxy, show parallelism of GetDefault specializations.
2020-12-22 07:08:14 -08:00
Peter D. Barnes, Jr
c631ccbac5
core: ( fixes #277 ) make Time::As() print with autoscaled unit
2020-12-22 07:08:14 -08:00
Mathew Bielejeski
d72ef6ed2f
core: ( fixes #310 ) Change Length::Unit from enum class to plain enum
...
The script to generate python bindings does not currently support
c++11 strongly typed enums (enum class).
2020-12-19 13:23:49 -08:00
Mathew Bielejeski
60f11eedb9
core: ( fixes #313 ) Manually parse input string when using libc++
...
There appears to be a bug in the libc++ implementation of istream
where it fails to extract values from strings that do not have a space
between the value and the unit symbol. This patch provides a string
parsing method that does not rely on istream.
2020-12-19 11:54:49 -08:00
Mathew Bielejeski
2cea1e4ccd
core: (merges !434 ) Length class to support length values with units
2020-12-02 20:05:29 -08:00
Peter D. Barnes, Jr
7889786c30
core: ( fixes #265 ) Time is not rounded when created from int64x64_t
2020-11-27 21:10:11 -08:00
Peter D. Barnes, Jr
2340fcf260
core: Time::RoundTo (unit) to round Time to any unit
...
Merge of !475
2020-11-27 17:59:51 -08:00
Peter D. Barnes, Jr
eb432c90a5
core: int64x64_t GetInt() and Round(), with test cases
...
Merge of !473
2020-11-27 16:54:51 -08:00
Tom Henderson
7c8776111c
core: Update Doxygen for ShowProgress class
2020-10-18 07:42:27 -07:00
Tommaso Pecorella
eeadfbb182
core: ( fixes !426 ) Align TimeWithUnit printing to the "normal" double behaviour
...
The new time printing format uses "automatic" promotion to scientific
notation - just like for normal doubles.
2020-09-30 08:37:41 +00:00