INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydrodll Namespace ReferenceDynamically loads C++ classes. More...
Detailed DescriptionDynamically loads C++ classes. This is a very small library for dynamically loading C++ classes.
Function Documentation
template<class LoadedClass , typename MakerFunc >
Uses a function in the lib to load an instance of 'LoadedClass'. Assumes the library has a 'maker' function with the signature: extern "C" { LoadedClass *makerFunc(); } The type of this function should be typedef'd to MakerFunc somewhere, as in: typedef LoadedClass *MakerFunc(); References hydrodll::DynamicallyLoadedLibrary::handle(), and hydrodll::DynamicallyLoadedLibrary::name(). |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)