zoukankan      html  css  js  c++  java
  • Roc加载模块过程

    System(Facade)::initializeSystem

      set up Controller & Model

    Controller initilization

        intilize system env

        start init_module []

          register init module

          create module state

            init_state.reset

            register state to system

          create module UIs

    A:   changeStateTo init state

             check if is a new state to enter, new_state.enterState(noti,old_state)

                state.send notification of SimInitNoti_StartInit

    B:         push notice to notification queue and begin handling loop

                         System::handleNotification –> Controller.handleNotification 

                          pass to module or state to handle, and get next state

                          State’s handling to notification according to different types

                          change to next state, which falls back to lable A, but with a different new state.

                          

           

               1.      check_env

               2.      create main module

                           create_main_module

                                 create states:  rocmain_InitState\RocMain_RocDefaultState\RocMain_RocUISetupState

                                 create UIs

                                       main window

                                       window mediator

              3.       create availableModules

                                create browser module

                                create edit module and multi-edit module

                                add to above 3 to main module

              4.        start_roc_main 

                                unload init module

                                find roc main module

  • 相关阅读:
    ReactNative 适合初学的第一个教程demo,找租房
    ReactNative 从环境和第一个demo说起,填坑教程
    WKWebView与JS交互,UIWebView+JavascriptCore和JS交互
    JS中匿名函数$(function(){ })和(function(){})()的区别
    对前端的一个H5项目的所思所想
    使用Swift打造动态库SDK和DemoAPP时所遇到的(Xcode7.3)
    Git 分支合并代码
    Flutter中fluro使用
    flutter_redux框架的使用
    解决React-native init 初始化时 info Installing required CocoaPods dependencies
  • 原文地址:https://www.cnblogs.com/justin_s/p/1911132.html
Copyright © 2011-2022 走看看