Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
ProductionItemFactory Class Reference
Inheritance diagram for ProductionItemFactory:
Inheritance graph
[legend]

Public Member Functions

 ProductionItemFactory (ContainerBase *container_)
 
void itemMarked (const SelectionWidget *widget)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
const VehicleTypegetSelectedVehicleType ()
 
- Public Member Functions inherited from MapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
 MapItemTypeWidgetFactory (const ItemRepository< ItemType > &itemRepository)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
- Public Member Functions inherited from BaseMapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
 BaseMapItemTypeWidgetFactory (const ItemRepository< ItemType > &itemRepository)
 
void restart ()
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
- Public Member Functions inherited from SelectionItemFactory
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

Protected Member Functions

bool isFiltered (const ItemType &item)
 
- Protected Member Functions inherited from BaseMapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
virtual void registerItem (MapItemTypeWidget< VehicleType > *item)
 

Additional Inherited Members

- Protected Types inherited from MapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
typedef MapItemTypeWidget
< VehicleType >::ItemType 
ItemType
 
- Protected Types inherited from BaseMapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
typedef MapItemTypeWidget
< VehicleType >::ItemType 
ItemType
 
typedef vector< ItemType * > Items
 
- Protected Attributes inherited from BaseMapItemTypeWidgetFactory< MapItemTypeWidget< VehicleType > >
Items::iterator it
 

Detailed Description

Definition at line 369 of file edselfnt.cpp.

Constructor & Destructor Documentation

ProductionItemFactory::ProductionItemFactory ( ContainerBase container_)
inline

Definition at line 389 of file edselfnt.cpp.

Member Function Documentation

const VehicleType* ProductionItemFactory::getSelectedVehicleType ( )
inline

Definition at line 410 of file edselfnt.cpp.

bool ProductionItemFactory::isFiltered ( const ItemType item)
inlineprotectedvirtual
void ProductionItemFactory::itemMarked ( const SelectionWidget widget)
inlinevirtual

Reimplemented from SelectionItemFactory.

Definition at line 392 of file edselfnt.cpp.

References MapItemTypeWidget< MapItemType >::getItem().

Referenced by itemSelected().

void ProductionItemFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
inlinevirtual

Implements SelectionItemFactory.

Definition at line 405 of file edselfnt.cpp.

References itemMarked().


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