Menu

#416 TTI: Complete abstraction of internal TTDB

3.0.0.0
closed
2024-02-05
2023-01-25
No

Interface change for tau_getCstInfo(), tau_getStaticCstInfo(), tau_getVehInfo(), functions alloc now one single memory block to provide the requested information to the caller. The caller can now easyly free the provided memory.
naming unified for tau_getTrDir()/tau_getOpTrDir() -> tau_getTrnDir()/tau_getOpTrnDir()

Discussion

  • Chris Wetzler

    Chris Wetzler - 2023-01-27
    • labels: 2366 --> 2366, 2367
     
  • Chris Wetzler

    Chris Wetzler - 2023-01-27

    api_test_4 fixed with revision 2367

     
  • Chris Wetzler

    Chris Wetzler - 2023-02-03
    • labels: 2366, 2367 --> 2366, 2367, 2371, 2373
     
  • Chris Wetzler

    Chris Wetzler - 2023-02-03

    Linux compile warnings fixed

     
  • Steffen Hieber

    Steffen Hieber - 2023-03-01

    Unfortunately, the current implementation r2380 is no longer closed train aware.

    The function tau_getStaticCstInfo() assumes that all consists are part of the train directory, but this is not the case for closed train consists.

    Therefore, the attempt to read the static consist info of a closed train consist leads to a parameter error which makes it impossible to get the CONSIST_INFO of a consist class 3.

     
  • Armin-Hagen Weiss

    Would be great if You could come up with a proposal. I'm not really familiar with the closed trains. Probably I would need a longer call with Armin Heindel. I'm wondering that the old buggy tau_tti version handled closed trains correctly.

     
  • Steffen Hieber

    Steffen Hieber - 2023-03-01

    I will give it a try next week. Armin would probably refer to me. Actually, the old tau_tti needed a patch in ttiStoreCstInfo() to be able to handle more than one consist properly, which is always the case with even the simplest closed train.

     

Log in to post a comment.

MongoDB Logo MongoDB