neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::mvc::i_controller Class Referenceabstract

#include <i_controller.hpp>

Inheritance diagram for neogfx::mvc::i_controller:
neogfx::mvc::controller

Classes

struct  view_not_found
 

Public Member Functions

 declare_event (view_added, i_view &) declare_event(view_removed
 
virtual const i_modelmodel () const =0
 
virtual i_modelmodel ()=0
 
virtual void add_view (i_view &aView)=0
 
virtual void add_view (std::shared_ptr< i_view > aView)=0
 
virtual void remove_view (i_view &aView)=0
 
virtual bool only_weak_views () const =0
 
virtual const i_view_containercontainer () const =0
 
virtual i_view_containercontainer ()=0
 

Detailed Description

Definition at line 32 of file i_controller.hpp.

Member Function Documentation

◆ add_view() [1/2]

virtual void neogfx::mvc::i_controller::add_view ( i_view aView)
pure virtual

Implemented in neogfx::mvc::controller.

◆ add_view() [2/2]

virtual void neogfx::mvc::i_controller::add_view ( std::shared_ptr< i_view aView)
pure virtual

Implemented in neogfx::mvc::controller.

◆ container() [1/2]

virtual const i_view_container & neogfx::mvc::i_controller::container ( ) const
pure virtual

Implemented in neogfx::mvc::controller.

◆ container() [2/2]

virtual i_view_container & neogfx::mvc::i_controller::container ( )
pure virtual

Implemented in neogfx::mvc::controller.

◆ declare_event()

neogfx::mvc::i_controller::declare_event ( view_added  ,
i_view  
)

◆ model() [1/2]

virtual const i_model & neogfx::mvc::i_controller::model ( ) const
pure virtual

Implemented in neogfx::mvc::controller.

◆ model() [2/2]

virtual i_model & neogfx::mvc::i_controller::model ( )
pure virtual

Implemented in neogfx::mvc::controller.

◆ only_weak_views()

virtual bool neogfx::mvc::i_controller::only_weak_views ( ) const
pure virtual

Implemented in neogfx::mvc::controller.

◆ remove_view()

virtual void neogfx::mvc::i_controller::remove_view ( i_view aView)
pure virtual

Implemented in neogfx::mvc::controller.


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