OpenVideo Documentation

   Main Page       Modules       Class Hierarchy       Alphabetical List       Compound List       File List       Compound Members       Related Pages   

openvideo::SchedulerPC Class Reference
[Core Classes]

#include <SchedulerPC.h>

Inherits openvideo::SchedulerBase.

List of all members.

Public Member Functions

 SchedulerPC ()
virtual ~SchedulerPC ()

Protected Member Functions

virtual void scheduleIdle ()
virtual void scheduleTimer ()
virtual void schedulePoll ()
virtual void unscheduleIdle ()
virtual void unscheduleTimer ()
virtual void unschedulePoll ()

Protected Attributes

bool isStarted
TimerACEtimer
bool exitIdle
ACE_Thread_Mutex * updateLock
ACE_Condition_Thread_Mutex * updateLockCond


Constructor & Destructor Documentation

SchedulerPC::SchedulerPC  ) 
 

The Constructor.

Definition at line 42 of file SchedulerPC.cxx.

References exitIdle.

SchedulerPC::~SchedulerPC  )  [virtual]
 

The destructor.

Definition at line 47 of file SchedulerPC.cxx.

References timer, updateLock, and updateLockCond.


Member Function Documentation

void SchedulerPC::scheduleIdle  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 58 of file SchedulerPC.cxx.

References exitIdle, and openvideo::Manager::update().

void SchedulerPC::schedulePoll  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 78 of file SchedulerPC.cxx.

References updateLock, and updateLockCond.

void SchedulerPC::scheduleTimer  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 66 of file SchedulerPC.cxx.

References openvideo::Manager::getInstance(), openvideo::TimerACE::runEventLoop(), openvideo::TimerACE::schedule(), timer, openvideo::Manager::update(), and openvideo::SchedulerBase::updateRate.

void SchedulerPC::unscheduleIdle  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 86 of file SchedulerPC.cxx.

References exitIdle.

void SchedulerPC::unschedulePoll  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 99 of file SchedulerPC.cxx.

References updateLock, and updateLockCond.

void SchedulerPC::unscheduleTimer  )  [protected, virtual]
 

Implements openvideo::SchedulerBase.

Definition at line 92 of file SchedulerPC.cxx.

References timer.


Member Data Documentation

bool openvideo::SchedulerPC::exitIdle [protected]
 

Definition at line 68 of file SchedulerPC.h.

Referenced by scheduleIdle(), SchedulerPC(), and unscheduleIdle().

bool openvideo::SchedulerPC::isStarted [protected]
 

Definition at line 66 of file SchedulerPC.h.

TimerACE* openvideo::SchedulerPC::timer [protected]
 

Definition at line 67 of file SchedulerPC.h.

Referenced by scheduleTimer(), unscheduleTimer(), and ~SchedulerPC().

ACE_Thread_Mutex* openvideo::SchedulerPC::updateLock [protected]
 

Mutex used in updateLockCond .

Definition at line 73 of file SchedulerPC.h.

Referenced by schedulePoll(), unschedulePoll(), and ~SchedulerPC().

ACE_Condition_Thread_Mutex* openvideo::SchedulerPC::updateLockCond [protected]
 

A condition variable which waits for an update to updateLock.

Definition at line 78 of file SchedulerPC.h.

Referenced by schedulePoll(), unschedulePoll(), and ~SchedulerPC().


The documentation for this class was generated from the following files:
 This page was generated at Wed May 31 13:04:19 2006 for OpenVideo by Doxygen.
 If you have any comments, please send a message to schmalstieg@icg.tu-graz.ac.at.
www.studierstube.org