IFXCoreServices

This interface is used to manage the references to the other non-singleton Shockwave 3D§ interfaces.

When to Use:

Use this interface at startup when initializing the Shockwave 3D system, and when a Shockwave 3D component needs access to another component not specifically contained within itself. This interface inherits from IFXUnknown.

Method Interface

Description

Initialize

Creates the IFX non-singleton components

GetScheduler

Gets the IFXScheduler interface

GetSceneGraph

Gets the IFXSceneGraph interface

GetDataBlockQueue

Gets the IFXDataBlockQueue interface

GetImageTools

Gets the IFXImageTools interface

GetWeakInterface

Gets the IFXCoreServices interface

GetLanguageTools

Gets the IFXLanguageTools interface


IFXCoreServices::Initialize()

This method initializes the Core Services component by setting up a weak reference object and creating all of the interfaces that it will distribute later.

Parameters:

None

Return Values

Comments:

This function creates a CIFXCoreServicesRef sub-object that will maintain and expose a weak reference to the CIFXCoreServices object. Using this sub-object methodology will prevent circular reference problems.


IFXCoreServices::GetScheduler(IFXREFIID interfaceID, Void** ppv )

Checks to see if the core services are initialized and, if so, runs QueryInterface on the Scheduler component and returns the interface.

Parameters:

interfaceID

A globally unique identifier for the scheduler interface

ppv

A reference to the scheduler interface

Return Values


IFXCoreServices::GetSceneGraph(IFXREFIID interfaceID, Void** ppv )

This method checks to see if the Core Services are initialized and, if so, runs QueryInterface on the SceneGraph component and returns the interface.

Parameters:

interfaceID

A globally unique identifier for the SceneGraph interface

ppv

A reference to the SceneGraph interface

Return Values


IFXCoreServices:: GetDataBlockQueue(IFXREFIID interfaceID, Void** ppv )

This method checks to see if Core Services are initialized and, if so, runs QueryInterface on the DataBlockQueue component and returns the interface.

Parameters:

interfaceID

A globally unique identifier for the DataBlockQueue interface

ppv

A reference to the DataBlockQueue interface

Return Values


IFXCoreServices:: GetImageTools( IFXREFIID interfaceId, void** ppv )

This method checks to see if Core Services are initialized and, if so, runs QueryInterface on the ImageTools component and returns the interface.

Parameters:

interfaceID

A globally unique identifier for the ImageTools interface

ppv

A reference to the ImageTools interface

Return Values


IFXCoreServices:: GetWeakInterface( IFXCoreServices** ppCoreServices )

This method returns a handle to IFXCoreServices .

Parameters:

ppCoreServices

A handle to IFXCoreServices

Return Values


IFXCoreServices:: GetLanguageTools( IFXREFIID interfacId, void** ppv )

This method checks to see if Core Services are initialized and, if so, runs QueryInterface on the LanguageTools component and returns the interface.

Parameters:

interfaceID

A globally unique identifier for the LanguageTools interface

ppv

A reference to the LanguageTools interface

Return Values

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.