PrimoBurner(tm) for C++
4.6
CD, DVD and Blu-ray Software Development Kit
|
#include <PrimoBurnerAPI.h>
Inherits Reference.
Public Member Functions | |
virtual DeviceEnum * | createDeviceEnumerator ()=0 |
Enumerates the optical devices installed in the system. More... | |
virtual Device * | createDeviceFromHandle (handle_t handle)=0 |
Creates a Device object from device handle. More... | |
virtual const ErrorInfo * | error () const =0 |
Gets error information about the last operation. More... | |
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) More... | |
virtual void | shutdown ()=0 |
The Shutdown method shuts down the object. More... | |
Public Member Functions inherited from Reference | |
virtual int32_t | release () const =0 |
Releases the instance. More... | |
virtual int32_t | retain () const =0 |
Retains the instance. More... | |
virtual int32_t | retainCount () const =0 |
Returns the current reference count. More... | |
PrimoBurner Engine.
|
pure virtual |
Enumerates the optical devices installed in the system.
|
pure virtual |
Creates a Device object from device handle.
handle | OS handle obtained from Device::deviceHandle. |
|
pure virtual |
Gets error information about the last operation.
|
pure virtual |
Sets a notification callback object to receive device change notifications (arrival/removal of devices and media)
callback | A pointer to an object that implements the EngineCallback interface. |
Internally the EngineCallback is retained (if not NULL). The previous EngineCallback is released (if not NULL). The EngineCallback instance is released when the Engine itself is being destroyed.
NOTE: If the user code inherits from EngineCallback but does not override primo::Reference::release() and primo::Reference::retain() it must ensure that the callback instance is valid until it is used by the engine. This is so because the default implementation of primo::Reference in EngineCallback keeps a constant reference count of 1.
|
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.