Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

KeepaliveThread Class Reference

#include <videodevice.h>

List of all members.

Public Member Functions

 KeepaliveThread (VideoDevice *device)
 ~KeepaliveThread ()
void run ()
int reset_keepalive ()
int get_failed ()
int start_keepalive ()
int stop ()

Public Attributes

Timer timer
int still_alive
int failed
int interrupted
VideoDevicedevice
Mutex * startup_lock
int capturing


Detailed Description

Definition at line 42 of file videodevice.h.


Constructor & Destructor Documentation

KeepaliveThread::KeepaliveThread VideoDevice device  ) 
 

Definition at line 27 of file videodevice.C.

References capturing, failed, interrupted, startup_lock, and still_alive.

KeepaliveThread::~KeepaliveThread  ) 
 

Definition at line 39 of file videodevice.C.

References startup_lock.


Member Function Documentation

int KeepaliveThread::get_failed  ) 
 

Definition at line 78 of file videodevice.C.

References failed.

Referenced by VideoDevice::get_failed().

int KeepaliveThread::reset_keepalive  ) 
 

Definition at line 73 of file videodevice.C.

References still_alive.

Referenced by VideoDevice::read_buffer().

void KeepaliveThread::run  ) 
 

Definition at line 52 of file videodevice.C.

References capturing, failed, interrupted, KEEPALIVE_DELAY, startup_lock, still_alive, and timer.

int KeepaliveThread::start_keepalive  ) 
 

Definition at line 44 of file videodevice.C.

References startup_lock.

Referenced by VideoDevice::open_input().

int KeepaliveThread::stop  ) 
 

Definition at line 83 of file videodevice.C.

References interrupted.

Referenced by VideoDevice::close_all().


Member Data Documentation

int KeepaliveThread::capturing
 

Definition at line 60 of file videodevice.h.

Referenced by KeepaliveThread(), VideoDevice::read_buffer(), and run().

VideoDevice* KeepaliveThread::device
 

Definition at line 58 of file videodevice.h.

int KeepaliveThread::failed
 

Definition at line 56 of file videodevice.h.

Referenced by get_failed(), KeepaliveThread(), and run().

int KeepaliveThread::interrupted
 

Definition at line 57 of file videodevice.h.

Referenced by KeepaliveThread(), run(), and stop().

Mutex* KeepaliveThread::startup_lock
 

Definition at line 59 of file videodevice.h.

Referenced by KeepaliveThread(), run(), start_keepalive(), and ~KeepaliveThread().

int KeepaliveThread::still_alive
 

Definition at line 55 of file videodevice.h.

Referenced by KeepaliveThread(), reset_keepalive(), and run().

Timer KeepaliveThread::timer
 

Definition at line 54 of file videodevice.h.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:16 2006 for Cinelerra-svn by  doxygen 1.4.4