DVDBuilder for C++  3.4
DVD Authoring Software Development Kit
VRDeviceList Class Referenceabstract

This interface is used to add/remove devices to the VideoRecorder instance. More...

Inheritance diagram for VRDeviceList:
Reference

Public Member Functions

virtual void add (VRDevice *pObject)=0
 Adds an VRDevice instance to the list. More...
 
virtual void clear ()=0
 Removes all items from the list. More...
 
virtual int count ()=0
 Gets the number of items in the list. More...
 
virtual VRDeviceitem (int index)=0
 Gets an item with a given index. More...
 
virtual void removeAt (int index)=0
 Removes an item with the specified index from the list. More...
 
virtual void setItem (int index, VRDevice *pObject)=0
 Sets an VRDevice instance at a given index. 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...
 

Detailed Description

This interface is used to add/remove devices to the VideoRecorder instance.

The recorder writes the DVD content to all devices in its device list.

The device list can be obtained via VideoRecorder::devices .

See also
VideoRecorder::devices
VRDevicePlugin::createOpticalDiscDevice
VRDevicePlugin::createFileSystemDevice
Version
2.0

Member Function Documentation

virtual void add ( VRDevice pObject)
pure virtual

Adds an VRDevice instance to the list.

Parameters
pObject[in] A pointer to VRDevice instance.
Version
2.0
virtual void clear ( )
pure virtual

Removes all items from the list.

The device instances are not automatically released.

Version
2.0
virtual int count ( )
pure virtual

Gets the number of items in the list.

Returns
The number of items in the list.
Version
2.0
virtual VRDevice* item ( int  index)
pure virtual

Gets an item with a given index.

Parameters
index[in] The zero based index of an VRDevice instance.
Version
2.0
virtual void removeAt ( int  index)
pure virtual

Removes an item with the specified index from the list.

The removed device is not automatically released.

Parameters
index[in] The index of the item to be removed from the list
Version
2.0
virtual void setItem ( int  index,
VRDevice pObject 
)
pure virtual

Sets an VRDevice instance at a given index.

Parameters
index[in] A zero based index in the device list.
pObject[in] A pointer to an VRDevice instance that should be set at the specified position in the device list.
Version
2.0