VideoCaptureDeviceItem

The VideoCaptureDeviceItem identifies a video capture device. A VideoCaptureDeviceItem is a temporary object and may not be stored permanently. For permanent storage use the string representation as returned by c_str, toString, getName and operator const char*.

The list returned by Grabber::getAvailableVideoCaptureDevices consists of VideoCaptureDeviceItems. This list may be iterated or searched for a specific capture device with std::find.

Information

    Header File: tisudshl.h
    Namespace: DShowLib

Methods

Method Description
VideoCaptureDeviceItem

Constructs a new VideoCaptureDeviceItem by copying an existing one.

c_str

This method returns the name of the video capture device as reported by its driver.

createInvalid

This method creates an invalid VideoCaptureDeviceItem.

getBaseName

Returns the base name of the video capture device.

getDisplayName

Returns the display name of the video capture device.

getName

This method returns the name of the video capture device as reported by its driver.

getSerialNumber

Returns the serial number of the device.

getUniqueName

Returns a unique name for this device.

isValid

Checks whether this object represents a video capture device or not.

operator const char*

Returns a name of this video capture device.

operator<

Compares the name of the video capture device with the name of another one.

operator=

Assigns a VideoCaptureDeviceItem to this object.

operator==

Checks whether two video capture devices are identical.

toString

This method returns the name of the video capture device as reported by its driver.

<< Classes

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.