Logo Search packages:      
Sourcecode: pwlib version File versions

PDynaLink Class Reference

#include <dynalink.h>

Inheritance diagram for PDynaLink:

PObject

List of all members.


Detailed Description

A dynamic link library. This allows the loading at run time of code modules for use by an application.

Definition at line 95 of file dynalink.h.


Comparison functions

enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }
virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const

DLL entry point functions

typedef void(* Function )()
 Primitive pointer to a function for a dynamic link module.
BOOL GetFunction (const PString &name, Function &func)
BOOL GetFunction (PINDEX index, Function &func)

Load/Unload function

virtual void Close ()
virtual PString GetName (BOOL full=FALSE) const
virtual BOOL IsLoaded () const
virtual BOOL Open (const PString &name)
static PString GetExtension ()

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

I/O functions

virtual void PrintOn (ostream &strm) const
virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Public Member Functions

Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const
Construction
 PDynaLink (const PString &name)
 PDynaLink ()
 ~PDynaLink ()

Protected Attributes

void * dllHandle
PString name

Private Member Functions

 PCLASSINFO (PDynaLink, PObject)

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

Generated by  Doxygen 1.6.0   Back to index