C++ modularization framework (like OSGi) ?
Asked Answered
P

7

8

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

Pinwork answered 13/4, 2010 at 5:12 Comment(0)
G
2

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

Gerius answered 7/7, 2010 at 10:2 Comment(2)
osgi4cpp is a dead project - never had any activity on it.Declivitous
indeed, this is the least usefull of all the answers to this questionHeshum
N
5

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.

Nga answered 11/12, 2010 at 16:17 Comment(0)
F
5

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

Fundamentalism answered 4/6, 2012 at 14:32 Comment(0)
A
4

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 .

Africanist answered 20/7, 2010 at 23:0 Comment(0)
G
2

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

Gerius answered 7/7, 2010 at 10:2 Comment(2)
osgi4cpp is a dead project - never had any activity on it.Declivitous
indeed, this is the least usefull of all the answers to this questionHeshum
C
2

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.

Crystallo answered 20/7, 2010 at 23:8 Comment(1)
the CTK Plugin Framework uses the QT plugin system, as is described in the blog post that @Fundamentalism linked to.Heshum
F
1

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

Fundamentalism answered 13/2, 2015 at 15:10 Comment(0)
J
0

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

Josefajosefina answered 8/12, 2017 at 4:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.