|
fw4spl
|
Defines the module class.This class is only a bridge to a native module implementor. More...
#include <Library.hpp>
Public Member Functions | |
| LibraryBridge (const boost::filesystem::path &modulePath) noexcept | |
| Constructor. More... | |
| ~LibraryBridge () noexcept | |
| Destructor : does nothing. | |
| bool | isLoaded () const noexcept |
| Tells if the module is loaded. More... | |
| const boost::filesystem::path | getFullPath () const |
| Retrieves the file path of the library including the owning bundle's path. More... | |
| const boost::filesystem::path | getPath () const |
| Retrieves the file path of the library. More... | |
| void * | getSymbol (const std::string &name) const |
| Retrieves the address of a symbol specified by its name. More... | |
| void | load () |
| Loads the module. | |
| void | setBundle (const ::fwRuntime::Bundle *bundle) noexcept |
| Sets the bundle the library is attached to. More... | |
| void | unload () |
| Undloads the module. | |
Defines the module class.
This class is only a bridge to a native module implementor.
Definition at line 30 of file Library.hpp.
|
inlinenoexcept |
Constructor.
| [in] | modulePath | a path pointing the module to load without any extension information |
Definition at line 39 of file Library.hpp.
|
inline |
Retrieves the file path of the library including the owning bundle's path.
Definition at line 69 of file Library.hpp.
|
inline |
Retrieves the file path of the library.
Definition at line 83 of file Library.hpp.
|
inline |
Retrieves the address of a symbol specified by its name.
| [in] | name | a string containing the symbol name. |
Definition at line 95 of file Library.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Sets the bundle the library is attached to.
| [in] | bundle | a pointer to a bundle instance |
Definition at line 113 of file Library.hpp.
Referenced by fwRuntime::Bundle::addLibrary().
Here is the caller graph for this function: