TechnologySelectionItemFactory Class Reference

Inheritance diagram for TechnologySelectionItemFactory:

Inheritance graph
[legend]
List of all members.

Public Types

typedef vector< const Technology * > Container

Public Member Functions

 TechnologySelectionItemFactory (Player &player)
bool showAllTechs (bool all)
void restart ()
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
void itemSelected (const SelectionWidget *widget, bool mouse)

Public Attributes

SigC::Signal1< void, const
Technology * > 
techSelected

Protected Attributes

Container::iterator it
Container items

Detailed Description

Definition at line 115 of file choosetech.cpp.


Member Typedef Documentation

typedef vector<const Technology*> TechnologySelectionItemFactory::Container

Definition at line 119 of file choosetech.cpp.


Constructor & Destructor Documentation

TechnologySelectionItemFactory::TechnologySelectionItemFactory ( Player player  ) 

Definition at line 141 of file choosetech.cpp.

References restart().


Member Function Documentation

bool TechnologySelectionItemFactory::showAllTechs ( bool  all  )  [inline]

Definition at line 129 of file choosetech.cpp.

void TechnologySelectionItemFactory::restart (  )  [virtual]

Implements SelectionItemFactory.

Definition at line 153 of file choosetech.cpp.

References DirectResearchCommand::getAvailableTechnologies(), it, items, and techComp().

Referenced by TechnologySelectionItemFactory().

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

Implements SelectionItemFactory.

Definition at line 163 of file choosetech.cpp.

References Player::getPosition(), it, and items.

void TechnologySelectionItemFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
) [virtual]

Implements SelectionItemFactory.

Definition at line 174 of file choosetech.cpp.

References TechWidget::getTechnology(), and techSelected.


Member Data Documentation

Container::iterator TechnologySelectionItemFactory::it [protected]

Definition at line 122 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

Container TechnologySelectionItemFactory::items [protected]

Definition at line 123 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

SigC::Signal1<void,const Technology*> TechnologySelectionItemFactory::techSelected

Definition at line 132 of file choosetech.cpp.

Referenced by ChooseTech::ChooseTech(), and itemSelected().


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