Advanced Strategic Command
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
VehicleProduction_SelectionItemFactory Class Reference

#include <vehicleproductionselection.h>

Inheritance diagram for VehicleProduction_SelectionItemFactory:
Inheritance graph
[legend]

Public Member Functions

 VehicleProduction_SelectionItemFactory (Resources plantResources, const ContainerBase *productionplant, const ConstructUnitCommand::Producables &produceableUnits)
 
bool getAmmoFilling ()
 
bool setAmmoFilling (bool value)
 
bool getResourceFilling ()
 
bool setResourceFilling (bool value)
 
Resources getCost (const VehicleType *type)
 
void updateProducables ()
 
 ~VehicleProduction_SelectionItemFactory ()
 
- Public Member Functions inherited from VehicleTypeSelectionItemFactory
 VehicleTypeSelectionItemFactory (Resources plantResources, const Container &types, const Player &player)
 
 VehicleTypeSelectionItemFactory (const Container &types, const Player &player)
 
void restart ()
 
void setAvailableResource (const Resources &plantResources)
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
- Public Member Functions inherited from SelectionItemFactory
virtual void itemMarked (const SelectionWidget *widget)
 
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

Public Attributes

sigc::signal< void, const
VehicleType *, bool > 
sigVehicleTypeSelected
 
sigc::signal< void, const
VehicleType * > 
sigVehicleTypeMarked
 
- Public Attributes inherited from VehicleTypeSelectionItemFactory
sigc::signal< void > reloadAllItems
 

Protected Member Functions

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

Additional Inherited Members

- Public Types inherited from VehicleTypeSelectionItemFactory
typedef vector< const
VehicleType * > 
Container
 
- Static Public Attributes inherited from VehicleTypeSelectionItemFactory
static sigc::signal< void,
const VehicleType * > 
showVehicleInfo
 
- Protected Attributes inherited from VehicleTypeSelectionItemFactory
Container::iterator it
 
Container items
 

Detailed Description

Definition at line 18 of file vehicleproductionselection.h.

Constructor & Destructor Documentation

VehicleProduction_SelectionItemFactory::VehicleProduction_SelectionItemFactory ( Resources  plantResources,
const ContainerBase productionplant,
const ConstructUnitCommand::Producables produceableUnits 
)

Definition at line 24 of file vehicleproductionselection.cpp.

VehicleProduction_SelectionItemFactory::~VehicleProduction_SelectionItemFactory ( )
inline

Definition at line 54 of file vehicleproductionselection.h.

Member Function Documentation

bool VehicleProduction_SelectionItemFactory::getAmmoFilling ( )
Resources VehicleProduction_SelectionItemFactory::getCost ( const VehicleType type)
virtual
bool VehicleProduction_SelectionItemFactory::getResourceFilling ( )
void VehicleProduction_SelectionItemFactory::itemMarked ( const SelectionWidget widget,
bool  mouse 
)
protected
bool VehicleProduction_SelectionItemFactory::setAmmoFilling ( bool  value)
bool VehicleProduction_SelectionItemFactory::setResourceFilling ( bool  value)
void VehicleProduction_SelectionItemFactory::updateProducables ( )
void VehicleProduction_SelectionItemFactory::vehicleTypeSelected ( const VehicleType type,
bool  mouse 
)
protectedvirtual

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 50 of file vehicleproductionselection.cpp.

References sigVehicleTypeSelected.

Member Data Documentation

sigc::signal<void,const VehicleType* > VehicleProduction_SelectionItemFactory::sigVehicleTypeMarked
sigc::signal<void,const VehicleType*, bool > VehicleProduction_SelectionItemFactory::sigVehicleTypeSelected

The documentation for this class was generated from the following files: