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

  • 相关阅读:
    【机器学习】:Xgboost和GBDT的不同与比较
    golang pprof
    终于解决了AMD RYZEN 3970X的散热问题
    2022,你好
    二叉树的遍历 → 不用递归,还能遍历吗
    异或运算的巧用 → 不用额外的变量,如何交换两个变量的值?
    关于 RocketMQ 事务消息的正确打开方式 → 你学废了吗
    单向链表的花式玩法 → 还在玩反转?
    二叉树的简单实战 → 一起温故下二叉树的遍历
    序列化和反序列化
  • 原文地址:https://www.cnblogs.com/justin_s/p/1911132.html
Copyright © 2011-2022 走看看