Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PVideoInputDevice_1394DC::Close (  )  [virtual]

Close the device.

Reimplemented from PVideoInputDevice.

Definition at line 423 of file video4dc1394.cxx.

References IsCapturing(), IsOpen(), and Stop().

Referenced by Open(), and ~PVideoInputDevice_1394DC().

{
  if (IsOpen()) {
    if (IsCapturing())
      Stop();
    dc1394_destroy_handle(handle);
    handle = NULL;
    return TRUE;
  } else
    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index