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

VehicleProduction_SelectionItemFactory Class Reference

Inheritance diagram for VehicleProduction_SelectionItemFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 VehicleProduction_SelectionItemFactory (Resources plantResources, const ContainerBase *productionplant)
bool getAmmoFilling ()
bool setAmmoFilling (bool value)
bool getResourceFilling ()
bool setResourceFilling (bool value)
Resources getCost (const Vehicletype *type)
 ~VehicleProduction_SelectionItemFactory ()

Public Attributes

SigC::Signal2< void, const
Vehicletype *, bool > 
sigVehicleTypeSelected
SigC::Signal1< void, const
Vehicletype * > 
sigVehicleTypeMarked

Protected Member Functions

void vehicleTypeSelected (const Vehicletype *type, bool mouse)
void itemMarked (const SelectionWidget *widget, bool mouse)
const ContainergetOriginalItems ()

Constructor & Destructor Documentation

VehicleProduction_SelectionItemFactory::VehicleProduction_SelectionItemFactory Resources  plantResources,
const ContainerBase productionplant
[inline]
 

Definition at line 648 of file cargodialog.cpp.

VehicleProduction_SelectionItemFactory::~VehicleProduction_SelectionItemFactory  )  [inline]
 

Definition at line 703 of file cargodialog.cpp.


Member Function Documentation

bool VehicleProduction_SelectionItemFactory::getAmmoFilling  )  [inline]
 

Definition at line 657 of file cargodialog.cpp.

References ContainerBaseType::AmmoProduction, ContainerBase::baseType, and ContainerBaseType::hasFunction().

Referenced by VehicleProduction_SelectionWindow::fillWithAmmo().

Resources VehicleProduction_SelectionItemFactory::getCost const Vehicletype type  )  [inline, virtual]
 

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 685 of file cargodialog.cpp.

References SingleWeapon::count, cwaffenproduktionskosten, Resources::fuel, ContainerBase::getMap(), ContainerBase::getProductionCost(), SingleWeapon::getScalarWeaponType(), ContainerBaseType::getStorageCapacity(), Resources::material, SingleWeapon::requiresAmmo(), UnitWeapon::weapon, and Vehicletype::weapons.

const Container& VehicleProduction_SelectionItemFactory::getOriginalItems  )  [inline, protected, virtual]
 

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 641 of file cargodialog.cpp.

References ContainerBase::getProduction().

bool VehicleProduction_SelectionItemFactory::getResourceFilling  )  [inline]
 

Definition at line 672 of file cargodialog.cpp.

Referenced by VehicleProduction_SelectionWindow::fillWithResources(), and VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow().

void VehicleProduction_SelectionItemFactory::itemMarked const SelectionWidget widget,
bool  mouse
[inline, protected]
 

Definition at line 631 of file cargodialog.cpp.

References assert, and sigVehicleTypeMarked.

bool VehicleProduction_SelectionItemFactory::setAmmoFilling bool  value  )  [inline]
 

Definition at line 665 of file cargodialog.cpp.

References VehicleTypeSelectionItemFactory::reloadAllItems.

Referenced by VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow().

bool VehicleProduction_SelectionItemFactory::setResourceFilling bool  value  )  [inline]
 

Definition at line 677 of file cargodialog.cpp.

References VehicleTypeSelectionItemFactory::reloadAllItems.

Referenced by VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow().

void VehicleProduction_SelectionItemFactory::vehicleTypeSelected const Vehicletype type,
bool  mouse
[inline, protected, virtual]
 

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 626 of file cargodialog.cpp.

References sigVehicleTypeSelected.


Member Data Documentation

SigC::Signal1<void,const Vehicletype* > VehicleProduction_SelectionItemFactory::sigVehicleTypeMarked
 

Definition at line 701 of file cargodialog.cpp.

Referenced by itemMarked(), and VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow().

SigC::Signal2<void,const Vehicletype*, bool > VehicleProduction_SelectionItemFactory::sigVehicleTypeSelected
 

Definition at line 698 of file cargodialog.cpp.

Referenced by VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow(), and vehicleTypeSelected().


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