Inheritance diagram for IBase:
Public Methods | |
virtual long | queryInterface (const Guid &id, void **iPtr)=0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
Public Types | |
enum | Status { cOK = 0, cFail = 1, cNoInterface = 2, cNotFound = 3, cLibraryNotFound = 4, cSymbolNotFound = 5, cNotImplemented = 6, cOutOfMemory = 7, cInvalidArg = 8, cNoAggregation = 9, cErrorInRegFile = 10, cClassNotRegistered = 11, cIncompatible = 12 } |
|
This function is used to increment the reference count on a component. Each copy of an interface pointer that is in use by a client will have a corresponding reference on the component. Use the SPtr to help manage the references on components in client code. Implemented in FactoryBase, StringImp, and PlugInBase<IString>. |
|
This function is used to query the implementing component for other interfaces. The id of the required interface is passed, and the component tests it against the id's of the interfaces that it implements. If there is a match, the component sets the
Implemented in FactoryBase, StringImp, and PlugInBase<IString>. |
|
This function is used to decrement the reference count on a component. Each copy of an interface pointer that is in use by a client will have a corresponding reference on the component. When the reference count of a component is decremented to zero then the component will Implemented in FactoryBase, StringImp, and PlugInBase<IString>. |
|
This enumeration represents the possible conditions that can occur in the operation of the plug-in system, and in intraction with plug-in components.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.