[Ctk-developers] service-based plugin communication

Christian Askeland christian.askeland at gmail.com
Sun Jan 25 22:54:25 UTC 2015


Hi Yusuf,

Yes, what you are trying to do is possible.

Do you have both the service interface and the service implementation in
plugin B?

The library containing the service interface (containing virtual functions)
must be linked into plugin A.
The service implementation must be created from the start() method of the
ctkPluginActivator in plugin B, and also be linked into plugin B.

In my application, we prefer to define the interfaces in normal libs, and
defining the implementation in the plugins.

Best Regards

Christian Askeland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20150125/7b8cea5a/attachment.htm>


More information about the Ctk-developers mailing list