CargoGuiFunctions::VehicleSelectionFactory Class Reference

Inheritance diagram for CargoGuiFunctions::VehicleSelectionFactory:

Inheritance graph
[legend]
List of all members.

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 Attributes

Vehicleselected

Protected Attributes

Container::iterator it
Containeritems

Detailed Description

Definition at line 2626 of file cargodialog.cpp.


Member Typedef Documentation

typedef vector<Vehicle*> CargoGuiFunctions::VehicleSelectionFactory::Container

Definition at line 2629 of file cargodialog.cpp.


Constructor & Destructor Documentation

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

Definition at line 2635 of file cargodialog.cpp.


Member Function Documentation

void CargoGuiFunctions::VehicleSelectionFactory::restart (  )  [inline, virtual]

Implements SelectionItemFactory.

Definition at line 2636 of file cargodialog.cpp.

References it, and items.

SelectionWidget* CargoGuiFunctions::VehicleSelectionFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
) [inline, virtual]

Implements SelectionItemFactory.

Definition at line 2640 of file cargodialog.cpp.

References it, and items.

void CargoGuiFunctions::VehicleSelectionFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
) [inline, virtual]

Implements SelectionItemFactory.

Definition at line 2648 of file cargodialog.cpp.

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


Member Data Documentation

Container::iterator CargoGuiFunctions::VehicleSelectionFactory::it [protected]

Definition at line 2631 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

Container& CargoGuiFunctions::VehicleSelectionFactory::items [protected]

Definition at line 2632 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

Vehicle* CargoGuiFunctions::VehicleSelectionFactory::selected

Definition at line 2657 of file cargodialog.cpp.

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


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:49:03 2012 for Advanced Strategic Command by  doxygen 1.5.1