[osg-users] [ANN] [General Purpose CPP Graphical Introspection]

Julien Valentin julienvalentin51 at gmail.com
Tue Nov 3 04:56:51 PST 2015


Hello  all

My basic idea was to use QT wrapping in order to do create and call method object at runtime as cppintrospection [google.fr]…
But QML seamed quite promising in order to bring both wrapping and graphical boxing

So I develop some kind of preprecompiler (before moc so I called it pmoc) that read cpp headers and generates customisable QMLplugin code
 
pmoc aims toward C++ runtime graphical manipulation throws:
*javascript
*and QML
It generates stubs and skeletons of customizable Qt Components to describe the logic of your libraries in a common graphical environment.

pmoc features:
-Native object boxing (put native object in QT boxes)
-javascript/QML method wrapping
-Nodal logic ( via config file:copy/paste+fx ambiguities leverage)
-Pointer life cycle ( via config file,ex: handle ref_pointer/normalpointer)
-Multiple inheritance via delegation

pmoc limitations:
-no polymorphism in javascript
-no macro parsing
-template are not handled

PMOC trial version for MSVC2013
https://github.com/mp3butcher/osg4noob/blob/master/pmoc-beta-libbuiltQt5.5-msvc2013-trial.zip?raw=true

I tried to explain a test case applying code generation to OpenSceneraph library (the so called osg4noob) on the following website but it’s not very technically detailled….(and written in French)
(Videos are not up to date...I recently added a javascript console) 
http://osg4noob.olympe.in

Here are sources:
https://github.com/mp3butcher/osg4noob/ (https://github.com/mp3butcher/osg4noob/) 

So the purpose of the underlying tool (pmoc) is not restricted to osg but almost all cpp libraries

And before you tell it “Yes, the GUIs are ugly” because osg is my testbench and I have lower level things to do ( like improving the generated code for ex…)

Here’s an external reference about something near to what i’m doing (https://www.qtdeveloperdays.com/2013/sites/default/files/presentation_pdf/QtDevDaysSFO-2013_WrappingCppForQml_final.pdf)
And if anyone knows how to raise money for this project, it would be very nice. 


Best regards,
Julien




kornerr wrote:
> Hi.
> 
> Please, add screenshots, video and some information. Currently there's not enough motivation even to click the project link.
> 
> 
> 2015-11-03 10:03 GMT+07:00 Julien Valentin < ()>:
> 
> > Here's sources
> > https://github.com/mp3butcher/osg4noob/ (https://github.com/mp3butcher/osg4noob/) [/url]
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=65519#65519 (http://forum.openscenegraph.org/viewtopic.php?p=65519#65519)
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > 
> 
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65534#65534








More information about the osg-users mailing list