Fovia's C++ Client/Server API
Public Member Functions | List of all members
IRoot Struct Referenceabstract
Inheritance diagram for IRoot:
IAllocator IDataHolderContext IFreehandCutAdaptor IInteractiveSegAdaptor IInterpolation ILibrary ILibraryLogger ILiteDICOMFileContext IMouseAdaptor IMovie IMovieMaker IMovieMakerKeyFrame IOctreeContext IPolygonUtilContext IPresetUtils IRenderParamsReceiver IServerContext ISimpleStream ITextureMapContext IVertexCallListContext IVolumeDataContext IVolumeSegmentationContext IVolumeShadowContext

Public Member Functions

virtual signed int AskInterface (const BGUID *piid, IRoot **ppr)=0
 
template<class T >
signed int AskInterface (T **pp)
 
virtual signed int DecRef ()=0
 
virtual signed int IncRef ()=0
 

Detailed Description

Root interface for all interfaces.

Member Function Documentation

virtual signed int IRoot::AskInterface ( const BGUID piid,
IRoot **  ppr 
)
pure virtual

Queries this object to see if the interface piid is supported and returns the result in ppr.

Parameters
piidThe BGUID of the requested interface.
pprThe address of an IRoot pointer which will receive the new interface.
Returns
S_OK if the interface is supported. E_FAIL if it is not.

Implemented in IVolumeShadowContext, IPresetUtils, IMovieMaker, IMovie, IMovieMakerKeyFrame, IInterpolation, IPolygonUtilContext, IFreehandCutAdaptor, IInteractiveSegAdaptor, IMouseAdaptor, IServerContext, IRenderQueue, ILiteDICOMFileContext, IDataHolderContext, IVolumeSegmentationContext, IRenderEngineContext, IOctreeContext, IVolumeDataContext, IVertexCallListContext, ITextureMapContext, ILibrary, ILibraryLogger, IAllocator, and ISimpleStream.

Referenced by CBComPtr< T >::IsEqualObject().

template<class T >
signed int IRoot::AskInterface ( T **  pp)
inline

Function template for the above

virtual signed int IRoot::DecRef ( )
pure virtual
virtual signed int IRoot::IncRef ( )
pure virtual