PTLib  Version 2.18.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PDynaLink::EntryPoint< FuncPtr > Class Template Reference

Helper class for creating members to functions in the DLL. More...

#include <dynalink.h>

Public Member Functions

 EntryPoint (PDynaLink &dll, const char *name, bool compulsory=true)
 
bool IsPresent () const
 
 operator FuncPtr () const
 

Protected Attributes

FuncPtr m_function
 

Detailed Description

template<typename FuncPtr>
class PDynaLink::EntryPoint< FuncPtr >

Helper class for creating members to functions in the DLL.

An entry point is a function within the DLL. If compulsory is true, then if the function is not found the DLL is closed. IsLoaded() can then be used to test for success.

Constructor & Destructor Documentation

template<typename FuncPtr >
PDynaLink::EntryPoint< FuncPtr >::EntryPoint ( PDynaLink dll,
const char *  name,
bool  compulsory = true 
)
inline

Member Function Documentation

template<typename FuncPtr >
bool PDynaLink::EntryPoint< FuncPtr >::IsPresent ( ) const
inline
template<typename FuncPtr >
PDynaLink::EntryPoint< FuncPtr >::operator FuncPtr ( ) const
inline

Member Data Documentation


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