File kernel/src/utils/SiconosSharedLibrary/SiconosSharedLibrary.hpp#

Go to the source code of this file

Defines

_SYS_UNX#
DLEXPORT#

Typedefs

typedef void *PluginHandle#
namespace SiconosSharedLibrary#

Plug-in utilities.

Functions

PluginHandle loadPlugin(const std::string &pluginPath)#

loads a plugin

Parameters:

pluginPath – full path to plugin

Returns:

PluginHandle the object to handle the plugin

void *getProcAddress(PluginHandle plugin, const std::string &procedure)#

Gets procedure address.

Parameters:
  • plugin – the plugin handle

  • procedure – the procedure name

Returns:

pointer on procedure

void closePlugin(const std::string &pluginFile)#

Closes plugin.

Parameters:

pluginFile – the name of the plugin to close