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

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

Member Typedef Documentation

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

Definition at line 2617 of file cargodialog.cpp.


Constructor & Destructor Documentation

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

Definition at line 2623 of file cargodialog.cpp.


Member Function Documentation

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

Implements SelectionItemFactory.

Definition at line 2635 of file cargodialog.cpp.

References assert, and selected.

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

Implements SelectionItemFactory.

Definition at line 2624 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 2626 of file cargodialog.cpp.

References it, items, and PG_Rect::Width().


Member Data Documentation

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

Definition at line 2619 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

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

Definition at line 2620 of file cargodialog.cpp.

Referenced by restart(), and spawnNextItem().

Vehicle* CargoGuiFunctions::VehicleSelectionFactory::selected
 

Definition at line 2645 of file cargodialog.cpp.

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


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