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

Public Types

typedef vector< Vehicle * > Container
 

Public Member Functions

 VehicleSelectionFactory (Container &units)
 
void restart ()
 
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

Vehicleselected
 

Protected Attributes

Container::iterator it
 
Containeritems
 

Detailed Description

Definition at line 2627 of file cargodialog.cpp.

Member Typedef Documentation

Definition at line 2630 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::VehicleSelectionFactory::VehicleSelectionFactory ( Container units)
inline

Definition at line 2636 of file cargodialog.cpp.

Member Function Documentation

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

Implements SelectionItemFactory.

Definition at line 2649 of file cargodialog.cpp.

References CargoGuiFunctions::VehicleWidget::getUnit(), and selected.

void CargoGuiFunctions::VehicleSelectionFactory::restart ( )
inlinevirtual

Implements SelectionItemFactory.

Definition at line 2637 of file cargodialog.cpp.

References it, and items.

SelectionWidget* CargoGuiFunctions::VehicleSelectionFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
)
inlinevirtual

Implements SelectionItemFactory.

Definition at line 2641 of file cargodialog.cpp.

References it, and items.

Member Data Documentation

Container::iterator CargoGuiFunctions::VehicleSelectionFactory::it
protected

Definition at line 2632 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

Container& CargoGuiFunctions::VehicleSelectionFactory::items
protected

Definition at line 2633 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

Vehicle* CargoGuiFunctions::VehicleSelectionFactory::selected

Definition at line 2658 of file cargodialog.cpp.

Referenced by itemSelected(), and CargoGuiFunctions::selectVehicle().


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