Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::DeviceEventListener Class Referenceabstract

Abstract device event callback. More...

#include <mitsuba/hw/device.h>

+ Inheritance diagram for mitsuba::DeviceEventListener:

Public Member Functions

virtual bool deviceEventOccurred (const DeviceEvent &event)=0
 Called when a device event occurs. More...
 

Protected Member Functions

virtual ~DeviceEventListener ()
 Virtual destructor. More...
 

Detailed Description

Abstract device event callback.

Constructor & Destructor Documentation

virtual mitsuba::DeviceEventListener::~DeviceEventListener ( )
inlineprotectedvirtual

Virtual destructor.

Member Function Documentation

virtual bool mitsuba::DeviceEventListener::deviceEventOccurred ( const DeviceEvent event)
pure virtual

Called when a device event occurs.

Parameters
eventThe event data structure
Returns
True if the result has been handled, false otherwise

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