![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
Definition at line 10 of file TParserLibrary.h.
Public Member Functions | |
~TParserLibrary () | |
TDataParser * | CreateDataParser () |
TRawFile * | CreateRawFile (const std::string &file) |
void | DestroyDataParser (TDataParser *parser) |
void | DestroyRawFile (TRawFile *file) |
std::string | LibraryVersion () |
void | Load () |
Static Public Member Functions | |
static TParserLibrary * | AddCurrent () |
static TParserLibrary * | Get (bool verbose=false) |
static TParserLibrary * | GetAll () |
static void | PrintDirectory () |
static void | Set (TParserLibrary *val) |
Private Member Functions | |
TParserLibrary ()=default | |
TParserLibrary (const TParserLibrary &)=default | |
TParserLibrary (TParserLibrary &&) noexcept=default | |
TParserLibrary & | operator= (const TParserLibrary &)=default |
TParserLibrary & | operator= (TParserLibrary &&) noexcept=default |
Private Attributes | |
TDataParser *(* | fCreateDataParser )() |
TRawFile *(* | fCreateRawFile )(const std::string &) |
void(* | fDestroyDataParser )(TDataParser *) |
void(* | fDestroyRawFile )(TRawFile *) |
void * | fHandle {nullptr} |
void(* | fInitLibrary )() |
std::string(* | fLibraryVersion )() |
Static Private Attributes | |
static TDirectory * | fDir |
static TParserLibrary * | fSingleton |
Friends | |
class | TSingleton< TParserLibrary > |
TParserLibrary::~TParserLibrary | ( | ) |
Definition at line 14 of file TParserLibrary.cxx.
References fHandle.
|
privatedefault |
|
privatedefault |
|
privatedefaultnoexcept |
|
inlinestaticinherited |
Definition at line 141 of file TSingleton.h.
|
inline |
function to open library specific data parser
Definition at line 31 of file TParserLibrary.h.
References fCreateDataParser, and Load().
Referenced by TUnpackingLoop::TUnpackingLoop().
|
inline |
function to open library specific raw data file
Definition at line 18 of file TParserLibrary.h.
References fCreateRawFile, and Load().
Referenced by TGRSIint::OpenRawFile().
|
inline |
function to destroy library specific data parser
Definition at line 37 of file TParserLibrary.h.
References fDestroyDataParser, and Load().
|
inline |
function to destroy library specific raw data file
Definition at line 24 of file TParserLibrary.h.
References fDestroyRawFile, and Load().
|
inlinestaticinherited |
Definition at line 33 of file TSingleton.h.
Referenced by TUnpackingLoop::TUnpackingLoop(), TGRSIint::ApplyOptions(), TGRSIProof::LoadLibsIntoProof(), TGRSIint::OpenRawFile(), and TGRSISelector::SlaveBegin().
|
inlinestaticinherited |
Definition at line 66 of file TSingleton.h.
|
inline |
returns version of shared object library loaded
Definition at line 44 of file TParserLibrary.h.
References fLibraryVersion, and Load().
void TParserLibrary::Load | ( | ) |
if necessary loads shared object library and sets/initializes all other functions
Definition at line 21 of file TParserLibrary.cxx.
References dlsym, DRED, fCreateDataParser, fCreateRawFile, fDestroyDataParser, fDestroyRawFile, fHandle, FileExists(), fInitLibrary, fLibraryVersion, TGRSIOptions::Get(), TGRSIOptions::ParserLibrary(), RESET_COLOR, TRunInfo::SetLibraryPath(), and TRunInfo::SetLibraryVersion().
Referenced by TGRSIint::ApplyOptions(), CreateDataParser(), CreateRawFile(), DestroyDataParser(), DestroyRawFile(), LibraryVersion(), TGRSIProof::LoadLibsIntoProof(), and TGRSISelector::SlaveBegin().
|
privatedefault |
|
privatedefaultnoexcept |
|
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 TParserLibrary.h.
|
private |
Definition at line 66 of file TParserLibrary.h.
Referenced by CreateDataParser(), and Load().
|
private |
Definition at line 63 of file TParserLibrary.h.
Referenced by CreateRawFile(), and Load().
|
private |
Definition at line 67 of file TParserLibrary.h.
Referenced by DestroyDataParser(), and Load().
|
private |
Definition at line 64 of file TParserLibrary.h.
Referenced by DestroyRawFile(), and Load().
|
staticprivateinherited |
Definition at line 187 of file TSingleton.h.
|
private |
handle for shared object library
Definition at line 58 of file TParserLibrary.h.
Referenced by ~TParserLibrary(), and Load().
|
private |
Definition at line 60 of file TParserLibrary.h.
Referenced by Load().
|
private |
Definition at line 61 of file TParserLibrary.h.
Referenced by LibraryVersion(), and Load().
|
staticprivateinherited |
Definition at line 186 of file TSingleton.h.