PrimoBurner Engine.
More...
#include <pb_api.h>
Inherits Reference.
|
| virtual DeviceEnum * | createDeviceEnumerator ()=0 |
| | Enumerates the optical devices installed in the system.
|
| |
| virtual Device * | createDeviceFromHandle (handle_t handle)=0 |
| | Creates a Device object from device handle.
|
| |
| virtual const ErrorInfo * | error () const =0 |
| | Gets error information about the last operation.
|
| |
|
virtual bool_t | initialize ()=0 |
| | Initializes the engine object.
|
| |
| virtual void | setCallback (EngineCallback *callback)=0 |
| | Sets a notification callback object to receive device change notifications (arrival/removal of devices and media)
|
| |
| virtual void | shutdown ()=0 |
| | The Shutdown method shuts down the object.
|
| |
| virtual int32_t | release () const =0 |
| | Releases the instance.
|
| |
| virtual int32_t | retain () const =0 |
| | Retains the instance.
|
| |
| virtual int32_t | retainCount () const =0 |
| | Returns the current reference count.
|
| |
◆ createDeviceEnumerator()
Enumerates the optical devices installed in the system.
- Returns
- DeviceEnum object that can be used for creating device instances.
-
NULL if engine has not been initialized and also sets error to EngineError::NotInitialized.
- See also
- DeviceEnum
◆ createDeviceFromHandle()
| virtual Device * createDeviceFromHandle |
( |
handle_t |
handle | ) |
|
|
pure virtual |
◆ error()
Gets error information about the last operation.
- Returns
- A pointer to an ErrorInfo object.
◆ setCallback()
◆ shutdown()
| virtual void shutdown |
( |
| ) |
|
|
pure virtual |
The Shutdown method shuts down the object.
Shutdown unlocks any devices that have been locked and frees the internal structures associated with every device.