18int LoadCanvasPainterLibraryOnce() {
19 static int loadResult =
gSystem->
Load(
"libROOTCanvasPainter");
24void LoadCanvasPainterLibrary() {
25 static int loadResult = LoadCanvasPainterLibraryOnce();
38 static std::unique_ptr<Generator> generator;
45 LoadCanvasPainterLibrary();
48 throw std::runtime_error(
"RVirtualCanvasPainter::Generator failed to initialize");
#define R__LOG_ERROR(...)
R__EXTERN TSystem * gSystem
virtual ~Generator()
Default destructor.
static std::unique_ptr< Generator > & GetGenerator()
generator getter
virtual ~RVirtualCanvasPainter()
Default destructor.
static std::unique_ptr< RVirtualCanvasPainter > Create(RCanvas &canv)
Loads the plugin that implements this class.
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
RLogChannel & GPadLog()
Log channel for GPad diagnostics.
void(off) SmallVectorTemplateBase< T