NDEVR
API Documentation
GraphicsManagerFactoryabstract

Stores a default rendering engine to be used with the application. More...

Inheritance diagram for GraphicsManagerFactory:
[legend]
Collaboration diagram for GraphicsManagerFactory:
[legend]

Public Member Functions

virtual GraphicsManagerBasecreateManager (QTModelManager *manager)=0
 Creates a new GraphicsManagerBase instance for the given model manager.

Static Public Member Functions

static GraphicsManagerFactoryDefaultFactory ()
 Retrieves the default graphics manager factory.
static void SetDefaultFactory (GraphicsManagerFactory *factory)
 Sets the default graphics manager factory for the application.

Static Protected Attributes

static GraphicsManagerFactorys_factory
 The singleton default factory instance.

Detailed Description

Stores a default rendering engine to be used with the application.


Definition at line 144 of file QTModelManager.h.

Member Function Documentation

◆ createManager()

virtual GraphicsManagerBase * GraphicsManagerFactory::createManager ( QTModelManager * manager)
pure virtual

Creates a new GraphicsManagerBase instance for the given model manager.

Parameters
[in]managerThe model manager that will own the graphics manager.
Returns
A pointer to the newly created graphics manager.

Implemented in NDEVRGraphicsManagerFactory.

◆ DefaultFactory()

GraphicsManagerFactory * GraphicsManagerFactory::DefaultFactory ( )
static

Retrieves the default graphics manager factory.

Returns
A pointer to the default factory, or nullptr if none is set.

◆ SetDefaultFactory()

void GraphicsManagerFactory::SetDefaultFactory ( GraphicsManagerFactory * factory)
static

Sets the default graphics manager factory for the application.

Parameters
[in]factoryThe factory to use as the default.

The documentation for this class was generated from the following file: