The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
gui2::single_mode_controller Class Referenceabstract
Inheritance diagram for gui2::single_mode_controller:
Inheritance graph

Public Member Functions

 single_mode_controller (const std::string &name, tgamestate_inspector::model &m)
 
virtual ~single_mode_controller ()
 
std::string name () const
 
virtual void show_stuff_list ()=0
 
virtual void handle_stuff_list_selection ()=0
 
virtual void update_view_from_model ()=0
 

Protected Attributes

tgamestate_inspector::modelmodel_
 
std::string name_
 

Detailed Description

Definition at line 215 of file gamestate_inspector.cpp.

Constructor & Destructor Documentation

gui2::single_mode_controller::single_mode_controller ( const std::string name,
tgamestate_inspector::model m 
)
inline

Definition at line 218 of file gamestate_inspector.cpp.

virtual gui2::single_mode_controller::~single_mode_controller ( )
inlinevirtual

Definition at line 223 of file gamestate_inspector.cpp.

Member Function Documentation

virtual void gui2::single_mode_controller::handle_stuff_list_selection ( )
pure virtual
std::string gui2::single_mode_controller::name ( ) const
inline

Definition at line 227 of file gamestate_inspector.cpp.

References name_.

virtual void gui2::single_mode_controller::show_stuff_list ( )
pure virtual
virtual void gui2::single_mode_controller::update_view_from_model ( )
pure virtual

Member Data Documentation

tgamestate_inspector::model& gui2::single_mode_controller::model_
protected
std::string gui2::single_mode_controller::name_
protected

Definition at line 238 of file gamestate_inspector.cpp.

Referenced by name().


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