orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydrodll Namespace Reference

Dynamically loads C++ classes. More...


Classes

class  DynamicallyLoadedLibrary
class  DynamicLoadException
 Dynamic load exception. More...

Functions

template<class LoadedClass, typename MakerFunc>
LoadedClass * dynamicallyLoadClass (DynamicallyLoadedLibrary &lib, const char *makerFuncName)


Detailed Description

Dynamically loads C++ classes.

This is a very small library for dynamically loading C++ classes.

See also:
hydro_library_orcadynamicload


Function Documentation

template<class LoadedClass, typename MakerFunc>
LoadedClass* hydrodll::dynamicallyLoadClass DynamicallyLoadedLibrary &  lib,
const char *  makerFuncName
 

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();

 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5