Re: plugins

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Fri, 19 Nov 2010 10:32:21 +0100


Hi Egon,

  to tell the plugin manager about the plugins see the $ROOTSYS/etc/plugins directory. In the directory for the base class you see scripts that provide plugin descriptions for the plugins, plugin name, lib name, etc.

To specify an additional plugin path add in your ~/.rootrc file, like:

Unix.*.Root.PluginPath: $HOME/.root/plugins:$(ROOTSYS)/etc/plugins:

Cheers, Fons.

On 19/11/2010 00:22, Egon.Pavlica_at_ung.si wrote:
> Dear ROOTers,
>
> I need a plugin manager for one my class and its children. I want that i
> create a class at runtime. I was looking how TVirtualFFT is doing it with
> TPluginManager. There however, i dont understand, how FindHandler knows,
> which shared library to load for specific class creator.
>
> I see TVirtualFFT plugins with gPluginMgr->Print() only when i launch
> e.g.: gROOT->GetPluginManager()->FindHandler("TVirtualFFT","fftwc2r")
> in rootcint.
>
> Thanks + Best regards,
> Egon Pavlica
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Fri Nov 19 2010 - 10:32:26 CET

This archive was generated by hypermail 2.2.0 : Fri Nov 19 2010 - 11:50:01 CET