views:

318

answers:

3

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

+1  A: 

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

Tim Krüger
+1  A: 

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 at github.com/commontk/CTK in the PluginFramework library (based on Qt Core).

Sascha
+1  A: 

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.

KeyserSoze