#include <QtRootController.h>
Collaboration diagram for QtRootController:
ROOT is not thread safe, so this is necessary to avoid the application thread and Python thread from clashing.
Definition at line 38 of file QtRootController.h.
Public Member Functions | |
PyDataSource * | createDataArray (const std::string &filename, const std::string &treename) |
Creates a PyDataSource wrapper to the RootNTuple object. | |
DataSource * | createNTuple (const std::string &filename, const std::string &treename) |
Creates a QtRootNTuple wrapper for RootNTuple object. | |
const std::vector< std::string > & | getNTupleNames (const std::string &filename) |
Returns the names of the top level tree in the Root file. | |
Static Public Member Functions | |
static QtRootController * | instance () |
The singleton instance method. | |
Private Member Functions | |
QtRootController (const QtRootController &) | |
The copy constructor, protected from being used. | |
QtRootController () | |
The default constructor, protected from being used. | |
Static Private Attributes | |
static RootController * | m_instance = 0 |
The singleton RootController object. | |
static QtRootController * | s_instance = 0 |
The singleton QtRootController instance. |
|
The default constructor, protected from being used.
Definition at line 27 of file QtRootController.cxx. Referenced by instance(). |
|
The copy constructor, protected from being used.
|
|
Creates a PyDataSource wrapper to the RootNTuple object.
Definition at line 75 of file QtRootController.cxx. References createNTuple(). Referenced by hippodraw::Python::export_RootController(). |
|
Creates a QtRootNTuple wrapper for RootNTuple object.
Definition at line 45 of file QtRootController.cxx. References DataSourceController::instance(), and m_instance. Referenced by createDataArray(), and hippodraw::Python::export_RootController(). |
|
Returns the names of the top level tree in the Root file.
Definition at line 86 of file QtRootController.cxx. References m_instance. Referenced by hippodraw::Python::export_RootController(). |
|
The singleton instance method.
Definition at line 33 of file QtRootController.cxx. References RootController::instance(), m_instance, QtRootController(), and s_instance. Referenced by hippodraw::Python::export_RootController(). |
|
The singleton RootController object.
Definition at line 23 of file QtRootController.cxx. Referenced by createNTuple(), getNTupleNames(), and instance(). |
|
The singleton QtRootController instance.
Definition at line 24 of file QtRootController.cxx. Referenced by instance(). |