Hi Martin

> I want to add some functionality to my app as a plugin - so the user can add 
> features at runtime.
> It just needs to take a tree of nodes and some other data (possibly as an XML 
> string) and do something to the nodes, or return a result xml string.

I cannot tell a tutorial on ogs plugins ( though the system is quite
well developed )

but could offer two general tutorials which will allow you to develop
your own general purpose plugin system

first link begins with basics then ends up with template version
second extends template idea even further.
( you may also add defines to different versions of you plugin system
using LoadLibrary and linux dlopen see
http://www.codeproject.com/KB/architecture/plat_ind_coding.aspx )

http://www.flipcode.com/archives/Adding_Plug-ins_To_Your_Application.shtml
http://www.nuclex.org/articles/building-a-better-plugin-architecture

Regards
Sergey
http://www.hmelyoff.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to