OR-Tools  8.1
DynamicLibrary

Detailed Description

Definition at line 32 of file dynamic_library.h.

Public Member Functions

 DynamicLibrary ()
 
 ~DynamicLibrary ()
 
bool TryToLoad (const std::string &library_name)
 
bool LibraryIsLoaded () const
 
template<typename T >
std::function< T > GetFunction (const char *function_name)
 
template<typename T >
std::function< T > GetFunction (const std::string &function_name)
 
template<typename T >
void GetFunction (std::function< T > *function, const char *function_name)
 
template<typename T >
void GetFunction (std::function< T > *function, const std::string function_name)
 

Constructor & Destructor Documentation

◆ DynamicLibrary()

DynamicLibrary ( )
inline

Definition at line 34 of file dynamic_library.h.

◆ ~DynamicLibrary()

~DynamicLibrary ( )
inline

Definition at line 36 of file dynamic_library.h.

Member Function Documentation

◆ GetFunction() [1/4]

std::function<T> GetFunction ( const char *  function_name)
inline

Definition at line 61 of file dynamic_library.h.

◆ GetFunction() [2/4]

std::function<T> GetFunction ( const std::string &  function_name)
inline

Definition at line 78 of file dynamic_library.h.

◆ GetFunction() [3/4]

void GetFunction ( std::function< T > *  function,
const char *  function_name 
)
inline

Definition at line 83 of file dynamic_library.h.

◆ GetFunction() [4/4]

void GetFunction ( std::function< T > *  function,
const std::string  function_name 
)
inline

Definition at line 88 of file dynamic_library.h.

◆ LibraryIsLoaded()

bool LibraryIsLoaded ( ) const
inline

Definition at line 58 of file dynamic_library.h.

◆ TryToLoad()

bool TryToLoad ( const std::string &  library_name)
inline

Definition at line 48 of file dynamic_library.h.


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