• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dawagner / parameter-framework / 295
0%
master: 78%

Build:
Build:
LAST BUILD BRANCH: integerparam-template
DEFAULT BRANCH: master
Ran 29 Sep 2015 01:56PM UTC
Jobs 2
Files 233
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
295

push

travis-ci

David Wagner
Rework the plugin entry-point API to be a well-known symbol name

The plugins' entry-point used to be a symbol which name was constructed based
on the library name but the Parameter Framework was trying to deduce it based
on how library files are usually named on Linux, i.e. prefixed with "lib", then
the soname, then ".so".

This is not always true on Linux and this is usually false on Windows.

Also, if the API of this symbol changes, there is no way to know at
compile-time.

Which is why this rework introduces a macro to be used by plugins. This macro
is the name of the entry-point symbol to be declared by plugins and will be
retrieved by the Parameter Framework.

TODO: mention Plugin.h and the fact that plugins should include it - it also
declares the symbol as public (i.e. to be exported)

For now, we only support one API version at a time: if the API changes from V1
to V2, the plugins won't compile and the Parameter Framework won't recognize
previously-compiled plugins using V1. If we want backward-compatibility, we can
add it later by declaring both macros (V1 and V2) and trying to find the symbol
corresponding to V1 if the symbol corresponding to V2 can't be found.

The first name of the macro is: PARAMETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1

Implementation detail: the implementation is split between SubsystemLibrary and
SystemClass: everything the plugin needs to know is put under SubsystemLibrary
and the rest under SystemClass - which is the class responsible for loading the
plugins.

Signed-off-by: David Wagner <david.wagner@intel.com>

4820 of 6605 relevant lines covered (72.98%)

3473.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 295.1 29 Sep 2015 01:57PM UTC 0
72.98
Travis Job 295.1
2 295.2 29 Sep 2015 01:56PM UTC 0
0.0
Travis Job 295.2
Source Files on build 295
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #295
  • 4d7240ef on github
  • Prev Build on rework-plugin-entrypoint-api (#285)
  • Next Build on rework-plugin-entrypoint-api (#296)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc