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

RegenerativePowerPlant Class Reference

#include <containerbase-functions.h>

Inheritance diagram for RegenerativePowerPlant:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 RegenerativePowerPlant (ContainerBase *_bld)
virtual bool finished ()
virtual bool run ()
virtual Resources getUsage ()

Protected Attributes

ContainerBasebld
Resources toProduce

Constructor & Destructor Documentation

RegenerativePowerPlant::RegenerativePowerPlant ContainerBase _bld  ) 
 

Definition at line 510 of file containerbase-functions.cpp.


Member Function Documentation

bool RegenerativePowerPlant::finished  )  [virtual]
 

Implements ContainerBase::Work.

Definition at line 513 of file containerbase-functions.cpp.

References Resources::resource(), and toProduce.

Resources RegenerativePowerPlant::getUsage  )  [virtual]
 

Implements ContainerBase::Work.

Definition at line 533 of file containerbase-functions.cpp.

bool RegenerativePowerPlant::run  )  [virtual]
 

Implements ContainerBase::Work.

Definition at line 521 of file containerbase-functions.cpp.

References bld, ContainerBase::getOwner(), ContainerBase::putResource(), Resources::resource(), and toProduce.


Member Data Documentation

ContainerBase* RegenerativePowerPlant::bld [protected]
 

Definition at line 71 of file containerbase-functions.h.

Referenced by BiResourceGeneration::getPlus(), SolarPowerplant::getPlus(), WindPowerplant::getPlus(), and run().

Resources RegenerativePowerPlant::toProduce [protected]
 

Definition at line 72 of file containerbase-functions.h.

Referenced by BiResourceGeneration::BiResourceGeneration(), finished(), run(), SolarPowerplant::SolarPowerplant(), and WindPowerplant::WindPowerplant().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:20:10 2008 for Advanced Strategic Command by  doxygen 1.4.2