Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||
---|---|---|
| ||
echo INTROOT=~/workspace/introot >> ~/.bashrc |
...
Create IDL directory and fileFirst we create the directory for the IDL:
Code Block | ||
---|---|---|
| ||
getTemplateForDirectory MODROOT_WS idlHelloComp cd idlHelloComp/src touch ../idl/HelloComponent.idl sudo nano ../idl/HelloComponent.idl |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#ifndef _HELLOCOMPONENT_IDL_ #define _HELLOCOMPONENT_IDL_ #pragma prefix "acsws" #include <acscomponent.idl> module workshop { interface HelloComponent : ACS::ACSComponent { string printHello(); }; }; #endif |
We modify add our component's IDL to the Makefile:
Code Block | ||
---|---|---|
| ||
... IDL_FILES = HelloComponent HelloComponentStubs_LIBS = acscomponentStubs ... COMPONENT_HELPERS=on ... |
...