#include <OW_SafeLibCreate.hpp>
Public Types | |
typedef std::pair< IntrusiveReference< T >, SharedLibraryRef > | return_type |
typedef SharedLibraryReference< IntrusiveReference< T > > | return_obj |
Static Public Member Functions | |
static return_type | loadAndCreate (String const &libname, String const &createFuncName, const LoggerRef &logger) |
static return_obj | loadAndCreateObject (String const &libname, String const &createFuncName, const LoggerRef &logger) |
static T * | create (SharedLibraryRef sl, String const &createFuncName, const LoggerRef &logger) |
Private Types | |
typedef T *(* | createFunc_t )() |
typedef const char *(* | versionFunc_t )() |
Static Private Member Functions | |
static void | theSignalHandler (int sig) |
Static Private Attributes | |
static jmp_buf | theLoaderBuf |
Definition at line 61 of file OW_SafeLibCreate.hpp.
|
Definition at line 63 of file OW_SafeLibCreate.hpp. |
|
Definition at line 67 of file OW_SafeLibCreate.hpp. |
|
Definition at line 66 of file OW_SafeLibCreate.hpp. |
|
Definition at line 64 of file OW_SafeLibCreate.hpp. |
|
Definition at line 108 of file OW_SafeLibCreate.hpp. References logger, OW_LOG_DEBUG, OW_LOG_ERROR, OW_LOG_INFO, OW_NAMESPACE::OW_SIGABRT, OW_NAMESPACE::OW_SIGFPE, and OW_NAMESPACE::OW_SIGSEGV. Referenced by OW_NAMESPACE::SafeLibCreate< T >::loadAndCreate(). |
|
Definition at line 70 of file OW_SafeLibCreate.hpp. References OW_NAMESPACE::SafeLibCreate< T >::create(), OW_NAMESPACE::SharedLibraryLoader::createSharedLibraryLoader(), OW_NAMESPACE::IntrusiveReference< T >::isNull(), and logger. |
|
Definition at line 89 of file OW_SafeLibCreate.hpp. References OW_NAMESPACE::SharedLibraryLoader::createSharedLibraryLoader(), logger, and OW_LOG_DEBUG. |
|
Definition at line 195 of file OW_SafeLibCreate.hpp. |
|
Definition at line 188 of file OW_SafeLibCreate.hpp. |