I have some MVC code, it use the observer mode, such as below:
void Model::ChangeMethod1() { m_A = m_A + 1; ... Notify(); } void Model::ChangeMethod2