![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Definition at line 13 of file TDataFrameLibrary.h.
Public Member Functions | |
~TDataFrameLibrary () | |
TGRSIHelper * | CreateHelper (TList *list) |
void | DestroyHelper (TGRSIHelper *parser) |
void | Load () |
Static Public Member Functions | |
static TDataFrameLibrary * | AddCurrent () |
static TDataFrameLibrary * | Get (bool verbose=false) |
static TDataFrameLibrary * | GetAll () |
static void | PrintDirectory () |
static void | Set (TDataFrameLibrary *val) |
Private Member Functions | |
TDataFrameLibrary ()=default | |
TDataFrameLibrary (const TDataFrameLibrary &)=default | |
TDataFrameLibrary (TDataFrameLibrary &&)=default | |
TDataFrameLibrary & | operator= (const TDataFrameLibrary &)=default |
TDataFrameLibrary & | operator= (TDataFrameLibrary &&)=default |
Static Private Member Functions | |
static void | Compile (std::string &path, const size_t &dot, const size_t &slash) |
Private Attributes | |
TGRSIHelper *(* | fCreateHelper )(TList *) |
void(* | fDestroyHelper )(TGRSIHelper *) |
void * | fHandle {nullptr} |
Static Private Attributes | |
static TDirectory * | fDir |
static TDataFrameLibrary * | fSingleton |
Friends | |
class | TSingleton< TDataFrameLibrary > |
TDataFrameLibrary::~TDataFrameLibrary | ( | ) |
Definition at line 20 of file TDataFrameLibrary.cxx.
References fHandle.
|
privatedefault |
|
privatedefault |
|
privatedefault |
|
inlinestaticinherited |
Definition at line 141 of file TSingleton.h.
|
staticprivate |
Try and compile the provided .cxx file into a shared object library using the provided path, position of the last dot, and the position of the last slash.
The name of the parser library used is determined from it's path and used to add grsiconfig --<parser library name>-cflags
to the compile command. Other flags used are "-c -fPIC -g", root-config --cflags --glibs
, and the directory the path points to as include directory.
[in] | path | path of the .cxx file |
[in] | dot | position of the last dot (guaranteed to be after the last slash!) |
[in] | slash | position of the last slash (can be std::string::npos) |
Definition at line 80 of file TDataFrameLibrary.cxx.
References DBLUE, DCYAN, DummyFunctionToLocateTGRSIFrameLibrary(), TGRSIOptions::Get(), TGRSIOptions::ParserLibrary(), and RESET_COLOR.
Referenced by Load().
|
inline |
function to open library specific data parser
Definition at line 21 of file TDataFrameLibrary.h.
References fCreateHelper, and Load().
|
inline |
function to destroy library specific data parser
Definition at line 27 of file TDataFrameLibrary.h.
References fDestroyHelper, and Load().
|
inlinestaticinherited |
Definition at line 33 of file TSingleton.h.
|
inlinestaticinherited |
Definition at line 66 of file TSingleton.h.
void TDataFrameLibrary::Load | ( | ) |
if necessary loads shared object library and sets/initializes all other functions
Definition at line 27 of file TDataFrameLibrary.cxx.
References Compile(), TGRSIOptions::DataFrameLibrary(), dlsym, DRED, fCreateHelper, fDestroyHelper, fHandle, FileExists(), TGRSIOptions::Get(), and RESET_COLOR.
Referenced by CreateHelper(), and DestroyHelper().
|
privatedefault |
|
privatedefault |
|
inlinestaticinherited |
Definition at line 171 of file TSingleton.h.
|
inlinestaticinherited |
Definition at line 133 of file TSingleton.h.
|
friend |
Definition at line 1 of file TDataFrameLibrary.h.
|
private |
Definition at line 45 of file TDataFrameLibrary.h.
Referenced by CreateHelper(), and Load().
|
private |
Definition at line 46 of file TDataFrameLibrary.h.
Referenced by DestroyHelper(), and Load().
|
staticprivateinherited |
Definition at line 187 of file TSingleton.h.
|
private |
handle for shared object library
Definition at line 43 of file TDataFrameLibrary.h.
Referenced by ~TDataFrameLibrary(), and Load().
|
staticprivateinherited |
Definition at line 186 of file TSingleton.h.