Loading shared libraries and classes dynamically at runtime. - Poco
Loading shared libraries and classes dynamically at runtime. - Poco
Loading shared libraries and classes dynamically at runtime. - Poco
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The Class Loader<br />
> <strong>Poco</strong>::ClassLoader is POCO's high level interface for loading<br />
<strong>classes</strong> from <strong>shared</strong> <strong>libraries</strong>. It is well suited for implementing<br />
typical plug-in architectures.<br />
> #include "<strong>Poco</strong>/ClassLoader.h"<br />
> All <strong>classes</strong> loaded with a specific class loader must be sub<strong>classes</strong><br />
of a common base class. <strong>Poco</strong>::ClassLoader is a class templ<strong>at</strong>e<br />
th<strong>at</strong> must be instanti<strong>at</strong>ed for the base class.<br />
> A base class is necessary because the applic<strong>at</strong>ion loading a<br />
plugin needs an interface to access it.