Belle II Software  release-05-01-25
SharedLibrary Class Reference
Collaboration diagram for SharedLibrary:

Public Types

typedef void * handle_type
 
typedef void * symbol_type
 
typedef void * handle_type
 
typedef void * symbol_type
 

Public Member Functions

 operator bool () const
 
bool loaded () const
 
handle_type handle () const
 
const std::string & path () const
 
const std::string & error () const
 
bool load (const std::string &path)
 
bool load_impl (const std::string &path, std::string &errmsg)
 
void unload ()
 
void retain ()
 
bool getsymbol (const std::string &name, symbol_type &sym)
 
symbol_type getfunction (const std::string &name)
 
 operator bool () const
 
bool loaded () const
 
handle_type handle () const
 
const std::string & path () const
 
const std::string & error () const
 
bool load (const std::string &path)
 
bool load_impl (const std::string &path, std::string &errmsg)
 
void unload ()
 
void retain ()
 
bool getsymbol (const std::string &name, symbol_type &sym)
 
symbol_type getfunction (const std::string &name)
 

Private Member Functions

 SharedLibrary (const SharedLibrary &)
 
const SharedLibraryoperator= (const SharedLibrary &)
 
 SharedLibrary (const SharedLibrary &)
 
const SharedLibraryoperator= (const SharedLibrary &)
 

Static Private Member Functions

static const std::string & library_suffix ()
 
static const std::string & library_suffix ()
 

Private Attributes

handle_type _lib
 
std::string _path
 
std::string _err
 
bool _retain
 

Detailed Description

Definition at line 21 of file xsi_shared_lib.h.


The documentation for this class was generated from the following file: