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

void closePlugin(const std::string &pluginFile)

Closes plugin.

Parameters
  • pluginFile: the name of the plugin to close

Exceptions

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

Gets procedure address.

Return

pointer on procedure

Parameters
  • plugin: the plugin handle

  • procedure: the procedure name

Exceptions

PluginHandle loadPlugin(const std::string &pluginPath)

loads a plugin

Return

PluginHandle the object to handle the plugin

Parameters
  • pluginPath: full path to plugin

Exceptions