Version 2 (modified by nenko, 16 years ago) (diff) |
---|
Analysis
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. 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.
Overview
In the first revision common commands/responses and simple program that uses them should be written.
Task requirements
- Write commands that are common for all C++ wrappers
- Write a makefile for building them (should be portable)
- Write a simple program that handles commands and respones
Task result
Task result should be source code, makefile
Implementation idea
Make a hierarchy or commands and responses. Also the C++ program that handles them should in separate class in order to reuse it.
Related
How to demo
Write Java demo that sends commands to the C++ wrapper and log the communication
Design
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)