Logo Search packages:      
Sourcecode: pwlib version File versions

BOOL PVideoChannel::IsOpen (  )  const [virtual]

return True if one (or both) of the video device class pointers is non NULL. If either pointer is non NULL, then a device is ready to be written to, which indicates this channel is open.

Reimplemented from PChannel.

Definition at line 207 of file pvidchan.cxx.

References accessMutex, mpInput, and mpOutput.

{
   PWaitAndSignal m(accessMutex);

   return (mpInput != NULL) || (mpOutput != NULL);
}


Generated by  Doxygen 1.6.0   Back to index