Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SCHEDULER Class Reference

#include <gel.H>

Inheritance diagram for SCHEDULER:

Inheritance graph
[legend]
Collaboration diagram for SCHEDULER:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SCHEDULER ()
virtual ~SCHEDULER ()
virtual int tick (void)
bool is_scheduled (CFRAMEobsptr &o) const
int get_index (CFRAMEobsptr &o) const
virtual void schedule (CFRAMEobsptr &o)
virtual void unschedule (CFRAMEobsptr &o)
virtual STAT_STR_RET class_name () const
virtual int is_of_type (Cstr_ptr &n) const
virtual void setIndex (int idx)
virtual int getIndex () const
void Own () const
void Free () const
int Lock ()
void Unlock ()
int Unique () const

Static Public Member Functions

static STAT_STR_RET static_name ()
static int isa (CSCHEDULERptr &o)

Protected Attributes

FRAMEobslist _scheduled
FRAMEobslist _unscheduled
bool _ticking
int _index

Detailed Description

Definition at line 63 of file gel.H.


Constructor & Destructor Documentation

SCHEDULER::SCHEDULER  )  [inline]
 

Definition at line 71 of file gel.H.

virtual SCHEDULER::~SCHEDULER  )  [inline, virtual]
 

Definition at line 72 of file gel.H.


Member Function Documentation

virtual STAT_STR_RET SCHEDULER::class_name  )  const [inline, virtual]
 

Definition at line 83 of file gel.H.

References static_name().

Referenced by VIEW::intersect(), and VIEW::nearest().

void REFcounter::Free  )  const [inline, inherited]
 

Definition at line 76 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

int SCHEDULER::get_index CFRAMEobsptr &  o  )  const
 

Definition at line 142 of file gel.C.

References _scheduled, and ARRAY< T >::get_index().

Referenced by is_scheduled(), and unschedule().

virtual int FRAMEobs::getIndex  )  const [inline, virtual, inherited]
 

Definition at line 45 of file gel.H.

References FRAMEobs::_index.

virtual int SCHEDULER::is_of_type Cstr_ptr &  n  )  const [inline, virtual]
 

Definition at line 84 of file gel.H.

References IS.

bool SCHEDULER::is_scheduled CFRAMEobsptr &  o  )  const
 

Definition at line 136 of file gel.C.

References get_index().

Referenced by schedule(), and unschedule().

static int SCHEDULER::isa CSCHEDULERptr &  o  )  [inline, static]
 

Definition at line 85 of file gel.H.

References ISA.

int REFcounter::Lock  )  [inline, inherited]
 

Definition at line 105 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::REFlock().

void REFcounter::Own  )  const [inline, inherited]
 

Definition at line 59 of file ref.H.

References REFcounter::_mutex, REFcounter::_u, and REF_ME.

void SCHEDULER::schedule CFRAMEobsptr &  o  )  [virtual]
 

Definition at line 154 of file gel.C.

References _scheduled, _unscheduled, ARRAY< T >::contains(), and is_scheduled().

virtual void FRAMEobs::setIndex int  idx  )  [inline, virtual, inherited]
 

Definition at line 44 of file gel.H.

References FRAMEobs::_index.

static STAT_STR_RET SCHEDULER::static_name  )  [inline, static]
 

Definition at line 82 of file gel.H.

References RET_STAT_STR.

Referenced by class_name(), and VIEW::get_view_data_file().

int SCHEDULER::tick void   )  [virtual]
 

Reimplemented from FRAMEobs.

Reimplemented in VIEW.

Definition at line 113 of file gel.C.

References _scheduled, _ticking, _unscheduled, ARRAY< T >::contains(), ARRAY< T >::empty(), ARRAY< T >::num(), ARRAY< T >::pop(), and unschedule().

int REFcounter::Unique  )  const [inline, inherited]
 

Definition at line 115 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

void REFcounter::Unlock  )  [inline, inherited]
 

Definition at line 111 of file ref.H.

References REFcounter::_mutex, and REFcounter::_u.

Referenced by REFlock::~REFlock().

void SCHEDULER::unschedule CFRAMEobsptr &  o  )  [virtual]
 

Definition at line 182 of file gel.C.

References _scheduled, _ticking, _unscheduled, ARRAY< T >::add_uniquely(), get_index(), is_scheduled(), ARRAY< T >::remove(), and ARRAY< T >::valid_index().

Referenced by tick().


Member Data Documentation

int FRAMEobs::_index [protected, inherited]
 

Definition at line 37 of file gel.H.

Referenced by FRAMEobs::getIndex(), and FRAMEobs::setIndex().

FRAMEobslist SCHEDULER::_scheduled [protected]
 

Definition at line 65 of file gel.H.

Referenced by get_index(), schedule(), VIEW::tick(), tick(), and unschedule().

bool SCHEDULER::_ticking [protected]
 

Definition at line 68 of file gel.H.

Referenced by tick(), and unschedule().

FRAMEobslist SCHEDULER::_unscheduled [protected]
 

Definition at line 66 of file gel.H.

Referenced by schedule(), tick(), and unschedule().


The documentation for this class was generated from the following files:
Generated on Mon Sep 18 11:47:04 2006 for jot by  doxygen 1.4.4