Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions | List of all members
DynamicLibrary Class Reference

#include <dynamiclibrary.h>

Classes

class  Impl
 

Public Member Functions

bool Load (const std::string &path)
 
bool Unload ()
 
void * GetSymbolAddress (const std::string &symbol) const
 

Detailed Description

Dynamic library. Platform independent dynamic library class.

Member Function Documentation

void * DynamicLibrary::GetSymbolAddress ( const std::string &  symbol) const

Get symbol address. Retrieve the address of an exported symbol.

Return values
nullptrFailed to get address.
bool DynamicLibrary::Load ( const std::string &  path)

Load a dynamic library.

Parameters
pathPath to a library file.
Return values
trueSucceeded to load.
falseFailed to load.
bool DynamicLibrary::Unload ( )

Unload the dynamic library.

Return values
trueSucceeded to unload.
falseFailed to unload.

The documentation for this class was generated from the following files: