CMS 3D CMS Logo

lat::SharedLibrary Class Reference

Shared library services. More...

#include <Iguana/Utilities/classlib/utils/SharedLibrary.h>

List of all members.

Public Types

typedef voidData
typedef void(* Function )(void)
typedef Callback1< const
LibraryInfo & > 
InfoHandler

Public Member Functions

void abandon (void)
Data data (const std::string &name, bool mangle=true) const
Function function (const std::string &name, bool mangle=true) const
void release (void)

Static Public Member Functions

static std::string libname (const std::string &name)
static SharedLibraryload (const std::string &name)
static void loaded (const InfoHandler &handler)
static void path (const std::string &path)
static std::string path (void)
static SharedLibraryself (void)
static std::string symname (const std::string &name)

Protected Member Functions

 SharedLibrary (void *handle)
 ~SharedLibrary (void)

Private Member Functions

SharedLibraryoperator= (const SharedLibrary &)
 SharedLibrary (const SharedLibrary &)

Private Attributes

voidm_handle

Classes

struct  LibraryInfo
 Information about a currently loaded shared library. More...


Detailed Description

Shared library services.

Definition at line 20 of file SharedLibrary.h.


Member Typedef Documentation

typedef void* lat::SharedLibrary::Data

Definition at line 23 of file SharedLibrary.h.

typedef void(* lat::SharedLibrary::Function)(void)

typedef Callback1<const LibraryInfo &> lat::SharedLibrary::InfoHandler

Definition at line 38 of file SharedLibrary.h.


Constructor & Destructor Documentation

lat::SharedLibrary::SharedLibrary ( void handle  )  [protected]

lat::SharedLibrary::~SharedLibrary ( void   )  [protected]

lat::SharedLibrary::SharedLibrary ( const SharedLibrary  )  [private]


Member Function Documentation

void lat::SharedLibrary::abandon ( void   ) 

Referenced by IgModule::unload().

Data lat::SharedLibrary::data ( const std::string &  name,
bool  mangle = true 
) const

Function lat::SharedLibrary::function ( const std::string &  name,
bool  mangle = true 
) const

Referenced by IgModule::capabilityEntryPoint(), IgModule::checkEntryPoints(), IgModule::moduleEntryPoint(), and IgApplication::startProfiler().

static std::string lat::SharedLibrary::libname ( const std::string &  name  )  [static]

static SharedLibrary* lat::SharedLibrary::load ( const std::string &  name  )  [static]

Referenced by IgModule::library(), IgLibraryPreloader::operator()(), IgApplication::startMemStats(), and IgApplication::startProfiler().

static void lat::SharedLibrary::loaded ( const InfoHandler handler  )  [static]

Referenced by IgQtAppDebugLibrariesInfo::update().

SharedLibrary& lat::SharedLibrary::operator= ( const SharedLibrary  )  [private]

static void lat::SharedLibrary::path ( const std::string &  path  )  [static]

static std::string lat::SharedLibrary::path ( void   )  [static]

Referenced by IgPluginManager::get().

void lat::SharedLibrary::release ( void   ) 

Referenced by IgModule::unload().

static SharedLibrary* lat::SharedLibrary::self ( void   )  [static]

static std::string lat::SharedLibrary::symname ( const std::string &  name  )  [static]


Member Data Documentation

void* lat::SharedLibrary::m_handle [private]

Definition at line 60 of file SharedLibrary.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:35 2009 for CMSSW by  doxygen 1.5.4