Scopira
20080306
|
#include <view.h>
Public Member Functions | |
virtual void | bind_model (scopira::core::model_i *sus) |
virtual void | react_model_update (scopira::core::model_i *sus, scopira::core::view_i *src) |
called when the model_i has "changed" by the given inspector (might be null) | |
void | set_view_action_reactor (view_action_reactor_i *vh) |
(internal) this is calle by infrastructure systems | |
Public Member Functions inherited from scopira::tool::object | |
virtual | ~object () |
int | add_ref (void) const |
bool | sub_ref (void) const |
void | auto_ref (void) const |
int | current_ref (void) const |
virtual scopira::tool::oflow_i & | print (scopira::tool::oflow_i &o) const |
virtual bool | load (scopira::tool::iobjflow_i &in) |
virtual void | save (scopira::tool::oobjflow_i &out) const |
bool | is_alive_object (void) const |
bool | is_dead_object (void) const |
Protected Member Functions | |
void | react_view_action (int actionID) |
descendants call this when they want to emit an action event | |
void | set_view_title (const std::string &newtitle) |
descedants call this when they want to change their displayed title | |
Protected Member Functions inherited from scopira::tool::object | |
object (void) | |
object (bool neverusecounter) | |
A generic "view" that can be paired with a model. This used to be an inspector.
|
virtual |
This is called when a new model_i is bound/unbound. This is also the only method called on non-gui views, so you should put your action code in this method in that case.
Referenced by scopira::core::bind_model_view().