Inheritance diagram for PlugInBase:
Public Methods | |
PlugInBase (unsigned long refIn=0) | |
virtual | ~PlugInBase () |
virtual long | queryInterface (const Guid &id, void **iPtr) |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
|
This constructor takes an optional reference count argument. This is used as the initial value for the reference count of the component. Using a non-zero initial reference count is advanced usage and should be done rarely.
|
|
The destructor for this class currently contains no implementation, but is defined to establish the destructor as being virtual. This is important since the release() function calls |
|
This function is used to increment the reference count on this component. Each copy of an interface pointer that's 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. |
|
This function is used to query this component for other interfaces. The id of the desired interface is passed in and tested against the id of the interface given in the template parameter. If it matches then
|
|
This function is used to increment the reference count on this component. Each copy of an interface pointer that's 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 |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.