• 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

  • 相关阅读:
    选择结构
    Java基本语法
    Java开发实战经典
    限时福利丨全网最全Java视频教程合集(java学习路线+视频+配套资料)
    入选《2021爱分析·区域性银行数字化厂商全景报告》,网易云信助力南京银行打造转型标杆
    资讯|WebRTC M94 更新
    网易云信的音频共享技术 | 体验共享专题
    网易云信 NERTC 高清画质体验之 H.265的工程实践 | 体验共享技术专题
    Jvm-Sandbox-Repeater 推送配置详解
    Jvm-Sandbox-Repeater 拉取配置详解
  • 原文地址:https://www.cnblogs.com/justin_s/p/1911132.html
Copyright © 2020-2023  润新知