当前位置: 首页>>代码示例>>C++>>正文


C++ sf_machine_global_initializer_called函数代码示例

本文整理汇总了C++中sf_machine_global_initializer_called函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_machine_global_initializer_called函数的具体用法?C++ sf_machine_global_initializer_called怎么用?C++ sf_machine_global_initializer_called使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了sf_machine_global_initializer_called函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: mdlProcessParameters_c4_Force_Rendering

static void mdlProcessParameters_c4_Force_Rendering(SimStruct *S)
{
  int i;
  for(i=0;i<ssGetNumRunTimeParams(S);i++) {
    if(ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }
  if(sf_machine_global_initializer_called()) {
    initialize_params_c4_Force_Rendering();
  }
}
开发者ID:ChristopherMcFaul,项目名称:Previous-Work,代码行数:12,代码来源:c4_Force_Rendering.c

示例2: mdlProcessParameters_c2_tablerot_id

static void mdlProcessParameters_c2_tablerot_id(SimStruct *S)
{
   int i;
   for(i=0;i<ssGetNumRunTimeParams(S);i++) {
      if(ssGetSFcnParamTunable(S,i)) {
         ssUpdateDlgParamAsRunTimeParam(S,i);
      }
   }
   if(sf_machine_global_initializer_called()) {
       initialize_params_c2_tablerot_id((SFc2_tablerot_idInstanceStruct*)(((ChartInfoStruct *)ssGetUserData(S))->chartInstance));
   }
}
开发者ID:avnishks,项目名称:btp1,代码行数:12,代码来源:c2_tablerot_id.c

示例3: mdlProcessParameters_c3_Puncture_Through_Wall

static void mdlProcessParameters_c3_Puncture_Through_Wall(SimStruct *S)
{
  int i;
  for(i=0;i<ssGetNumRunTimeParams(S);i++) {
    if(ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }
  if(sf_machine_global_initializer_called()) {
    initialize_params_c3_Puncture_Through_Wall();
  }
}
开发者ID:ChristopherMcFaul,项目名称:Previous-Work,代码行数:12,代码来源:c3_Puncture_Through_Wall.c

示例4: mdlProcessParameters_c7_adcs_v15_integral_Power

static void mdlProcessParameters_c7_adcs_v15_integral_Power(SimStruct *S)
{
  int i;
  for (i=0;i<ssGetNumRunTimeParams(S);i++) {
    if (ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }

  if (sf_machine_global_initializer_called()) {
    initialize_params_c7_adcs_v15_integral_Power();
  }
}
开发者ID:avnishks,项目名称:pratham,代码行数:13,代码来源:c7_adcs_v15_integral_Power.c

示例5: mdlProcessParameters_c1_VrSubsystem

static void mdlProcessParameters_c1_VrSubsystem(SimStruct *S)
{
  int i;
  for (i=0;i<ssGetNumRunTimeParams(S);i++) {
    if (ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }

  if (sf_machine_global_initializer_called()) {
    initialize_params_c1_VrSubsystem((SFc1_VrSubsystemInstanceStruct*)
      sf_get_chart_instance_ptr(S));
  }
}
开发者ID:davidecavezza,项目名称:simulation-hipeds,代码行数:14,代码来源:c1_VrSubsystem.c

示例6: mdlProcessParameters_c2_Expriment_Pose

static void mdlProcessParameters_c2_Expriment_Pose(SimStruct *S)
{
  int i;
  for (i=0;i<ssGetNumRunTimeParams(S);i++) {
    if (ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }

  if (sf_machine_global_initializer_called()) {
    ChartRunTimeInfo * crtInfo = (ChartRunTimeInfo *)(ssGetUserData(S));
    ChartInfoStruct * chartInfo = (ChartInfoStruct *)(crtInfo->instanceInfo);
    initialize_params_c2_Expriment_Pose((SFc2_Expriment_PoseInstanceStruct*)
      (chartInfo->chartInstance));
  }
}
开发者ID:maryamsab,项目名称:realact,代码行数:16,代码来源:c2_Expriment_Pose.c

示例7: ssUpdateDlgParamAsRunTimeParam

static void mdlProcessParameters_c1_motor_control_with_off_the_shelf_SVPWM
  (SimStruct *S)
{
  int i;
  for (i=0;i<ssGetNumRunTimeParams(S);i++) {
    if (ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }

  if (sf_machine_global_initializer_called()) {
    initialize_params_c1_motor_control_with_off_the_shelf_SVPWM
      ((SFc1_motor_control_with_off_the_shelf_SVPWMInstanceStruct*)
       (((ChartInfoStruct *)ssGetUserData(S))->chartInstance));
  }
}
开发者ID:drivkin,项目名称:Motor-simulation-and-reading,代码行数:16,代码来源:c1_motor_control_with_off_the_shelf_SVPWM.c

示例8: ssUpdateDlgParamAsRunTimeParam

static void
  mdlProcessParameters_c3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmile
  (SimStruct *S)
{
  int i;
  for (i=0;i<ssGetNumRunTimeParams(S);i++) {
    if (ssGetSFcnParamTunable(S,i)) {
      ssUpdateDlgParamAsRunTimeParam(S,i);
    }
  }

  if (sf_machine_global_initializer_called()) {
    ChartRunTimeInfo * crtInfo = (ChartRunTimeInfo *)(ssGetUserData(S));
    ChartInfoStruct * chartInfo = (ChartInfoStruct *)(crtInfo->instanceInfo);
    initialize_params_c3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmile
      ((SFc3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmileInstanceStruct*)
       (chartInfo->chartInstance));
  }
}
开发者ID:maryamsab,项目名称:realact,代码行数:19,代码来源:c3_ARP_02_RPSsmile_GloveAtomicRachelImitateSmile.c


注:本文中的sf_machine_global_initializer_called函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。