本文整理汇总了C++中sf_clear_rtw_identifier函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_clear_rtw_identifier函数的具体用法?C++ sf_clear_rtw_identifier怎么用?C++ sf_clear_rtw_identifier使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_clear_rtw_identifier函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: sf_opaque_terminate_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile
static void
sf_opaque_terminate_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile(void
*chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S =
((SFc2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmileInstanceStruct*)
chartInstanceVar)->S;
ChartRunTimeInfo * crtInfo = (ChartRunTimeInfo *)(ssGetUserData(S));
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
unload_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile_optimization_info();
}
finalize_c2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmile
((SFc2_ARP_02_RPSsmile_GloveAtomicBradNotImitateSmileInstanceStruct*)
chartInstanceVar);
utFree((void *)chartInstanceVar);
if (crtInfo != NULL) {
utFree((void *)crtInfo);
}
ssSetUserData(S,NULL);
}
}
示例2: sf_opaque_terminate_c3_Puncture_Through_Wall
static void sf_opaque_terminate_c3_Puncture_Through_Wall(void *chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) ||
sim_mode_is_external(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c3_Puncture_Through_Wall();
}
示例3: sf_opaque_terminate_c4_Force_Rendering
static void sf_opaque_terminate_c4_Force_Rendering(void *chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) ||
sim_mode_is_external(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c4_Force_Rendering();
}
示例4: sf_opaque_terminate_c4_Gravity_Well
static void sf_opaque_terminate_c4_Gravity_Well(void *chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) ||
sim_mode_is_external(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c4_Gravity_Well();
}
示例5: sf_opaque_terminate_c1_minimalist14
static void sf_opaque_terminate_c1_minimalist14(void *chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) || sim_mode_is_external
(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c1_minimalist14();
}
示例6: sf_clear_rtw_identifier
static void sf_opaque_terminate_c6_adcs_v15_integral_Power_no_charge_in_detumb
(void *chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) || sim_mode_is_external
(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c6_adcs_v15_integral_Power_no_charge_in_detumb();
}
示例7: sf_opaque_terminate_c7_Pedal_Interpretation_exe
static void sf_opaque_terminate_c7_Pedal_Interpretation_exe(void
*chartInstanceVar)
{
if (sim_mode_is_rtw_gen(chartInstance.S) || sim_mode_is_external
(chartInstance.S)) {
sf_clear_rtw_identifier(chartInstance.S);
}
finalize_c7_Pedal_Interpretation_exe();
}
示例8: sf_opaque_terminate_c2_tablerot_id
static void sf_opaque_terminate_c2_tablerot_id(void *chartInstanceVar)
{
if(chartInstanceVar!=NULL) {
SimStruct *S = ((SFc2_tablerot_idInstanceStruct*) chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
}
finalize_c2_tablerot_id((SFc2_tablerot_idInstanceStruct*) chartInstanceVar);
free((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
}
示例9: sf_opaque_terminate_c1_main
static void sf_opaque_terminate_c1_main(void *chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc1_mainInstanceStruct*) chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
unload_main_optimization_info();
}
finalize_c1_main((SFc1_mainInstanceStruct*) chartInstanceVar);
utFree((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
}
示例10: sf_opaque_terminate_c3_canudas_goal3
static void sf_opaque_terminate_c3_canudas_goal3(void *chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc3_canudas_goal3InstanceStruct*) chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
}
finalize_c3_canudas_goal3((SFc3_canudas_goal3InstanceStruct*)
chartInstanceVar);
free((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
unload_canudas_goal3_optimization_info();
}
示例11: sf_opaque_terminate_c4_MigrationBGOW_Proto6_MultiSwarm
static void sf_opaque_terminate_c4_MigrationBGOW_Proto6_MultiSwarm(void
*chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc4_MigrationBGOW_Proto6_MultiSwarmInstanceStruct*)
chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
unload_MigrationBGOW_Proto6_MultiSwarm_optimization_info();
}
finalize_c4_MigrationBGOW_Proto6_MultiSwarm
((SFc4_MigrationBGOW_Proto6_MultiSwarmInstanceStruct*) chartInstanceVar);
utFree((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
}
示例12: sf_opaque_terminate_c9_QPSK_Transmit_v12d
static void sf_opaque_terminate_c9_QPSK_Transmit_v12d(void *chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc9_QPSK_Transmit_v12dInstanceStruct*) chartInstanceVar)
->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
}
finalize_c9_QPSK_Transmit_v12d((SFc9_QPSK_Transmit_v12dInstanceStruct*)
chartInstanceVar);
free((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
unload_QPSK_Transmit_v12d_optimization_info();
}
示例13: sf_opaque_terminate_c1_VrSubsystem
static void sf_opaque_terminate_c1_VrSubsystem(void *chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc1_VrSubsystemInstanceStruct*) chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
unload_VrSubsystem_optimization_info();
}
finalize_c1_VrSubsystem((SFc1_VrSubsystemInstanceStruct*) chartInstanceVar);
utFree(chartInstanceVar);
if (ssGetUserData(S)!= NULL) {
sf_free_ChartRunTimeInfo(S);
}
ssSetUserData(S,NULL);
}
}
示例14: sf_opaque_terminate_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear
static void sf_opaque_terminate_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear(void
*chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc2_MigrationOWBG_Proto4_1DLinear2DNonLinearInstanceStruct*)
chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
unload_MigrationOWBG_Proto4_1DLinear2DNonLinear_optimization_info();
}
finalize_c2_MigrationOWBG_Proto4_1DLinear2DNonLinear
((SFc2_MigrationOWBG_Proto4_1DLinear2DNonLinearInstanceStruct*)
chartInstanceVar);
utFree((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
}
示例15: sf_opaque_terminate_c6_motor_control_with_homebrew_SVPWM
static void sf_opaque_terminate_c6_motor_control_with_homebrew_SVPWM(void
*chartInstanceVar)
{
if (chartInstanceVar!=NULL) {
SimStruct *S = ((SFc6_motor_control_with_homebrew_SVPWMInstanceStruct*)
chartInstanceVar)->S;
if (sim_mode_is_rtw_gen(S) || sim_mode_is_external(S)) {
sf_clear_rtw_identifier(S);
}
finalize_c6_motor_control_with_homebrew_SVPWM
((SFc6_motor_control_with_homebrew_SVPWMInstanceStruct*) chartInstanceVar);
free((void *)chartInstanceVar);
ssSetUserData(S,NULL);
}
unload_motor_control_with_homebrew_SVPWM_optimization_info();
}