ACT::Basic_Listen_Monitor< Listener > Class Template Reference

Base class for monitor service actions. More...

#include <Listen.hpp>

Inheritance diagram for ACT::Basic_Listen_Monitor< Listener >:

ACT::simple_act ACT::basic_act ACT::N_to_completion_Monitor

List of all members.

Protected Member Functions

ACT_State wake_up_ready_tasks ()
void add_ready_listener_task (wakeup_listener *)
void add_waiting_listener_task (Listener *, wakeup_listener *)
 Add an item to the waiting list.
virtual ~Basic_Listen_Monitor ()
 Trivial virtual destructor.


Detailed Description

template<class Listener>
class ACT::Basic_Listen_Monitor< Listener >

Base class for monitor service actions.

Collaborators:


Constructor & Destructor Documentation

template<class Listener>
virtual ACT::Basic_Listen_Monitor< Listener >::~Basic_Listen_Monitor (  )  [inline, protected, virtual]

Trivial virtual destructor.


Member Function Documentation

template<class Listener>
ACT_State ACT::Basic_Listen_Monitor< Listener >::wake_up_ready_tasks (  )  [inline, protected]

Run through the ready list and wake up all the tasks on it, removing them from the ready list.

This is typically the last statement in the action body of a derived monitor.

Postcondition:
  • return value is either Completed or Working

template<class Listener>
void ACT::Basic_Listen_Monitor< Listener >::add_ready_listener_task ( wakeup_listener w  )  [inline, protected]

Add an item directly to the ready list, skipping readiness checking

Since the item is known to be ready, it needs no further examination. It need not appear in the parameter list, in contradistinction to add_waiting_listener_task.

template<class Listener>
void ACT::Basic_Listen_Monitor< Listener >::add_waiting_listener_task ( Listener *  ,
wakeup_listener  
) [protected]

Add an item to the waiting list.


The documentation for this class was generated from the following files:
Generated on Thu Mar 6 18:25:09 2008 for Gnash by  doxygen 1.5.4