Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

XPLC Class Reference

The XPLC helper class. More...

List of all members.

Public Methods

 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.

IObjectget (const UUID &uuid)
 Obtain an XPLC object.

template<class Interface> Interface * get (const UUID &uuid)
 Templated variant of XPLC::get() that will do a getInterface() for you.

IObjectcreate (const UUID &cid)
 Object creation helper.

template<class Interface> Interface * create (const UUID &cid)
 Templated variant of XPLC::create() that will do a getInterface() for you.

IObjectcreate (const char *)
 Object creation helper that operates from a moniker.

template<class Interface> Interface * create (const char *aMoniker)
 Templated variant of XPLC::create(const char*) that will do a getInterface() for you.


Detailed Description

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.


Member Function Documentation

IObject* XPLC::create const char *   
 

Object creation helper that operates from a moniker.

Works like XPLC::create(const UUID&), but finds the object using a moniker instead.

IObject* XPLC::create const UUID &    cid
 

Object creation helper.

Obtains an object with the provided UUID from the service manager, tries to get the IFactory interface from the object and calls its createObject() method.

IObject* XPLC::get const UUID &    uuid [inline]
 

Obtain an XPLC object.

Obtains an object with the provided UUID from the service manager.


The documentation for this class was generated from the following file:
Generated on Sun Sep 26 04:02:01 2004 for XPLC by doxygen1.2.18