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

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

Member Typedef Documentation

typedef vector<const Technology*> TechnologySelectionItemFactory::Container
 

Definition at line 116 of file choosetech.cpp.


Constructor & Destructor Documentation

TechnologySelectionItemFactory::TechnologySelectionItemFactory Player player  ) 
 

Definition at line 138 of file choosetech.cpp.

References restart().


Member Function Documentation

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

Implements SelectionItemFactory.

Definition at line 184 of file choosetech.cpp.

References assert, and techSelected.

void TechnologySelectionItemFactory::restart  )  [virtual]
 

Implements SelectionItemFactory.

Definition at line 150 of file choosetech.cpp.

References Available, it, items, Player::research, Research::techAvailable(), techComp(), and technologyRepository.

Referenced by TechnologySelectionItemFactory().

bool TechnologySelectionItemFactory::showAllTechs bool  all  )  [inline]
 

Definition at line 126 of file choosetech.cpp.

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

Implements SelectionItemFactory.

Definition at line 173 of file choosetech.cpp.

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


Member Data Documentation

Container::iterator TechnologySelectionItemFactory::it [protected]
 

Definition at line 119 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

Container TechnologySelectionItemFactory::items [protected]
 

Definition at line 120 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

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

Definition at line 129 of file choosetech.cpp.

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


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