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

Public Types

typedef set< ASCStringContainer
 

Public Member Functions

 TechAdapterSelectionItemFactory ()
 
 TechAdapterSelectionItemFactory (set< ASCString > &adapter)
 
void restart ()
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
void itemMarked (const SelectionWidget *widget, bool mouse)
 
ASCString getSelected ()
 
- Public Member Functions inherited from SelectionItemFactory
virtual void itemMarked (const SelectionWidget *widget)
 
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

Public Attributes

sigc::signal< void, const
ASCString & > 
techSelected
 

Protected Attributes

Container::iterator it
 
Container items
 
ContaineradapterForPlayer
 

Detailed Description

Definition at line 70 of file edittechadapter.cpp.

Member Typedef Documentation

Definition at line 77 of file edittechadapter.cpp.

Constructor & Destructor Documentation

TechAdapterSelectionItemFactory::TechAdapterSelectionItemFactory ( )

Definition at line 103 of file edittechadapter.cpp.

References restart().

TechAdapterSelectionItemFactory::TechAdapterSelectionItemFactory ( set< ASCString > &  adapter)

Definition at line 108 of file edittechadapter.cpp.

References restart().

Member Function Documentation

ASCString TechAdapterSelectionItemFactory::getSelected ( )
inline

Definition at line 98 of file edittechadapter.cpp.

Referenced by EditTechAdapter::add(), and EditTechAdapter::remove().

void TechAdapterSelectionItemFactory::itemMarked ( const SelectionWidget widget,
bool  mouse 
)

Definition at line 149 of file edittechadapter.cpp.

References itemSelected().

void TechAdapterSelectionItemFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
virtual

Implements SelectionItemFactory.

Definition at line 154 of file edittechadapter.cpp.

References TechAdapterWidget::getName(), and techSelected.

Referenced by itemMarked().

void TechAdapterSelectionItemFactory::restart ( )
virtual

Implements SelectionItemFactory.

Definition at line 123 of file edittechadapter.cpp.

References adapterForPlayer, it, items, and techAdapterContainer.

Referenced by TechAdapterSelectionItemFactory().

SelectionWidget * TechAdapterSelectionItemFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
)
virtual

Implements SelectionItemFactory.

Definition at line 138 of file edittechadapter.cpp.

References it, and items.

Member Data Documentation

Container* TechAdapterSelectionItemFactory::adapterForPlayer
protected

Definition at line 82 of file edittechadapter.cpp.

Referenced by restart().

Container::iterator TechAdapterSelectionItemFactory::it
protected

Definition at line 80 of file edittechadapter.cpp.

Referenced by restart(), and spawnNextItem().

Container TechAdapterSelectionItemFactory::items
protected

Definition at line 81 of file edittechadapter.cpp.

Referenced by restart(), and spawnNextItem().

sigc::signal<void,const ASCString&> TechAdapterSelectionItemFactory::techSelected

Definition at line 91 of file edittechadapter.cpp.

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


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