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

CVideoDevice::~CVideoDevice (  ) 

Destroys the object; also closes the associated file descriptor

Definition at line 132 of file VideoDevice.cc.

References CleanUp(), and Closed().

{
   if (Opened > 1)
     qWarning("Warning: CVideoDevice `%s' was destroyed when it was in use more than once.", (const char *)NodeName);
   CleanUp();
   if (CamFD >= 0) {
     close(CamFD);
     emit Closed();
   }

   ResetImagesRGB();
   ResetImagesYUV();
   delete pNullImage;
}


Generated by  Doxygen 1.6.0   Back to index