COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Attributes | List of all members
LibLoader Class Reference

Class to load libraries in the Win32 OS. More...

#include <LibLoader.hpp>

Inherits LibLoader.

Public Member Functions

 LibLoader ()
 constructor More...
 
virtual ~LibLoader ()
 virtual destructor More...
 
virtual void load_library (const std::string &lib)
 
virtual void set_search_paths (const std::vector< boost::filesystem::path > &paths)
 class interface to add paths to search for libraries More...
 
- Public Member Functions inherited from LibLoader
 LibLoader ()
 constructor More...
 
void load_library (const std::string &lib)
 
void unload_library (Library &lib)
 
virtual void system_load_library (const std::string &lib)=0
 
virtual void set_search_paths (const std::vector< URI > &paths)=0
 

Private Attributes

std::vector< boost::filesystem::path > m_search_paths
 paths where to search for the libraries to load More...
 

Additional Inherited Members

- Static Public Member Functions inherited from LibLoader
static std::string type_name ()
 Gets the Class name. More...
 

Detailed Description

Class to load libraries in the Win32 OS.

Definition at line 21 of file LibLoader.hpp.

Constructor & Destructor Documentation

LibLoader ( )

constructor

Definition at line 25 of file LibLoader.cpp.

~LibLoader ( )
virtual

virtual destructor

Reimplemented from LibLoader.

Definition at line 31 of file LibLoader.cpp.

Member Function Documentation

void load_library ( const std::string &  lib)
virtual

class interface to load a library depending on the operating system and the library loading algorithm

Exceptions
LibLoaderif loading fails for any reason

Definition at line 44 of file LibLoader.cpp.

void set_search_paths ( const std::vector< boost::filesystem::path > &  paths)
virtual

class interface to add paths to search for libraries

Definition at line 37 of file LibLoader.cpp.

Member Data Documentation

std::vector< boost::filesystem::path > m_search_paths
private

paths where to search for the libraries to load

Definition at line 42 of file LibLoader.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin