DVDBuilder for C++
3.4
DVD Authoring Software Development Kit
|
This interface represents a virtual device used as a storage of a DVD video recording. More...
Public Member Functions | |
virtual void * | config ()=0 |
Returns a device configuration object. More... | |
virtual bool_t | eraseMedia ()=0 |
Erases a rewritable disc. More... | |
virtual const primo::dvdbuilder::ErrorInfo * | error () const =0 |
Returns the error information for the last operation. More... | |
virtual bool_t | initialize ()=0 |
Initializes VRDevice . More... | |
virtual uint64_t | mediaFreeSpace ()=0 |
Gets the remaining free space in bytes. More... | |
virtual bool_t | mediaIsBlank ()=0 |
Gets whether the disc is blank. More... | |
virtual bool_t | mediaIsReWritable ()=0 |
Gets whether the disc is rewritable. More... | |
virtual bool_t | notifyOSFileSystemChanged ()=0 |
Notifies the operating system that the file contents have changed. More... | |
virtual uint32_t | type ()=0 |
Gets the type of a video recording device. 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... | |
This interface represents a virtual device used as a storage of a DVD video recording.
The underlying physical device is either a file system or an optical disc burner.
An VRDevice instance can be created with VRDevicePlugin::createOpticalDiscDevice or VRDevicePlugin::createFileSystemDevice .
An VideoRecorder object needs at least one VRDevice. An VRDevice instance should be added to the device list of the video recorder: VideoRecorder::devices The VRDevice instance must be initialized successfully before it can be used for recording or reading.
|
pure virtual |
Returns a device configuration object.
It should be cast to the appropriate device configuration interface depending on the device type.
|
pure virtual |
Erases a rewritable disc.
When a disc is erased it becomes blank. The disc cannot be ejected manually while it is being erased.
|
pure virtual |
Returns the error information for the last operation.
|
pure virtual |
Initializes VRDevice .
This must be done before the device can be used for recording or reading existing data.
VideoRecorder should start the recording process (VideoRecorder::start ) only when all device instances in its device list are initialized successfully. A device instance may be initialized before or after it is added to the device list.
|
pure virtual |
Gets the remaining free space in bytes.
If the free space cannot be obtained VRDevice::error facility is non-zero. In this case the return value should be ignored.
|
pure virtual |
Gets whether the disc is blank.
If the blank state cannot be obtained VRDevice::error facility is non-zero. In this case the return value should be ignored.
|
pure virtual |
Gets whether the disc is rewritable.
If the rewritable state cannot be obtained VRDevice::error facility is non-zero. In this case the return value should be ignored.
|
pure virtual |
Notifies the operating system that the file contents have changed.
This is necessary to see the updated files in the file browser.
|
pure virtual |