WatchDog_def_g.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #ifndef __WATCHDOG_DEF_G_H
  2. #define __WATCHDOG_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace WatchDog {
  7. //
  8. // const goes here
  9. //
  10. #define WatchDogService_Method_StartWatch 0
  11. #define WatchDogService_Method_Refresh 1
  12. #define WatchDogService_Method_StopWatch 2
  13. #define WatchDogService_MethodSignature_StartWatch -348447122
  14. #define WatchDogService_MethodSignature_Refresh 839939657
  15. #define WatchDogService_MethodSignature_StopWatch -1935777995
  16. struct WatchDogService_StartWatch_Req
  17. {
  18. int Delay;
  19. int Timeout;
  20. void Serialize(SpBuffer &Buf)
  21. {
  22. auto & buf = Buf & Delay & Timeout;
  23. }
  24. };
  25. struct WatchDogService_StartWatch_Ans
  26. {
  27. void Serialize(SpBuffer &Buf)
  28. {
  29. }
  30. };
  31. struct WatchDogService_Refresh_Req
  32. {
  33. void Serialize(SpBuffer &Buf)
  34. {
  35. }
  36. };
  37. struct WatchDogService_Refresh_Ans
  38. {
  39. void Serialize(SpBuffer &Buf)
  40. {
  41. }
  42. };
  43. struct WatchDogService_StopWatch_Req
  44. {
  45. void Serialize(SpBuffer &Buf)
  46. {
  47. }
  48. };
  49. struct WatchDogService_StopWatch_Ans
  50. {
  51. void Serialize(SpBuffer &Buf)
  52. {
  53. }
  54. };
  55. ///////////////////////////
  56. } // namespace WatchDog
  57. #endif // __WATCHDOG_DEF_G_H