本文整理汇总了C++中Balise_Localisation_InfraLib函数的典型用法代码示例。如果您正苦于以下问题:C++ Balise_Localisation_InfraLib函数的具体用法?C++ Balise_Localisation_InfraLib怎么用?C++ Balise_Localisation_InfraLib使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Balise_Localisation_InfraLib函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: _SCSIM_Mapping_Create
/* Context initialization */
_SCSIM_Mapping_Create();
_SCSIM_RestoreInterface();
#ifdef EXTENDED_SIM
BeforeSimInit();
#endif /* EXTENDED_SIM */
Balise_Localisation_reset_InfraLib(&outputs_ctx);
#ifdef EXTENDED_SIM
AfterSimInit();
#endif /* EXTENDED_SIM */
}
#ifdef EXTENDED_SIM
int GraphicalInputsConnected = 1;
#endif /* EXTENDED_SIM */
int SimStep(void) {
#ifdef EXTENDED_SIM
if (GraphicalInputsConnected)
BeforeSimStep();
#endif /* EXTENDED_SIM */
_SCSIM_ExecuteInterface();
Balise_Localisation_InfraLib(&inputs_ctx_execute, &outputs_ctx);
#ifdef EXTENDED_SIM
AfterSimStep();
#endif /* EXTENDED_SIM */
return 1;
}
示例2: Balise_351_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_351_0 */
void Balise_351_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises(
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_351_0::B_data_in */B_data_internal_T_InfraLib *B_data_in,
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_351_0::Header */BaliseTelegramHeader_int_T_TM *Header,
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_351_0::PIG_nom */kcg_int PIG_nom,
outC_Balise_351_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises *outC)
{
static B_data_internal_T_InfraLib tmp;
kcg_copy_BaliseTelegramHeader_int_T_TM(&outC->_L23, Header);
outC->_L20 = PIG_nom;
kcg_copy_BaliseTelegramHeader_int_T_TM(&outC->_L19, Header);
kcg_copy_B_data_internal_T_InfraLib(&outC->_L15, B_data_in);
/* 1 */
Balise_Localisation_InfraLib(
&outC->_L15,
&outC->_L19,
outC->_L20,
&outC->Context_1);
outC->_L21 = outC->Context_1.PIG_0_out;
outC->_L2 = outC->Context_1.TrainPass;
outC->tmp = outC->_L2;
kcg_copy_B_data_internal_T_InfraLib(&outC->_L5, B_data_in);
if (outC->tmp) {
/* 1 */
Packets_BG351_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises(
&outC->_L23,
&outC->_L5,
&outC->_1_Context_1);
kcg_copy_B_data_internal_T_InfraLib(
&tmp,
&outC->_1_Context_1.Balise_data_out);
kcg_copy_B_data_internal_T_InfraLib(&outC->_L4, &tmp);
}
else {
kcg_copy_B_data_internal_T_InfraLib(&outC->_L4, &outC->_L5);
}
kcg_copy_B_data_internal_T_InfraLib(&outC->_L17, &outC->_L4);
if (kcg_true) {
outC->_L17.pig_nom_0 = outC->_L21;
}
kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out, &outC->_L17);
}
示例3: Balise_400_1_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1 */
void Balise_400_1_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises(
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::B_data_in */B_data_internal_T_InfraLib *B_data_in,
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::Header */BaliseTelegramHeader_int_T_TM *Header,
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::PIG_nom */kcg_int PIG_nom,
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::B_data_out */B_data_internal_T_InfraLib *B_data_out)
{
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::_L2 */
static kcg_bool _L2;
/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_400_1::_L21 */
static kcg_int _L21;
/* 1 */ Balise_Localisation_InfraLib(B_data_in, Header, PIG_nom, &_L21, &_L2);
if (_L2) {
/* 1 */ No_Balise_Packets_InfraLib(Header, B_data_in, B_data_out);
}
else {
kcg_copy_B_data_internal_T_InfraLib(B_data_out, B_data_in);
}
(*B_data_out).pig_nom_0 = _L21;
}
开发者ID:Rainer-Lampatzer,项目名称:modeling,代码行数:21,代码来源:Balise_400_1_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises.c
示例4: Balise_355_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0 */
void Balise_355_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises(
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::B_data_in */B_data_internal_T_InfraLib *B_data_in,
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::Header */BaliseTelegramHeader_int_T_TM *Header,
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::PIG_nom */kcg_int PIG_nom,
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::B_data_out */B_data_internal_T_InfraLib *B_data_out)
{
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::_L2 */ kcg_bool _L2;
/* AmsterdamUtrechtL2::Sheet06_Bijlmer_Balises::Balise_355_0::_L21 */ kcg_int _L21;
/* 1 */ Balise_Localisation_InfraLib(B_data_in, Header, PIG_nom, &_L21, &_L2);
if (_L2) {
/* 1 */
Packets_BG355_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises(
Header,
B_data_in,
B_data_out);
}
else {
kcg_copy_B_data_internal_T_InfraLib(B_data_out, B_data_in);
}
(*B_data_out).pig_nom_0 = _L21;
}
开发者ID:openETCS,项目名称:srcAndBinary,代码行数:23,代码来源:Balise_355_0_AmsterdamUtrechtL2_Sheet06_Bijlmer_Balises.c