All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::common::Library::Impl Class Reference

Public Member Functions

void * getAddress (const std::string &symbol) const throw (te::common::Exception)
 
const std::string & getFileName () const throw ()
 
 Impl (const std::string &fileName, bool delayLoad) throw (te::common::Exception)
 
bool isLoaded () const throw ()
 
void load () throw (te::common::Exception)
 
void unload () throw (te::common::Exception)
 
 ~Impl ()
 

Private Attributes

std::string m_fileName
 The library file name with full path. More...
 
void * m_module
 The handle for DLLs, SO or a DyLib. More...
 

Detailed Description

Definition at line 49 of file Library.cpp.

Constructor & Destructor Documentation

te::common::Library::Impl::Impl ( const std::string &  fileName,
bool  delayLoad 
)
throw (te::common::Exception
)
inline

Definition at line 53 of file Library.cpp.

References load().

te::common::Library::Impl::~Impl ( )
inline

Definition at line 63 of file Library.cpp.

References unload().

Member Function Documentation

void* te::common::Library::Impl::getAddress ( const std::string &  symbol) const
throw (te::common::Exception
)
inline

Definition at line 124 of file Library.cpp.

References m_fileName, m_module, and TR_COMMON.

const std::string& te::common::Library::Impl::getFileName ( ) const
throw (
)
inline

Definition at line 119 of file Library.cpp.

References m_fileName.

bool te::common::Library::Impl::isLoaded ( ) const
throw (
)
inline

Definition at line 114 of file Library.cpp.

References m_module.

void te::common::Library::Impl::load ( )
throw (te::common::Exception
)
inline

Definition at line 68 of file Library.cpp.

References m_fileName, m_module, and TR_COMMON.

Referenced by Impl().

void te::common::Library::Impl::unload ( )
throw (te::common::Exception
)
inline

Definition at line 93 of file Library.cpp.

References m_fileName, m_module, and TR_COMMON.

Referenced by ~Impl().

Member Data Documentation

std::string te::common::Library::Impl::m_fileName
private

The library file name with full path.

Definition at line 148 of file Library.cpp.

Referenced by getAddress(), getFileName(), load(), and unload().

void* te::common::Library::Impl::m_module
private

The handle for DLLs, SO or a DyLib.

Definition at line 149 of file Library.cpp.

Referenced by getAddress(), isLoaded(), load(), and unload().


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