本文整理汇总了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();
}
}
示例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));
}
}
示例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();
}
}
示例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();
}
}
示例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));
}
}
示例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));
}
}
示例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));
}
}