23#include <xplc/IFactory.h>
33NewMoniker::~NewMoniker() {
42 servmgr = XPLC_getServiceManager();
44 monikers = mutate<IMoniker>(servmgr->
getObject(XPLC_monikers));
47 factory = mutate<IFactory>(monikers->
resolve(aName));
Common object creation interface.
virtual IObject * createObject()=0
Creates an object.
An interface for obtaining an IObject given a moniker string.
virtual IObject * resolve(const char *moniker)=0
Given a moniker string, return the IObject it refers to, or NULL if no objects match.
The basic interface which is included by all other XPLC interfaces and objects.
virtual unsigned int release()=0
Indicate that you are finished using this object.
virtual IObject * getObject(const UUID &)=0
Get the object corresponding to the given UUID.
The XPLC service manager interface.
virtual IObject * resolve(const char *)
Given a moniker string, return the IObject it refers to, or NULL if no objects match.
Various utility functions, macros and templates.
#define UUID_MAP_END
Marks the end of an interface map.
#define UUID_MAP_BEGIN(component)
Start the interface map for "component".
#define UUID_MAP_ENTRY(iface)
Add an entry to an interface map.