Ashika Umanga Umagiliya
Ashika Umanga Umagiliya

Reputation: 9178

C++ modularization framework (like OSGi) ?

I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in C++ ?

Upvotes: 8

Views: 6412

Answers (7)

user3658739
user3658739

Reputation: 87

Apache Celix is an OSGi implementation for C and C++ http://celix.apache.org/

Upvotes: 0

Langley
Langley

Reputation: 497

Checkout cppmicroservices. It is actively developed and provides a reasonable starting point for creating an SOA based dynamic services in C++.

Upvotes: 1

Langley
Langley

Reputation: 497

I found this write-up which gives a status as of April 2012. Definitely worth reviewing OSGi and C++ frameworks overview.

Upvotes: 5

Sascha
Sascha

Reputation: 1114

There is also BlueBerry http://www.blueberry-project.org which implements a component based framework inspired by OSGi. It also comes with an application framework similar to the Eclipse RCP.

A rewrite of the BlueBerry core can be found in the CTK PluginFramework library (based on Qt Core): Introduction, GitHub Code .

Upvotes: 4

JoshL
JoshL

Reputation: 141

The authors of the open source Portable Components library (POCO) have also developed a modular framework based on OSGI called OSP or Open Service Platform. http://www.appinf.com/en/products/osp.html. It's not open source however.

Upvotes: 5

KeyserSoze
KeyserSoze

Reputation: 2511

I've never seen a solution to the whole problem, but I implemented something similar using Qt plugins.

The part Qt did nicely (that C++ by itself doesn't implement) was handling C++ OO interfaces in dynamically loadable modules. Because of C++ name-mangling being non-standard, usually DLLs don't have C++ interfaces, only C interfaces. Qt did it with it's meta-object system, and it worked really cleanly for me.

Upvotes: 2

Tim
Tim

Reputation: 2831

The OSGi4Cpp tries to implement the OSGi specification in C++.

Upvotes: 2

Related Questions