neuray API Programmer's Manual

mi::neuraylib::ITimer_class_factory Class Reference

[Configuration Interfaces]

Description

The registration of a timer class requires a factory which constructs an instance during deserialization. In most cases it should be sufficient to use the supplied default implementation in mi::neuraylib::Timer_class_factory.

Public Member Functions

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

Member Functions

virtual ITimer* mi::​neuraylib::​ITimer_class_factory::create() [pure virtual]

Creates an instance of the class for which the factory was registered.

Returns

An instance of the class, or NULL on failure.