本文整理汇总了C++中sf_get_time函数的典型用法代码示例。如果您正苦于以下问题:C++ sf_get_time函数的具体用法?C++ sf_get_time怎么用?C++ sf_get_time使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sf_get_time函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: initialize_c3_aircraft_2
/* Function Definitions */
static void initialize_c3_aircraft_2(SFc3_aircraft_2InstanceStruct
*chartInstance)
{
chartInstance->c3_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c3_is_active_c3_aircraft_2 = 0U;
}
示例2: initialize_c45_Expriment_Gaze
/* Function Definitions */
static void initialize_c45_Expriment_Gaze(SFc45_Expriment_GazeInstanceStruct
*chartInstance)
{
chartInstance->c45_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c45_is_active_c45_Expriment_Gaze = 0U;
}
示例3: initialize_c37_Demo_AU_VA1
/* Function Definitions */
static void initialize_c37_Demo_AU_VA1(SFc37_Demo_AU_VA1InstanceStruct
*chartInstance)
{
chartInstance->c37_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c37_is_active_c37_Demo_AU_VA1 = 0U;
}
示例4: initialize_c2_Demo_Kinect
/* Function Definitions */
static void initialize_c2_Demo_Kinect(SFc2_Demo_KinectInstanceStruct
*chartInstance)
{
chartInstance->c2_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c2_is_active_c2_Demo_Kinect = 0U;
}
示例5: initialize_c41_EP_IdleRandMerg
/* Function Definitions */
static void initialize_c41_EP_IdleRandMerg(SFc41_EP_IdleRandMergInstanceStruct
*chartInstance)
{
chartInstance->c41_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c41_is_active_c41_EP_IdleRandMerg = 0U;
}
示例6: initialize_c12_Demo_Glove
/* Function Definitions */
static void initialize_c12_Demo_Glove(SFc12_Demo_GloveInstanceStruct
*chartInstance)
{
chartInstance->c12_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c12_is_active_c12_Demo_Glove = 0U;
}
示例7: sf_get_time
/* Function Definitions */
static void initialize_c2_DemoGazeFollowWaveIdle
(SFc2_DemoGazeFollowWaveIdleInstanceStruct *chartInstance)
{
chartInstance->c2_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c2_is_active_c2_DemoGazeFollowWaveIdle = 0U;
}
示例8: sf_gateway_c35_Expriment_All
static void sf_gateway_c35_Expriment_All(SFc35_Expriment_AllInstanceStruct
*chartInstance)
{
c35_set_sim_state_side_effects_c35_Expriment_All(chartInstance);
_SFD_SYMBOL_SCOPE_PUSH(0U, 0U);
_sfTime_ = sf_get_time(chartInstance->S);
_SFD_CC_CALL(CHART_ENTER_SFUNCTION_TAG, 16U, chartInstance->c35_sfEvent);
chartInstance->c35_sfEvent = CALL_EVENT;
_SFD_CC_CALL(CHART_ENTER_DURING_FUNCTION_TAG, 16U, chartInstance->c35_sfEvent);
if (chartInstance->c35_is_active_c35_Expriment_All == 0U) {
_SFD_CC_CALL(CHART_ENTER_ENTRY_FUNCTION_TAG, 16U, chartInstance->c35_sfEvent);
chartInstance->c35_is_active_c35_Expriment_All = 1U;
_SFD_CC_CALL(EXIT_OUT_OF_FUNCTION_TAG, 16U, chartInstance->c35_sfEvent);
_SFD_CT_CALL(TRANSITION_ACTIVE_TAG, 0U, chartInstance->c35_sfEvent);
chartInstance->c35_is_c35_Expriment_All = c35_IN_stateCreatePawn;
_SFD_CS_CALL(STATE_ACTIVE_TAG, 1U, chartInstance->c35_sfEvent);
chartInstance->c35_tp_stateCreatePawn = 1U;
c35_enter_atomic_stateCreatePawn(chartInstance);
} else {
_SFD_CS_CALL(STATE_ENTER_DURING_FUNCTION_TAG, 1U, chartInstance->c35_sfEvent);
_SFD_CS_CALL(EXIT_OUT_OF_FUNCTION_TAG, 1U, chartInstance->c35_sfEvent);
}
_SFD_CC_CALL(EXIT_OUT_OF_FUNCTION_TAG, 16U, chartInstance->c35_sfEvent);
_SFD_SYMBOL_SCOPE_POP();
_SFD_CHECK_FOR_STATE_INCONSISTENCY(_Expriment_AllMachineNumber_,
chartInstance->chartNumber, chartInstance->instanceNumber);
}
示例9: sf_get_time
/* Function Definitions */
static void initialize_c41_Expriment_FacialExpr
(SFc41_Expriment_FacialExprInstanceStruct *chartInstance)
{
chartInstance->c41_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c41_is_active_c41_Expriment_FacialExpr = 0U;
}
示例10: initialize_c14_DemoWalk_K
/* Function Definitions */
static void initialize_c14_DemoWalk_K(SFc14_DemoWalk_KInstanceStruct
*chartInstance)
{
chartInstance->c14_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c14_is_active_c14_DemoWalk_K = 0U;
}
示例11: sf_get_time
/* Function Definitions */
static void initialize_c19_Demo_KinectWaveWalkInvade
(SFc19_Demo_KinectWaveWalkInvadeInstanceStruct *chartInstance)
{
chartInstance->c19_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c19_is_active_c19_Demo_KinectWaveWalkInvade = 0U;
}
示例12: initialize_c55_Expriment_All
/* Function Definitions */
static void initialize_c55_Expriment_All(SFc55_Expriment_AllInstanceStruct
*chartInstance)
{
chartInstance->c55_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c55_is_active_c55_Expriment_All = 0U;
}
示例13: initialize_c14_Demo_P_IdleRand
/* Function Definitions */
static void initialize_c14_Demo_P_IdleRand(SFc14_Demo_P_IdleRandInstanceStruct
*chartInstance)
{
chartInstance->c14_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c14_is_active_c14_Demo_P_IdleRand = 0U;
}
示例14: sf_get_time
/* Function Definitions */
static void initialize_c2_dEMO_EP_IdleRandMerg2
(SFc2_dEMO_EP_IdleRandMerg2InstanceStruct *chartInstance)
{
chartInstance->c2_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c2_is_active_c2_dEMO_EP_IdleRandMerg2 = 0U;
}
示例15: initialize_c10_hybridSysSim
/* Function Definitions */
static void initialize_c10_hybridSysSim(SFc10_hybridSysSimInstanceStruct
*chartInstance)
{
chartInstance->c10_sfEvent = CALL_EVENT;
_sfTime_ = sf_get_time(chartInstance->S);
chartInstance->c10_is_active_c10_hybridSysSim = 0U;
}