INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
Miscelaneous notes on writing Orca code with Ice.
Ice utility slice2cpp can generate implementation skeletons from *.ice files. We don't do it because they would then be compiled and included (unnecessarily) with libOrcaInterfaces library. So if you need to implement an interface, e.g. Home, you can generate a skeletion like this: $ cd <ORCA_SRC>/src/interfaces/slice/orca $ slice2cpp -I<ORCA_SRC>/src/interfaces/slice/ -I<ICE_SLICE_HOME> --impl home.ice $ ls home* home.cpp home.h home.ice homeI.cpp homeI.h Where ICE_SLICE_HOME location depends on how Ice was installed. Ice's standard installation puts it into In the directory you can see 4 generated files: homeI.h and homeI.cpp are the skeletons. Move them to your component directory and delete home.h and home.cpp. There are 2 modifications to the files you'll have to make:
You'll need $ cd <ORCA_SRC>/doc $ doxyorca orca.doxyfile $ konqueror html/index.html & |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)