本文整理匯總了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