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

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

PPluginManager Class Reference

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

List of all members.

Public Member Functions

void AddNotifier (const PNotifier &filterFunction, BOOL existing=FALSE)
PObjectCreatePluginsDevice (const PString &serviceName, const PString &serviceType, int userData=0) const
PObjectCreatePluginsDeviceByName (const PString &deviceName, const PString &serviceType, int userData=0) const
PStringList GetPluginsDeviceNames (const PString &serviceName, const PString &serviceType, int userData=0) const
PStringList GetPluginsProviding (const PString &serviceType) const
PStringList GetPluginTypes () const
PPluginServiceDescriptorGetServiceDescriptor (const PString &serviceName, const PString &serviceType) const
BOOL LoadPlugin (const PString &fileName)
void LoadPluginDirectory (const PDirectory &dir)
BOOL RegisterService (const PString &serviceName, const PString &serviceType, PPluginServiceDescriptor *descriptor)
void RemoveNotifier (const PNotifier &filterFunction)
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Static Public Member Functions

static PStringArray GetPluginDirs ()
static PPluginManagerGetPluginManager ()

Protected Member Functions

void CallNotifier (PDynaLink &dll, INT code)

Protected Attributes

PList< PNotifiernotifierList
PMutex notifierMutex
PList< PDynaLinkpluginList
PMutex pluginListMutex
PList< PPluginServiceserviceList
PMutex serviceListMutex

Private Member Functions

 PCLASSINFO (PPluginManager, PObject)

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 ()

Comparison functions

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
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

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

Definition at line 118 of file pluginmgr.h.


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

Generated by  Doxygen 1.6.0   Back to index