Savarese Software Research Corporation
DynamicLibrary Class Reference

#include <DynamicLibrary.h>

List of all members.

Public Types

enum  Mode { LazyLocal = RTLD_LAZY | RTLD_LOCAL, LazyGlobal = RTLD_LAZY | RTLD_GLOBAL, NowLocal = RTLD_NOW | RTLD_LOCAL, NowGlobal = RTLD_NOW | RTLD_GLOBAL }

Public Member Functions

 DynamicLibrary (const std::string &filename, const Mode mode=LazyLocal) SSRC_DECL_THROW(LoadError)
virtual ~DynamicLibrary ()
std::string filename () const
void * symbol (const std::string &name)
template<typename T >
symbol (const std::string &name)

Detailed Description

Definition at line 33 of file DynamicLibrary.h.

Member Enumeration Documentation


Definition at line 39 of file DynamicLibrary.h.

Constructor & Destructor Documentation

DynamicLibrary::DynamicLibrary ( const std::string filename,
const Mode  mode = LazyLocal 
) [inline, explicit]

Definition at line 47 of file DynamicLibrary.h.

References string.

virtual DynamicLibrary::~DynamicLibrary ( ) [inline, virtual]

Definition at line 62 of file DynamicLibrary.h.

Member Function Documentation

Definition at line 66 of file DynamicLibrary.h.

void* DynamicLibrary::symbol ( const std::string name) [inline]

Definition at line 70 of file DynamicLibrary.h.

Referenced by symbol().

template<typename T >
T DynamicLibrary::symbol ( const std::string name) [inline]

Definition at line 75 of file DynamicLibrary.h.

References symbol().

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

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.