iBase Struct Reference
[Shared Class Facility (SCF)]
This is the basic interface: all other interfaces should be derived from this one, this will allow us to always use at least some minimal functionality given any interface pointer.
More...
#include <csutil/scf.h>
Inheritance diagram for iBase:

Public Member Functions | |
virtual void | IncRef ()=0 |
Increment the number of references to this object. | |
virtual void | DecRef ()=0 |
Decrement the reference count. | |
virtual int | GetRefCount ()=0 |
Get the ref count (only for debugging). | |
virtual void * | QueryInterface (scfInterfaceID iInterfaceID, int iVersion)=0 |
Query a particular interface implemented by this object. | |
virtual void | AddRefOwner (iBase **ref_owner)=0 |
For weak references: add a reference owner. | |
virtual void | RemoveRefOwner (iBase **ref_owner)=0 |
For weak references: remove a reference owner. | |
Static Public Member Functions | |
void * | QueryInterfaceSafe (iBase *ibase, scfInterfaceID iInterfaceID, int iVersion) |
Query a particular interface implemented by an object. |
Detailed Description
This is the basic interface: all other interfaces should be derived from this one, this will allow us to always use at least some minimal functionality given any interface pointer.
Definition at line 77 of file scf.h.
Member Function Documentation
|
For weak references: add a reference owner.
|
|
Decrement the reference count.
Implemented in csPoolEvent. Referenced by csParticleSystem::SetVisibleCallback(). |
|
Get the ref count (only for debugging).
|
|
Increment the number of references to this object.
Referenced by csParticleSystem::SetVisibleCallback(). |
|
Query a particular interface implemented by this object.
Referenced by csTypedObjectIterator< T >::FindName(), and QueryInterfaceSafe(). |
|
Query a particular interface implemented by an object. This version will test if 'ibase' is 0. Definition at line 91 of file scf.h. References QueryInterface(). |
|
For weak references: remove a reference owner.
|
The documentation for this struct was generated from the following file:
- csutil/scf.h
Generated for Crystal Space by doxygen 1.3.9.1