當前位置: 首頁>>代碼示例>>C++>>正文


C++ Balise_Group_Init_InfraLib函數代碼示例

本文整理匯總了C++中Balise_Group_Init_InfraLib函數的典型用法代碼示例。如果您正苦於以下問題:C++ Balise_Group_Init_InfraLib函數的具體用法?C++ Balise_Group_Init_InfraLib怎麽用?C++ Balise_Group_Init_InfraLib使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了Balise_Group_Init_InfraLib函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: Balise_Group_381_AmsterdamUtrechtL2_Sheet08B_Abcoude_Balises

/* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381 */
void Balise_Group_381_AmsterdamUtrechtL2_Sheet08B_Abcoude_Balises(
  /* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381::BG_message_in */CompressedBaliseMessage_TM *BG_message_in,
  /* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381::TrainPos */kcg_real _2_TrainPos,
  /* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381::Engineering_Data */BaliseGroupData_TM *Engineering_Data,
  /* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381::BG_message_out */CompressedBaliseMessage_TM *BG_message_out)
{
  static B_data_internal_T_InfraLib tmp1;
  static B_data_internal_T_InfraLib tmp;
  /* AmsterdamUtrechtL2::Sheet08B_Abcoude_Balises::Balise_Group_381::_L14 */
  static kcg_bool _L14;
  
  /* 1 */ Balise_Group_Init_InfraLib(_2_TrainPos, Engineering_Data, &tmp1);
  /* 1 */
  Balise_381_1_AmsterdamUtrechtL2_Sheet08B_Abcoude_Balises(
    &tmp1,
    (BaliseTelegramHeader_int_T_TM *) &BG381_header_B1_Balises426,
    0,
    &tmp);
  /* 1 */
  Balise_381_0_AmsterdamUtrechtL2_Sheet08B_Abcoude_Balises(
    &tmp,
    (BaliseTelegramHeader_int_T_TM *) &BG381_header_B0_Balises426,
    1,
    &tmp1);
  /* 1 */
  Balise_Group_Close_InfraLib(&tmp1, BG_message_in, &_L14, BG_message_out);
}
開發者ID:openETCS,項目名稱:srcAndBinary,代碼行數:28,代碼來源:Balise_Group_381_AmsterdamUtrechtL2_Sheet08B_Abcoude_Balises.c

示例2: Balise_Group_405_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises

/* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405 */
void Balise_Group_405_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises(
  /* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405::BG_message_in */CompressedBaliseMessage_TM *BG_message_in,
  /* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405::TrainPos */kcg_real TrainPos,
  /* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405::Engineering_Data */BaliseGroupData_TM *Engineering_Data,
  /* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405::BG_message_out */CompressedBaliseMessage_TM *BG_message_out)
{
  B_data_internal_T_InfraLib tmp1;
  B_data_internal_T_InfraLib tmp;
  /* AmsterdamUtrechtL2::Sheet11_BreukelenKeerspoor_Balises::Balise_Group_405::_L14 */ kcg_bool _L14;
  
  /* 1 */ Balise_Group_Init_InfraLib(TrainPos, Engineering_Data, &tmp1);
  /* 1 */
  Balise_405_1_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises(
    &tmp1,
    (BaliseTelegramHeader_int_T_TM *) &BG405_header_B1_Balises426,
    0,
    &tmp);
  /* 1 */
  Balise_405_0_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises(
    &tmp,
    (BaliseTelegramHeader_int_T_TM *) &BG405_header_B0_Balises426,
    1,
    &tmp1);
  /* 1 */
  Balise_Group_Close_InfraLib(&tmp1, BG_message_in, &_L14, BG_message_out);
}
開發者ID:openETCS,項目名稱:srcAndBinary,代碼行數:27,代碼來源:Balise_Group_405_AmsterdamUtrechtL2_Sheet11_BreukelenKeerspoor_Balises.c

示例3: Balise_Group_439_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises

/* AmsterdamUtrechtL2::Sheet15_MaarssenUtrechtCS_Balises::Balise_Group_439 */
void Balise_Group_439_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises(
  /* AmsterdamUtrechtL2::Sheet15_MaarssenUtrechtCS_Balises::Balise_Group_439::BG_message_in */CompressedBaliseMessage_TM *BG_message_in,
  /* AmsterdamUtrechtL2::Sheet15_MaarssenUtrechtCS_Balises::Balise_Group_439::TrainPos */kcg_real _1_TrainPos,
  /* AmsterdamUtrechtL2::Sheet15_MaarssenUtrechtCS_Balises::Balise_Group_439::Engineering_Data */BaliseGroupData_TM *Engineering_Data,
  outC_Balise_Group_439_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises *outC)
{
  static kcg_bool noname;
  
  kcg_copy_CompressedBaliseMessage_TM(&outC->_L29, BG_message_in);
  outC->_L28 = _1_TrainPos;
  kcg_copy_BaliseGroupData_TM(&outC->_L19, Engineering_Data);
  /* 1 */ Balise_Group_Init_InfraLib(outC->_L28, &outC->_L19, &outC->Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L11,
    &outC->Context_1.BG_internal_out);
  kcg_copy_B_data_internal_T_InfraLib(&outC->BaliseDataIn, &outC->_L11);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L9, &outC->BaliseDataIn);
  outC->_L20 = 0;
  /* 1 */
  Balise_439_1_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises(
    &outC->_L9,
    (BaliseTelegramHeader_int_T_TM *) &BG439_header_B1_Balises426,
    outC->_L20,
    &outC->_1_Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L8,
    &outC->_1_Context_1.B_data_out);
  outC->_L21 = 1;
  /* 1 */
  Balise_439_0_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises(
    &outC->_L8,
    (BaliseTelegramHeader_int_T_TM *) &BG439_header_B0_Balises426,
    outC->_L21,
    &outC->_2_Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L7,
    &outC->_2_Context_1.B_data_out);
  kcg_copy_B_data_internal_T_InfraLib(&outC->BaliseDataOut, &outC->_L7);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L16, &outC->BaliseDataOut);
  /* 1 */
  Balise_Group_Close_InfraLib(&outC->_L16, &outC->_L29, &outC->_3_Context_1);
  outC->_L14 = outC->_3_Context_1.Error_out;
  kcg_copy_CompressedBaliseMessage_TM(
    &outC->_L13,
    &outC->_3_Context_1.BG_message_out);
  noname = outC->_L14;
  kcg_copy_CompressedBaliseMessage_TM(&outC->BG_message_out, &outC->_L13);
}
開發者ID:aprobst,項目名稱:modeling,代碼行數:49,代碼來源:Balise_Group_439_AmsterdamUtrechtL2_Sheet15_MaarssenUtrechtCS_Balises.c

示例4: Balise_Group_435_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises

/* AmsterdamUtrechtL2::Sheet14_Maarssen_Balises::Balise_Group_435 */
void Balise_Group_435_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises(
  /* AmsterdamUtrechtL2::Sheet14_Maarssen_Balises::Balise_Group_435::BG_message_in */CompressedBaliseMessage_TM *BG_message_in,
  /* AmsterdamUtrechtL2::Sheet14_Maarssen_Balises::Balise_Group_435::TrainPos */kcg_real _7_TrainPos,
  /* AmsterdamUtrechtL2::Sheet14_Maarssen_Balises::Balise_Group_435::Engineering_Data */BaliseGroupData_TM *Engineering_Data,
  outC_Balise_Group_435_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises *outC)
{
  static kcg_int _6_noname_6;
  static BaliseTelegramHeader_int_T_TM noname_6;
  static kcg_int _5_noname_5;
  static BaliseTelegramHeader_int_T_TM noname_5;
  static kcg_int _4_noname_4;
  static BaliseTelegramHeader_int_T_TM noname_4;
  static kcg_int _3_noname_3;
  static BaliseTelegramHeader_int_T_TM noname_3;
  static kcg_int _2_noname_2;
  static BaliseTelegramHeader_int_T_TM noname_2;
  static kcg_int _1_noname_1;
  static BaliseTelegramHeader_int_T_TM noname_1;
  static kcg_bool noname;
  
  outC->_L27 = 7;
  outC->PIG_nom_6 = outC->_L27;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_6,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  outC->_L26 = 6;
  outC->PIG_nom_5 = outC->_L26;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_5,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  outC->_L25 = 5;
  outC->PIG_nom_4 = outC->_L25;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_4,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  outC->_L24 = 4;
  outC->PIG_nom_3 = outC->_L24;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_3,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  outC->_L23 = 3;
  outC->PIG_nom_2 = outC->_L23;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_2,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  outC->_L22 = 2;
  outC->PIG_nom_1 = outC->_L22;
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &outC->Header_1,
    (BaliseTelegramHeader_int_T_TM *) &DEFAULT_BaliseTelegramHd_InfraLib);
  kcg_copy_CompressedBaliseMessage_TM(&outC->_L29, BG_message_in);
  outC->_L28 = _7_TrainPos;
  kcg_copy_BaliseGroupData_TM(&outC->_L19, Engineering_Data);
  /* 1 */ Balise_Group_Init_InfraLib(outC->_L28, &outC->_L19, &outC->Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L11,
    &outC->Context_1.BG_internal_out);
  kcg_copy_B_data_internal_T_InfraLib(&outC->BaliseDataIn, &outC->_L11);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L9, &outC->BaliseDataIn);
  outC->_L20 = 0;
  /* 1 */
  Balise_435_0_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises(
    &outC->_L9,
    (BaliseTelegramHeader_int_T_TM *) &BG435_header_B0_Balises426,
    outC->_L20,
    &outC->_1_Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L8,
    &outC->_1_Context_1.B_data_out);
  outC->_L21 = 1;
  /* 1 */
  Balise_435_1_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises(
    &outC->_L8,
    (BaliseTelegramHeader_int_T_TM *) &BG435_header_B1_Balises426,
    outC->_L21,
    &outC->_2_Context_1);
  kcg_copy_B_data_internal_T_InfraLib(
    &outC->_L7,
    &outC->_2_Context_1.B_data_out);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_in_1, &outC->_L7);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L1_1, &outC->B_data_in_1);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out_1, &outC->_L1_1);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L6, &outC->B_data_out_1);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_in_2, &outC->_L6);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L1_2, &outC->B_data_in_2);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out_2, &outC->_L1_2);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L5, &outC->B_data_out_2);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_in_3, &outC->_L5);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L1_3, &outC->B_data_in_3);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out_3, &outC->_L1_3);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L4, &outC->B_data_out_3);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_in_4, &outC->_L4);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L1_4, &outC->B_data_in_4);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out_4, &outC->_L1_4);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L3, &outC->B_data_out_4);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_in_5, &outC->_L3);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L1_5, &outC->B_data_in_5);
  kcg_copy_B_data_internal_T_InfraLib(&outC->B_data_out_5, &outC->_L1_5);
  kcg_copy_B_data_internal_T_InfraLib(&outC->_L2, &outC->B_data_out_5);
//.........這裏部分代碼省略.........
開發者ID:apinnau,項目名稱:modeling,代碼行數:101,代碼來源:Balise_Group_435_AmsterdamUtrechtL2_Sheet14_Maarssen_Balises.c


注:本文中的Balise_Group_Init_InfraLib函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。