Wiki » History » Version 18

J.-C. Seele, 09/28/2010 04:08 PM

1 1 S. Wrede
h1. Wiki
2 1 S. Wrede
3 1 S. Wrede
h2. Dependencies
4 1 S. Wrede
5 1 S. Wrede
* RSC, see RSC Project at Code.CoR-Lab
6 1 S. Wrede
* boost::uuid (can be installed from GAR installer, contrib/boost.uuid or is contained in newer boost versions)
7 1 S. Wrede
* boost::threadpool (can be installed from GAR installer, contrib/boost.threadpool, will probably be replaced by RSC threadpool implementation)
8 1 S. Wrede
* spread for spread port (lucid ubuntu package does not work as it is still an old version, can be installed through GAR installer, contrib/spread)
9 3 J. Wienke
* Google protocol buffers (lucid ubuntu package works, can also be installed from GAR installer, contrib/protobuf)
10 4 J. Wienke
* Doxygen for documentation generation (ubuntu package)
11 4 J. Wienke
* lcov for coverage report (ubuntu package)
12 6 J.-C. Seele
13 6 J.-C. Seele
14 11 J.-C. Seele
h2. Questions/Annotations concerning the Tutorials (by Jens)
15 6 J.-C. Seele
16 6 J.-C. Seele
17 12 J.-C. Seele
h3. Subscribe Tutorial:
18 12 J.-C. Seele
19 13 J.-C. Seele
*RsbImageImportPlugin::Init()*
20 13 J.-C. Seele
21 13 J.-C. Seele
* If you don't know boost very well, you don't know how to handle that pointers to Subscriber and Subscription, I guess. E.g. how to initialize them.
22 13 J.-C. Seele
* At the moment, if I pretend to be dumb, I have NO CLUE, what a QueuePushHandler is good for, what it does and the forth. Same is for AbstractFilterPtr. I also don't really know, why I should always use these boost_shared_ptrs....
23 13 J.-C. Seele
* The whole typedef thing is pretty hairy, I guess. At least for people with less experience in C++.
24 18 J.-C. Seele
* The whole casting of QueuePushHandler which is of type DataHandler to type Handler is very convoluted. How do I get the idea, that the Handler, I have to append to the Subscription is the superclass of DataHandler which is the superclass of QueuePushHandler without dwelving into the depths of the RSB-hierarchies? I hope there is a diagram or something, in which all of these components show up in relation to each other.
25 13 J.-C. Seele
* *ALL IN ALL:* I don't think I would be able to solve this first task very fast. I think I could work on it for at least an hour or two. And it would make me mad. This is because of the pointer madness, mostly. I think it is necessary to make clear, what the whole relation between Handlers, Subscriber and Subscriptions (and Filters) looks like. A code example should be provided, also.
26 13 J.-C. Seele
27 13 J.-C. Seele
*RsbImageImportPlugin::Process()*
28 13 J.-C. Seele
29 14 J.-C. Seele
* this maybe stupid, but my first idea was to do something with the plugdata. Maybe, because I don't got the idea at first to use that imageQueue. On the second look, it is totally clear to just pop the queued image.... ;)
30 13 J.-C. Seele
31 12 J.-C. Seele
32 12 J.-C. Seele
33 6 J.-C. Seele
h3. Publish Tutorial:
34 6 J.-C. Seele
35 10 J.-C. Seele
*Class: rsb::Publisher*
36 6 J.-C. Seele
37 11 J.-C. Seele
* What is the Publisher doing? Seems to be clear, but I have no *real* clue. What does the communication 'pipeline' looks like?
38 11 J.-C. Seele
* I do not understand the typedefs, because I am not into C++ very well. So I have no clue, how to start the tutorial and what is meant by Pointer and Datapointer (in comparison to each other). Maybe the Pointer points to the Publisher and the DataPointer to the data of it?! But afterall, why do I need Pointers? It would be nice, if these two typedefs would be explained. E.g. what they do, where the difference is, what you can use them for.
39 11 J.-C. Seele
* I think I would not have the idea to use the reset() method of boost_shared_ptr to initialize the publisher. Same holds for the event.
40 15 J.-C. Seele
* *ALL IN ALL:* Mostly the same problems as above. Again: There is some knowledge of C++ needed, to do this.
41 16 J.-C. Seele
42 16 J.-C. Seele
*RSBIceWingExportPlugin::Process()*
43 16 J.-C. Seele
44 16 J.-C. Seele
* Why not use event->data() for plotting the event data in the window?