BC_Repeater Class Reference

#include <bcrepeater.h>

Inherits Thread.

Collaboration diagram for BC_Repeater:

Collaboration graph
[legend]

Public Member Functions

 BC_Repeater (BC_WindowBase *top_level, long delay)
 ~BC_Repeater ()
void initialize ()
int start_repeating ()
int stop_repeating ()
void run ()

Data Fields

long repeat_id
long delay
int repeating
int interrupted
Conditionrepeat_lock

Private Attributes

Timer timer
BC_WindowBasetop_level
long next_delay
Conditionpause_lock
Conditionstartup_lock

Detailed Description

Definition at line 10 of file bcrepeater.h.


Constructor & Destructor Documentation

BC_Repeater::BC_Repeater ( BC_WindowBase top_level,
long  delay 
)

Definition at line 8 of file bcrepeater.C.

References interrupted, pause_lock, repeat_lock, repeating, Thread::set_synchronous(), and startup_lock.

Here is the call graph for this function:

BC_Repeater::~BC_Repeater (  ) 

Definition at line 22 of file bcrepeater.C.

References Thread::end(), interrupted, Thread::join(), pause_lock, repeat_lock, startup_lock, and Condition::unlock().

Here is the call graph for this function:


Member Function Documentation

void BC_Repeater::initialize (  ) 

Definition at line 36 of file bcrepeater.C.

References Condition::lock(), Thread::start(), and startup_lock.

Referenced by BC_WindowBase::set_repeat().

Here is the call graph for this function:

int BC_Repeater::start_repeating (  ) 

Definition at line 43 of file bcrepeater.C.

References pause_lock, repeating, and Condition::unlock().

Referenced by BC_WindowBase::set_repeat().

Here is the call graph for this function:

int BC_Repeater::stop_repeating (  ) 

Definition at line 55 of file bcrepeater.C.

References Condition::lock(), pause_lock, and repeating.

Referenced by BC_WindowBase::unset_all_repeaters(), and BC_WindowBase::unset_repeat().

Here is the call graph for this function:

void BC_Repeater::run (  )  [virtual]


Field Documentation

Definition at line 21 of file bcrepeater.h.

Definition at line 23 of file bcrepeater.h.

Referenced by BC_Repeater(), run(), start_repeating(), and stop_repeating().

Definition at line 24 of file bcrepeater.h.

Referenced by BC_Repeater(), run(), and ~BC_Repeater().

Definition at line 26 of file bcrepeater.h.

Referenced by BC_Repeater(), BC_WindowBase::dispatch_repeat_event(), run(), and ~BC_Repeater().

Definition at line 29 of file bcrepeater.h.

Referenced by run().

Definition at line 30 of file bcrepeater.h.

Referenced by run().

long BC_Repeater::next_delay [private]

Definition at line 32 of file bcrepeater.h.

Referenced by run().

Definition at line 33 of file bcrepeater.h.

Referenced by BC_Repeater(), run(), start_repeating(), stop_repeating(), and ~BC_Repeater().

Definition at line 34 of file bcrepeater.h.

Referenced by BC_Repeater(), initialize(), run(), and ~BC_Repeater().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:15:16 2008 for Cinelerra by  doxygen 1.5.5