| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=GROUP_WRAPPERS_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | Will write native wrappers of portable libraries that can be used in Sophie2 for exotic purposes (media, embedded browser, flash player, etc.). By native wrappers I mean C++ programs that will read commands (sequences of integers) from their standard input and send responses (sequences of integers) to their standard output. These C++ programs should be built for every platform we support and will be invoked with Java code. |
| 7 | These C++ wrappers will share code - common commands and responses and a simple program that handles them. This common code should be written once and reused, not copy-pasted in every specific wrapper. |
| 8 | |
| 9 | == Overview == |
| 10 | In the first revision common commands/responses and simple program that uses them should be written. |
| 11 | |
| 12 | == Task requirements == |
| 13 | * Write commands that are common for all C++ wrappers |
| 14 | * Write a makefile for building them (should be portable) |
| 15 | * Write a simple program that handles commands and respones |
| 16 | |
| 17 | == Task result == |
| 18 | Task result should be source code, makefile |
| 19 | |
| 20 | == Implementation idea == |
| 21 | Make a hierarchy or commands and responses. Also the C++ program that handles them should in separate class in order to reuse it. |
| 22 | |
| 23 | == Related == |
| 24 | |
| 25 | |
| 26 | == How to demo == |
| 27 | Write Java demo that sends commands to the C++ wrapper and log the communication |
| 28 | |
| 29 | = Design = |
| 30 | ^(Describe your design here.)^ |
| 31 | |
| 32 | = Implementation = |
| 33 | ^(Describe and link the implementation results here (from the wiki or the repository).)^ |
| 34 | |
| 35 | = Testing = |
| 36 | ^(Place the testing results here.)^ |
| 37 | |
| 38 | = Comments = |
| 39 | ^(Write comments for this or later revisions here.) |