Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

Protected Attributes | Private Member Functions

PDynaLink Class Reference

#include <dynalink.h>

Inheritance diagram for PDynaLink:
Inheritance graph
[legend]
Collaboration diagram for PDynaLink:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

void * dllHandle
PString name

Private Member Functions

 PCLASSINFO (PDynaLink, PObject)

DLL entry point functions

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

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

Load/Unload function

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

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
BOOL IsClass (const char *cls) const
virtual BOOL InternalIsDescendant (const char *clsName) 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)

Detailed Description

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

Definition at line 98 of file dynalink.h.


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

Generated by  Doxygen 1.6.0   Back to index