WvStreams
|
#include <xplc/xplc.h>
Public Member Functions | |
XPLC (IServiceManager *_servmgr) | |
Create an XPLC object using an existing service manager reference. | |
void | addModuleDirectory (const char *directory) |
Adds a directory to the module loader path. | |
IObject * | get (const UUID &uuid) |
Obtain an XPLC object. More... | |
template<class Interface > | |
Interface * | get (const UUID &uuid) |
Templated variant of XPLC::get() that will do a getInterface() for you. | |
IObject * | create (const UUID &cid) |
Object creation helper. More... | |
template<class Interface > | |
Interface * | create (const UUID &cid) |
Templated variant of XPLC::create() that will do a getInterface() for you. | |
IObject * | create (const char *) |
Object creation helper that operates from a moniker. More... | |
template<class Interface > | |
Interface * | create (const char *aMoniker) |
Templated variant of XPLC::create(const char*) that will do a getInterface() for you. | |
The XPLC helper class. This class is part of the XPLC C++ binding in order to provide a more natural C++ feel to the use of XPLC.
IObject * XPLC::create | ( | const char * | aMoniker | ) |
Object creation helper that operates from a moniker.
Works like XPLC::create(const UUID&), but finds the object using a moniker instead.