Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

upf::IManager Interface Reference

import "IManager.idl";

Inheritance diagram for upf::IManager:

Inheritance graph
[legend]
List of all members.

Detailed Description

UPF management class.

There's exactly one implementation of IManager interface in the system (i.e. it is a singleton). It provides "global" services that are related to classes, interfaces and types management as well as runtime loading of modules and class registration.

C++ note:
IManager instance is accessible with upf::getManager functions


Public Methods

boolean registerClass (in IClassInfo classinfo)
IObject createInstance (in CID classID)
 Creates an instance of class with CID classID.

void addModulesPath (in string path)
 Adds path to list of directories that are searched for DLL modules.

CIDsList enumInterfaceImplementations (in IID iface)
 Returns list of CIDs of all registered classes that impement iface.

IClassInfo getClassInfo (in CID classID)
 Returns class info object for class with CID classID.

IInterfaceInfo getInterfaceInfo (in IID ifaceID)
 Returns interface info object for class with CID classID.


Member Function Documentation

void upf::IManager::addModulesPath in string    path
 

Adds path to list of directories that are searched for DLL modules.

Newly added directory is automatically scanned for not-yet-loaded modules.

See also:
ILoader

IObject upf::IManager::createInstance in CID    classID
 

Creates an instance of class with CID classID.

C++ note:
Use upf::create instead.

CIDsList upf::IManager::enumInterfaceImplementations in IID    iface
 

Returns list of CIDs of all registered classes that impement iface.

See also:
IObject::getClassID, IClassInfo::getInterfaces

IClassInfo upf::IManager::getClassInfo in CID    classID
 

Returns class info object for class with CID classID.

See also:
IClassInfo, IObject::getClassID

IInterfaceInfo upf::IManager::getInterfaceInfo in IID    ifaceID
 

Returns interface info object for class with CID classID.

See also:
ITypeInfo, IInterfaceInfo, IClassInfo::getInterfaces

boolean upf::IManager::registerClass in IClassInfo    classinfo
 

For internal use only.

Registers class described by classinfo into the system. You should never need to use this method (unless you write new language binding, that is).


Generated on Wed Jan 15 23:10:56 2003 for Universal Plugins Framework by doxygen1.2.18