neuray API Programmer's Manual

mi::neuraylib::Timer_class_factory< T> Template Class Reference

[Configuration Interfaces]

template< class T>

class mi::neuraylib::Timer_class_factory< T>

Description

This mixin class provides a default implementation of the mi::neuraylib::ITimer_class_factory interface.

Public Member Functions

virtual ITimercreate()
Creates an instance of the class for which the factory was registered. More...

Member Functions

virtual ITimer* mi::neuraylib::Timer_class_factory< T>::create() [inline, virtual]

Creates an instance of the class for which the factory was registered. This default implementation simply calls the default constructor of T without arguments.

Returns

An instance of the class, or NULL on failure.