StdDawnTilDusk Class Reference

Inheritance diagram for StdDawnTilDusk:
Inheritance graph
[legend]
Collaboration diagram for StdDawnTilDusk:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StdDawnTilDusk ()
 ~StdDawnTilDusk ()
virtual Schedulersunrise (string who)
virtual void sunset (string who)
virtual void wait_for_finish ()
virtual void print_active_object_list ()

Detailed Description

This pool relies on one Thread spawner and will serialize the incoming requests by sending them to an active object. The scheduler requested for the self active object (called "ao-pool") will be itself, however, when the sun sets for the ao-pool will the application terminate. The sun will set for ao-pool when it finds no active requests pending. This pool offers the following advantages


Constructor & Destructor Documentation

StdDawnTilDusk::StdDawnTilDusk (  )  [inline]
StdDawnTilDusk::~StdDawnTilDusk (  )  [inline]

Member Function Documentation

virtual void StdDawnTilDusk::print_active_object_list (  )  [inline, virtual]

can be called to print the list of active objects

Implements DawnTilDusk.

virtual Scheduler* StdDawnTilDusk::sunrise ( string  who  )  [inline, virtual]

Called by the constructor of each active object to obtain a scheduler for itself

Implements DawnTilDusk.

References aoPool.

virtual void StdDawnTilDusk::sunset ( string  who  )  [inline, virtual]

Called by the scheduler whenever an active object dies

Implements DawnTilDusk.

virtual void StdDawnTilDusk::wait_for_finish (  )  [inline, virtual]

Implements DawnTilDusk.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2