Commit Graph

1309 Commits

Author SHA1 Message Date
Mathieu Lacage
fa4bcd0cd4 make sure to get to the parent during trace resolution 2007-08-28 11:20:55 +02:00
Mathieu Lacage
8acd0300cd keep track of trace source help strings 2007-08-28 11:01:00 +02:00
Mathieu Lacage
65f12f1df5 replace TraceResolver::PrintAvailable with TraceResolver::CollectSources 2007-08-28 09:37:10 +02:00
Mathieu Lacage
95c06276cf add TraceResolver::CollectSources 2007-08-27 20:46:10 +02:00
Mathieu Lacage
403ece5588 add TraceContext::IsSimilar 2007-08-27 20:45:49 +02:00
Mathieu Lacage
fce27dc4de add TraceResolver::PrintAvailable method 2007-08-27 20:25:15 +02:00
Mathieu Lacage
b41cef3631 add TraceContext::PrintAvailable 2007-08-27 16:02:55 +02:00
Mathieu Lacage
3eeae90472 replace enum with virtual class and subclasses 2007-08-27 15:34:57 +02:00
Mathieu Lacage
e366a6eed4 remove dead code 2007-08-27 15:07:39 +02:00
Mathieu Lacage
90c8be1fa3 add TraceContextElement::GetName method 2007-08-27 14:59:50 +02:00
Mathieu Lacage
669ce539dd cleanup a bit 2007-08-27 14:06:11 +02:00
Mathieu Lacage
ccef3f6d9f remove TraceRoot 2007-08-27 13:36:40 +02:00
Mathieu Lacage
c1b38a9203 rename TraceContext::Add to AddElement and Union 2007-08-27 13:21:59 +02:00
Mathieu Lacage
3f159872c0 add operator << for Packet and TraceContext 2007-08-27 13:15:27 +02:00
Mathieu Lacage
9a836af0d0 add image path 2007-08-27 13:15:13 +02:00
Mathieu Lacage
6f9ab0dea5 move includes down to where they are really needed 2007-08-12 22:45:24 +02:00
Mathieu Lacage
f90c3d0350 more tests 2007-08-12 22:44:21 +02:00
Mathieu Lacage
66d375b3b3 add forgotten virtual keyword 2007-08-12 22:44:12 +02:00
Mathieu Lacage
233d71fec7 CompositeTraceResolver::Add -> CompositeTraceResolver::AddSource 2007-08-12 22:31:16 +02:00
Mathieu Lacage
14f3f82555 remove useless code 2007-08-12 22:24:45 +02:00
Mathieu Lacage
22fec82616 replace CallbackTraceSourceBase with TraceSource base class 2007-08-12 22:23:08 +02:00
Mathieu Lacage
fcfdb18914 add some debugging for disconnect 2007-08-12 21:23:55 +02:00
Mathieu Lacage
23d17d56e9 test object-based tracing 2007-08-12 21:23:40 +02:00
Mathieu Lacage
4d50d21f78 rewrite tests with test.h macros 2007-08-12 21:08:28 +02:00
Mathieu Lacage
722285bd8f rewrite Object tests with test.h macros 2007-08-12 18:43:15 +02:00
Mathieu Lacage
2bd8f97709 add NS_TEST_ASSERT_UNEQUAL 2007-08-12 18:37:38 +02:00
Mathieu Lacage
b4aae47556 replace the adhoc mobility course change callbacks with a trace source 2007-08-12 18:28:37 +02:00
Mathieu Lacage
1d546dbd83 an untested interface id trace resolver 2007-08-12 18:28:13 +02:00
Mathieu Lacage
9fbb2607a1 use the abstract base of CallbackTraceSource to avoid pushing too much code in the header 2007-08-12 18:27:52 +02:00
Mathieu Lacage
442d4c9e35 add an abstract base to CallbackTraceSource 2007-08-12 18:27:30 +02:00
Mathieu Lacage
de7999c932 constify 2007-08-12 18:00:15 +02:00
Mathieu Lacage
03cf88211e constify 2007-08-12 17:59:56 +02:00
Mathieu Lacage
ec4d9bbcb9 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code 2007-08-12 16:28:29 +02:00
Mathieu Lacage
2df1260c87 remove const keyword and add a TraceConnect method which takes a TraceContext argument 2007-08-12 16:27:42 +02:00
Mathieu Lacage
6e762c1ae3 the TerminalTraceResolver is not used anymore by the CompositeTraceResolver implementation 2007-08-12 16:26:53 +02:00
Mathieu Lacage
2db3a828d6 rewrite the CompositeTraceResolver to use a simpler implementation, not based on callbacks 2007-08-12 16:26:25 +02:00
Mathieu Lacage
c62cf3c82d rewrite the ArrayTraceResolver to use iterators 2007-08-12 16:25:19 +02:00
Mathieu Lacage
1124cf3a03 add Object::TraceConnect, TraceDisconnect, and GetTraceResolver methods 2007-08-10 16:05:20 +02:00
Mathieu Lacage
3691c3cc98 fix includes 2007-08-10 15:57:33 +02:00
Mathieu Lacage
072734f7e8 move trace code to core module 2007-08-10 15:53:43 +02:00
Mathieu Lacage
0b34c336f7 convert TraceResolver * to Ptr<TraceResolver> 2007-08-10 15:47:13 +02:00
Mathieu Lacage
6b64959309 avoid problems by converting back and forth between pointers and references 2007-08-10 15:47:00 +02:00
Mathieu Lacage
704cab010d remove dead code 2007-08-10 15:08:50 +02:00
Mathieu Lacage
3153bfd916 add refcounting to TraceResolver 2007-08-10 14:43:15 +02:00
Mathieu Lacage
493c34dfb9 remove dead code 2007-08-10 14:28:52 +02:00
Mathieu Lacage
346cdbfb18 override Connect from ArrayTraceResolver 2007-08-10 14:25:58 +02:00
Mathieu Lacage
cb9fdc66e3 override Connect and Disconnect in Composite and Terminal Trace resolvers 2007-08-10 14:14:29 +02:00
Mathieu Lacage
07aedd4bb2 allow resolvers to override Connect and Disconnect directly 2007-08-10 14:13:47 +02:00
Mathieu Lacage
e683e1ab1c remove TraceContext argument from TraceResolver constructor and move it to Connect 2007-08-09 21:25:23 +02:00
Mathieu Lacage
23a116b96e merge with win32 tree 2007-08-09 13:42:42 +02:00