Mathieu Lacage
96698c5783
In some cases, when an event is scheduled against a subclass of Object, and if no one owns a reference directly to this object, the object is alive, has a refcount of zero and the method ran when the event expires runs against the raw pointer which means that we are manipulating an object with a refcount of zero. So, we must disable this check. This is really evil but I see no way to work around this.
2007-07-03 17:05:23 +02:00
Mathieu Lacage
038bc809cb
add operator << (std::ostream)for Ptr<T>
2007-07-03 16:11:40 +02:00
Mathieu Lacage
71d559e1f2
add dirtyness tracking to DefaultValueBase
2007-07-03 13:19:09 +02:00
Mathieu Lacage
184d929521
parse command-line arguments
2007-07-03 12:36:01 +02:00
Mathieu Lacage
5e975db36e
a bunch of new DefaultValue subclasses
2007-07-03 12:34:26 +02:00
Mathieu Lacage
9a89cf1978
change GridTopology API and add RandomRectangle topology with similar API.
2007-07-03 10:04:16 +02:00
Mathieu Lacage
94c1f03300
test random walk position model with grid topology
2007-07-03 09:15:20 +02:00
Mathieu Lacage
872df4e54e
RandomWalk is a Position
2007-07-03 08:56:40 +02:00
Mathieu Lacage
5fdde955b3
change default values and add some debugging
2007-07-03 08:54:37 +02:00
Emmanuelle Laprise
826d8e0303
Removed the const after the DoAddDevice function because it is used to
...
add a callback on the packet receive function. But, in some cases (ie
ethernet learning), it is going to be needed to have a non-const
function that is called on packet reception.
2007-07-02 19:59:40 -05:00
Mathieu Lacage
3f87b85886
add cid/iid support to RandomWalk
2007-07-02 20:25:25 +02:00
Mathieu Lacage
af6777397c
rename GridTopology::Create to GridTopology::ArrangeHorizontally
2007-07-02 20:17:06 +02:00
Mathieu Lacage
2f29b73496
improve grid topology sample code and add dox documentation
2007-07-02 20:12:01 +02:00
Mathieu Lacage
7bed39940e
merge with head
2007-07-02 19:47:03 +02:00
Mathieu Lacage
5625551898
append correct unit when printing Time objects
2007-07-02 19:44:18 +02:00
Gustavo J. A. M. Carneiro
fd479088ec
WAF scripts update
2007-07-02 18:23:52 +01:00
Mathieu Lacage
c14499b211
add dox documentation
2007-07-02 18:14:20 +02:00
Mathieu Lacage
57b5993f8d
add dox documentation
2007-07-02 18:12:27 +02:00
Mathieu Lacage
2f8fdae0db
increase sample simulation run
2007-07-02 15:28:28 +02:00
Mathieu Lacage
e57869a38e
add some debugging output. initialize the time argument correctly.
2007-07-02 15:27:53 +02:00
Mathieu Lacage
e4d291802b
make the sample code actually do something
2007-07-02 15:15:25 +02:00
Mathieu Lacage
77eb4ec65a
improve sample code, make it build
2007-07-02 15:08:10 +02:00
Mathieu Lacage
d27798e797
rework the notification mechanism to allow its optional use with every position model
2007-07-02 14:57:19 +02:00
Mathieu Lacage
fca6b52fba
random walk position model (untested)
2007-07-02 14:07:51 +02:00
Mathieu Lacage
04ebac2279
forgot to add TypeName implementation for float and double
2007-07-02 14:07:27 +02:00
Mathieu Lacage
fb968dccdf
forgot to add missing constructor implementation
2007-07-02 14:02:57 +02:00
Mathieu Lacage
1271ada6e1
TimeDefaultValue class
2007-07-02 14:02:02 +02:00
Mathieu Lacage
7a86a8a8e7
make default constructor private to avoid potential problems
2007-07-02 14:01:49 +02:00
Mathieu Lacage
e9ee638ae9
grid topology
2007-07-02 12:14:24 +02:00
Mathieu Lacage
965e14c3f9
add cid support
2007-07-02 12:14:12 +02:00
Mathieu Lacage
a2ca638f47
add cid support to position subclasses
2007-07-02 11:29:54 +02:00
Mathieu Lacage
0197e59eb1
DoSet should not be const
2007-07-02 11:29:27 +02:00
Mathieu Lacage
418adb52a4
add Position::DoSet et al.
2007-07-02 10:50:18 +02:00
Mathieu Lacage
8894524474
add floating point support to type names
2007-07-02 10:50:07 +02:00
Unknown
8b7716b380
Add payload size to UDP
2007-07-01 00:35:59 -07:00
Unknown
96a92d230e
more verbose commenting of the sample
2007-07-01 00:21:14 -07:00
Mathieu Lacage
6ec6318d5f
position models
2007-06-29 09:41:37 +02:00
Mathieu Lacage
bedbfd18d7
add dox doc for header and trailer PrintTo and DoGetName
2007-06-29 08:18:16 +02:00
Craig Dowell
a5e90a8dea
test
2007-06-28 14:54:42 -07:00
Craig Dowell
b22e98aa01
test
2007-06-28 14:39:56 -07:00
Craig Dowell
89ea0a9911
test
2007-06-28 14:29:46 -07:00
Mathieu Lacage
2756732458
add more internal documentation
2007-06-28 13:59:51 +02:00
Mathieu Lacage
3bb28c049f
test and fix backward printing
2007-06-28 13:43:27 +02:00
Mathieu Lacage
ce57b5d156
more asserts, add failing tests, fix them
2007-06-28 13:01:40 +02:00
Mathieu Lacage
23f4e85f87
fix basic tests, add new test, add a bunch of asserts, add XXX comment
2007-06-28 12:29:21 +02:00
Mathieu Lacage
b937ec5a87
add failing assert
2007-06-28 12:00:00 +02:00
Mathieu Lacage
103a2527ce
use pretty printing in ascii output
2007-06-28 11:52:50 +02:00
Mathieu Lacage
18e53720d1
change arp pretty printing to new format
2007-06-28 11:52:16 +02:00
Mathieu Lacage
35f80fc5c3
modify sample packet printer to use ipv4 and udp headers
2007-06-28 11:48:37 +02:00
Mathieu Lacage
993dc85f8f
change default pretty printing output format, add doc to metadata data structures
2007-06-28 11:07:38 +02:00