Diff to HTML by rtfpessoa

Files changed (237) hide show
  1. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAVSController.h +44 -27
  2. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAmazonPrime.h +31 -20
  3. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAppManager.h +336 -238
  4. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JApplication.h +95 -85
  5. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothAudioSink.h +126 -112
  6. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothControl.h +561 -378
  7. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothRemoteControl.h +1 -1
  8. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowser.h +1 -1
  9. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserCookieJar.h +35 -24
  10. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserResources.h +66 -71
  11. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserScripting.h +43 -28
  12. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserSecurity.h +38 -39
  13. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JButler.h +1 -1
  14. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCobalt.h +1 -1
  15. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCompositor.h +1 -1
  16. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JConnectionProperties.h +131 -132
  17. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JContainers.h +1 -1
  18. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCustomerCareOperations.h +16 -13
  19. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDHCPServer.h +1 -1
  20. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDIALServer.h +1 -1
  21. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDTV.h +1 -1
  22. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDeviceIdentification.h +1 -1
  23. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDeviceInfo.h +1 -1
  24. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDisplayInfo.h +1 -1
  25. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDisplayProperties.h +68 -70
  26. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDolbyOutput.h +116 -109
  27. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JFirmwareControl.h +1 -1
  28. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JGraphicsProperties.h +28 -27
  29. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JHDRProperties.h +45 -43
  30. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JIOConnector.h +1 -1
  31. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JIOControl.h +1 -1
  32. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JInputSwitch.h +1 -1
  33. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLISA.h +1 -1
  34. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLanguageTag.h +32 -28
  35. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLocationSync.h +1 -1
  36. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMath.h +42 -29
  37. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMessageControl.h +39 -30
  38. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMessenger.h +1 -1
  39. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMonitor.h +1 -1
  40. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetflix.h +1 -1
  41. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetworkControl.h +167 -130
  42. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetworkTools.h +54 -36
  43. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JOCDM.h +1 -1
  44. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPackageManager.h +308 -227
  45. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPackager.h +1 -1
  46. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPerformanceMonitor.h +1 -1
  47. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPersistentStore.h +1 -1
  48. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPlayerInfo.h +1 -1
  49. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPlayerProperties.h +54 -53
  50. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPower.h +1 -1
  51. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JProvisioning.h +1 -1
  52. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JRemoteControl.h +1 -1
  53. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JScriptEngine.h +43 -31
  54. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSecureShellServer.h +1 -1
  55. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSecurityAgent.h +1 -1
  56. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSpark.h +1 -1
  57. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JStateControl.h +1 -1
  58. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JStreamer.h +1 -1
  59. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSubsystemControl.h +1 -1
  60. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSystemCommands.h +1 -1
  61. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTestController.h +1 -1
  62. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTestUtility.h +1 -1
  63. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTimeSync.h +1 -1
  64. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTimeZone.h +32 -28
  65. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTraceControl.h +1 -1
  66. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JUserSettings.h +256 -208
  67. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JVolumeControl.h +64 -57
  68. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWatchDog.h +23 -14
  69. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWebBrowser.h +180 -164
  70. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWebKitBrowser.h +1 -1
  71. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWifiControl.h +150 -113
  72. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JZigWave.h +129 -78
  73. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_AVSController.h +5 -1
  74. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_AppManager.h +137 -61
  75. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Application.h +5 -1
  76. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothAudioSink.h +144 -17
  77. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothControl.h +168 -68
  78. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothRemoteControl.h +69 -29
  79. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Browser.h +38 -16
  80. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserCookieJar.h +44 -3
  81. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserResources.h +5 -1
  82. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserScripting.h +27 -11
  83. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserSecurity.h +5 -1
  84. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Butler.h +125 -29
  85. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Compositor.h +38 -16
  86. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ConnectionProperties.h +38 -16
  87. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Containers.h +69 -23
  88. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DHCPServer.h +78 -14
  89. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DIALServer.h +38 -16
  90. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DTV.h +459 -94
  91. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DeviceIdentification.h +16 -6
  92. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DeviceInfo.h +361 -137
  93. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DisplayInfo.h +16 -6
  94. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DisplayProperties.h +5 -1
  95. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DolbyOutput.h +16 -6
  96. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_FirmwareControl.h +39 -18
  97. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_HDRProperties.h +5 -1
  98. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_IOConnector.h +16 -6
  99. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_IOControl.h +16 -6
  100. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_InputSwitch.h +36 -8
  101. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_LISA.h +249 -87
  102. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_LocationSync.h +16 -6
  103. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Math.h +16 -6
  104. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_MessageControl.h +35 -9
  105. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Messenger.h +71 -31
  106. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Monitor.h +132 -24
  107. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Netflix.h +27 -11
  108. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_NetworkControl.h +90 -34
  109. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_NetworkTools.h +38 -16
  110. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_OCDM.h +55 -12
  111. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PackageManager.h +341 -81
  112. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Packager.h +16 -6
  113. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PerformanceMonitor.h +38 -16
  114. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PersistentStore.h +156 -62
  115. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PlayerInfo.h +27 -11
  116. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PlayerProperties.h +5 -1
  117. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Power.h +16 -6
  118. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Provisioning.h +38 -16
  119. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_RemoteControl.h +82 -36
  120. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ScriptEngine.h +27 -11
  121. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SecureShellServer.h +38 -8
  122. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SecurityAgent.h +38 -16
  123. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_StateControl.h +16 -6
  124. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Streamer.h +100 -38
  125. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SubsystemControl.h +16 -6
  126. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SystemCommands.h +16 -6
  127. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TestController.h +47 -13
  128. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TestUtility.h +82 -28
  129. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TimeSync.h +16 -6
  130. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TraceControl.h +60 -18
  131. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_UserSettings.h +82 -36
  132. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_VolumeControl.h +27 -11
  133. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WatchDog.h +16 -6
  134. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WebBrowser.h +49 -21
  135. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WebKitBrowser.h +36 -8
  136. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WifiControl.h +165 -38
  137. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ZigWave.h +28 -13
  138. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_AVSController.cpp +1 -1
  139. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Application.cpp +1 -1
  140. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothAudioSink.cpp +1 -1
  141. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothControl.cpp +1 -1
  142. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothRemoteControl.cpp +1 -1
  143. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Browser.cpp +1 -1
  144. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BrowserSecurity.cpp +1 -1
  145. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Butler.cpp +1 -1
  146. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Compositor.cpp +1 -1
  147. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_ConnectionProperties.cpp +3 -3
  148. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DIALServer.cpp +1 -1
  149. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DTV.cpp +1 -1
  150. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DeviceInfo.cpp +1 -1
  151. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DisplayInfo.cpp +1 -1
  152. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DisplayProperties.cpp +4 -4
  153. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DolbyOutput.cpp +1 -1
  154. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_FirmwareControl.cpp +1 -1
  155. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_HDRProperties.cpp +2 -2
  156. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_MessageControl.cpp +1 -1
  157. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Messenger.cpp +1 -1
  158. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Netflix.cpp +1 -1
  159. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_NetworkControl.cpp +1 -1
  160. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_OCDM.cpp +1 -1
  161. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PersistentStore.cpp +1 -1
  162. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PlayerInfo.cpp +1 -1
  163. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PlayerProperties.cpp +43 -42
  164. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Power.cpp +1 -1
  165. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_RemoteControl.cpp +1 -1
  166. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_StateControl.cpp +1 -1
  167. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Streamer.cpp +1 -1
  168. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_SubsystemControl.cpp +1 -1
  169. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_TestUtility.cpp +1 -1
  170. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_TraceControl.cpp +1 -1
  171. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_WebBrowser.cpp +1 -1
  172. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_WifiControl.cpp +1 -1
  173. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_BluetoothControl.h +1 -1
  174. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_BluetoothRemoteControl.h +1 -1
  175. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Browser.h +1 -1
  176. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Butler.h +1 -1
  177. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Cobalt.h +1 -1
  178. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Compositor.h +1 -1
  179. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Containers.h +1 -1
  180. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DHCPServer.h +1 -1
  181. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DIALServer.h +1 -1
  182. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DTV.h +1 -1
  183. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DeviceIdentification.h +1 -1
  184. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DeviceInfo.h +1 -1
  185. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DisplayInfo.h +1 -1
  186. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_FirmwareControl.h +1 -1
  187. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAVSClient.h +1 -1
  188. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAmazonPrime.h +1 -1
  189. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAppManager.h +1 -1
  190. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IApplication.h +1 -1
  191. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IBluetoothAudio.h +1 -1
  192. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IBrowser.h +1 -1
  193. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ICustomerCareOperations.h +1 -1
  194. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IDisplayInfo.h +1 -1
  195. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IDolby.h +1 -1
  196. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ILanguageTag.h +1 -1
  197. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IMath.h +1 -1
  198. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IMessageControl.h +1 -1
  199. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_INetworkControl.h +1 -1
  200. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_INetworkTools.h +1 -1
  201. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IOConnector.h +1 -1
  202. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IOControl.h +1 -1
  203. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IPackageManager.h +1 -1
  204. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IPlayerInfo.h +1 -1
  205. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IScriptEngine.h +1 -1
  206. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ITimeZone.h +1 -1
  207. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IUserSettings.h +1 -1
  208. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IVolumeControl.h +1 -1
  209. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IWatchDog.h +1 -1
  210. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IWifiControl.h +1 -1
  211. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IZigWave.h +1 -1
  212. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_InputSwitch.h +1 -1
  213. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_LISA.h +1 -1
  214. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_LocationSync.h +1 -1
  215. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Messenger.h +1 -1
  216. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Monitor.h +1 -1
  217. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Netflix.h +1 -1
  218. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_OCDM.h +1 -1
  219. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Packager.h +1 -1
  220. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PerformanceMonitor.h +1 -1
  221. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PersistentStore.h +1 -1
  222. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PlayerInfo.h +1 -1
  223. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Power.h +1 -1
  224. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Provisioning.h +1 -1
  225. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_RemoteControl.h +1 -1
  226. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SecureShellServer.h +1 -1
  227. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SecurityAgent.h +1 -1
  228. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Spark.h +1 -1
  229. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_StateControl.h +1 -1
  230. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Streamer.h +1 -1
  231. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SubsystemControl.h +1 -1
  232. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SystemCommands.h +1 -1
  233. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TestController.h +1 -1
  234. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TestUtility.h +1 -1
  235. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TimeSync.h +1 -1
  236. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TraceControl.h +1 -1
  237. {baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_WebKitBrowser.h +1 -1
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAVSController.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IAVSClient.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_AVSController.h"
7
6
  #include <interfaces/IAVSClient.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,75 +17,93 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IAVSController* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IAVSController* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JAVSController"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JAVSController"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'mute' - Mutes the audio output of AVS
36
- _module_.Register<Core::JSON::Boolean, void>(_T("mute"),
37
- [_impl_](const Core::JSON::Boolean& muted) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, void>(_T("mute"),
37
+ [_implementation__](const Core::JSON::Boolean& muted) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if (muted.IsSet() == false) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const bool _muted_{muted};
39
45
 
40
- const bool _muted{muted};
46
+ _errorCode__ = _implementation__->Mute(_muted_);
41
47
 
42
- _errorCode = _impl_->Mute(_muted);
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  // Method: 'record' - Starts or stops the voice recording, skipping keyword detection
48
- _module_.Register<Core::JSON::Boolean, void>(_T("record"),
49
- [_impl_](const Core::JSON::Boolean& started) -> uint32_t {
50
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, void>(_T("record"),
55
+ [_implementation__](const Core::JSON::Boolean& started) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
51
57
 
52
- const bool _started{started};
58
+ if (started.IsSet() == false) {
59
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
60
+ }
61
+ else {
62
+ const bool _started_{started};
53
63
 
54
- _errorCode = _impl_->Record(_started);
64
+ _errorCode__ = _implementation__->Record(_started_);
55
65
 
56
- return (_errorCode);
66
+ }
67
+
68
+ return (_errorCode__);
57
69
  });
58
70
 
59
71
  }
60
72
 
61
- static void Unregister(JSONRPC& _module_)
73
+ template<typename MODULE>
74
+ static void Unregister(MODULE& _module__)
62
75
  {
63
76
  // Unregister methods and properties...
64
- _module_.Unregister(_T("mute"));
65
- _module_.Unregister(_T("record"));
77
+ _module__.PluginHost::JSONRPC::Unregister(_T("mute"));
78
+ _module__.PluginHost::JSONRPC::Unregister(_T("record"));
66
79
  }
67
80
 
68
81
  namespace Event {
69
82
 
70
83
  // Event: 'dialoguestatechange' - notifies about dialogue state changes
71
- static void DialogueStateChange(const JSONRPC& _module_, const Core::JSON::EnumType<Exchange::IAVSController::INotification::dialoguestate>& state)
84
+ template<typename MODULE>
85
+ static void DialogueStateChange(const MODULE& module_, const Core::JSON::EnumType<Exchange::IAVSController::INotification::dialoguestate>& state, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
72
86
  {
73
- _module_.Notify(_T("dialoguestatechange"), state);
87
+ module_.Notify(_T("dialoguestatechange"), state, sendIfMethod_);
74
88
  }
75
89
 
76
90
  // Event: 'dialoguestatechange' - notifies about dialogue state changes
77
- static void DialogueStateChange(const JSONRPC& _module_, const Exchange::IAVSController::INotification::dialoguestate& state)
91
+ template<typename MODULE>
92
+ static void DialogueStateChange(const MODULE& module_, const IAVSController::INotification::dialoguestate state, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
78
93
  {
79
- Core::JSON::EnumType<Exchange::IAVSController::INotification::dialoguestate> _params_;
80
- _params_ = state;
94
+ Core::JSON::EnumType<Exchange::IAVSController::INotification::dialoguestate> params_;
95
+ params_ = state;
81
96
 
82
- DialogueStateChange(_module_, _params_);
97
+ DialogueStateChange(module_, params_, sendIfMethod_);
83
98
  }
84
99
 
85
100
  } // namespace Event
86
101
 
87
102
  POP_WARNING()
103
+ POP_WARNING()
104
+ POP_WARNING()
88
105
 
89
106
  } // namespace JAVSController
90
107
 
91
108
  } // namespace Exchange
92
109
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAmazonPrime.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IAmazonPrime.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include <interfaces/IAmazonPrime.h>
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -17,62 +16,74 @@ namespace Exchange {
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
21
20
 
22
- using JSONRPC = PluginHost::JSONRPC;
23
-
24
21
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
22
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
23
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
25
24
 
26
- static void Register(JSONRPC& _module_, IAmazonPrime* _impl_)
25
+ template<typename MODULE>
26
+ static void Register(MODULE& _module__, IAmazonPrime* _implementation__)
27
27
  {
28
- ASSERT(_impl_ != nullptr);
28
+ ASSERT(_implementation__ != nullptr);
29
29
 
30
- _module_.RegisterVersion(_T("JAmazonPrime"), Version::Major, Version::Minor, Version::Patch);
30
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JAmazonPrime"), Version::Major, Version::Minor, Version::Patch);
31
31
 
32
32
  // Register methods and properties...
33
33
 
34
34
  // Method: 'send' - Send a message over the message bus to ignition
35
- _module_.Register<Core::JSON::String, void>(_T("send"),
36
- [_impl_](const Core::JSON::String& message) -> uint32_t {
37
- uint32_t _errorCode = Core::ERROR_NONE;
35
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, void>(_T("send"),
36
+ [_implementation__](const Core::JSON::String& message) -> uint32_t {
37
+ uint32_t _errorCode__ = Core::ERROR_NONE;
38
+
39
+ if (message.IsSet() == false) {
40
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
41
+ }
42
+ else {
43
+ const string _message_{message};
38
44
 
39
- const string _message{message};
45
+ _errorCode__ = _implementation__->Send(_message_);
40
46
 
41
- _errorCode = _impl_->Send(_message);
47
+ }
42
48
 
43
- return (_errorCode);
49
+ return (_errorCode__);
44
50
  });
45
51
 
46
52
  }
47
53
 
48
- static void Unregister(JSONRPC& _module_)
54
+ template<typename MODULE>
55
+ static void Unregister(MODULE& _module__)
49
56
  {
50
57
  // Unregister methods and properties...
51
- _module_.Unregister(_T("send"));
58
+ _module__.PluginHost::JSONRPC::Unregister(_T("send"));
52
59
  }
53
60
 
54
61
  namespace Event {
55
62
 
56
63
  // Event: 'receive' - Receive a message from the generic message bus
57
- static void Receive(const JSONRPC& _module_, const Core::JSON::String& message)
64
+ template<typename MODULE>
65
+ static void Receive(const MODULE& module_, const Core::JSON::String& message, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
58
66
  {
59
- _module_.Notify(_T("receive"), message);
67
+ module_.Notify(_T("receive"), message, sendIfMethod_);
60
68
  }
61
69
 
62
70
  // Event: 'receive' - Receive a message from the generic message bus
63
- static void Receive(const JSONRPC& _module_, const string& message)
71
+ template<typename MODULE>
72
+ static void Receive(const MODULE& module_, const string& message, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
64
73
  {
65
- Core::JSON::String _params_;
66
- _params_ = message;
74
+ Core::JSON::String params_;
75
+ params_ = message;
67
76
 
68
- Receive(_module_, _params_);
77
+ Receive(module_, params_, sendIfMethod_);
69
78
  }
70
79
 
71
80
  } // namespace Event
72
81
 
73
82
  POP_WARNING()
83
+ POP_WARNING()
84
+ POP_WARNING()
74
85
 
75
86
  } // namespace JAmazonPrime
76
87
 
77
88
  } // namespace Exchange
78
89
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JAppManager.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IAppManager.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_AppManager.h"
7
6
  #include <interfaces/IAppManager.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,463 +17,562 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IAppManager* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IAppManager* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JAppManager"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JAppManager"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'getLaunchableApps'
36
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("getLaunchableApps"),
37
- [_impl_](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("getLaunchableApps"),
37
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
40
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
41
41
 
42
- _errorCode = _impl_->GetLaunchableApps(_result);
42
+ _errorCode__ = _implementation__->GetLaunchableApps(_result_);
43
43
 
44
- if (_errorCode == Core::ERROR_NONE) {
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result.Set(true);
45
46
 
46
- if (_result != nullptr) {
47
- string _resultItem_{};
48
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
49
- _result->Release();
47
+ if (_result_ != nullptr) {
48
+ string _resultItem__{};
49
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
50
+ _result_->Release();
50
51
  }
51
52
  }
52
53
 
53
- return (_errorCode);
54
+ return (_errorCode__);
54
55
  });
55
56
 
56
57
  // Method: 'getLoadedApps'
57
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("getLoadedApps"),
58
- [_impl_](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
59
- uint32_t _errorCode = Core::ERROR_NONE;
58
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("getLoadedApps"),
59
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
60
+ uint32_t _errorCode__ = Core::ERROR_NONE;
60
61
 
61
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
62
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
62
63
 
63
- _errorCode = _impl_->GetLoadedApps(_result);
64
+ _errorCode__ = _implementation__->GetLoadedApps(_result_);
64
65
 
65
- if (_errorCode == Core::ERROR_NONE) {
66
+ if (_errorCode__ == Core::ERROR_NONE) {
67
+ result.Set(true);
66
68
 
67
- if (_result != nullptr) {
68
- string _resultItem_{};
69
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
70
- _result->Release();
69
+ if (_result_ != nullptr) {
70
+ string _resultItem__{};
71
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
72
+ _result_->Release();
71
73
  }
72
74
  }
73
75
 
74
- return (_errorCode);
76
+ return (_errorCode__);
75
77
  });
76
78
 
77
79
  // Method: 'launchApp'
78
- _module_.Register<JsonData::AppManager::LaunchAppParamsInfo, void>(_T("launchApp"),
79
- [_impl_](const JsonData::AppManager::LaunchAppParamsInfo& params) -> uint32_t {
80
- uint32_t _errorCode = Core::ERROR_NONE;
80
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::LaunchAppParamsInfo, void>(_T("launchApp"),
81
+ [_implementation__](const JsonData::AppManager::LaunchAppParamsInfo& params) -> uint32_t {
82
+ uint32_t _errorCode__ = Core::ERROR_NONE;
81
83
 
82
- const string _appId{params.AppId};
83
- const string _intent{params.Intent};
84
- const string _launchArgs{params.LaunchArgs};
84
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
85
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
86
+ }
87
+ else {
88
+ const string _appId_{params.AppId};
89
+ const string _intent_{params.Intent};
90
+ const string _launchArgs_{params.LaunchArgs};
85
91
 
86
- _errorCode = _impl_->LaunchApp(_appId, _intent, _launchArgs);
92
+ _errorCode__ = _implementation__->LaunchApp(_appId_, _intent_, _launchArgs_);
87
93
 
88
- return (_errorCode);
94
+ }
95
+
96
+ return (_errorCode__);
89
97
  });
90
98
 
91
99
  // Method: 'loadApp'
92
- _module_.Register<JsonData::AppManager::LaunchAppParamsInfo, void>(_T("loadApp"),
93
- [_impl_](const JsonData::AppManager::LaunchAppParamsInfo& params) -> uint32_t {
94
- uint32_t _errorCode = Core::ERROR_NONE;
100
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::LaunchAppParamsInfo, void>(_T("loadApp"),
101
+ [_implementation__](const JsonData::AppManager::LaunchAppParamsInfo& params) -> uint32_t {
102
+ uint32_t _errorCode__ = Core::ERROR_NONE;
95
103
 
96
- const string _appId{params.AppId};
97
- const string _intent{params.Intent};
98
- const string _launchArgs{params.LaunchArgs};
104
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
105
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
106
+ }
107
+ else {
108
+ const string _appId_{params.AppId};
109
+ const string _intent_{params.Intent};
110
+ const string _launchArgs_{params.LaunchArgs};
99
111
 
100
- _errorCode = _impl_->LoadApp(_appId, _intent, _launchArgs);
112
+ _errorCode__ = _implementation__->LoadApp(_appId_, _intent_, _launchArgs_);
101
113
 
102
- return (_errorCode);
114
+ }
115
+
116
+ return (_errorCode__);
103
117
  });
104
118
 
105
119
  // Method: 'prepareApp'
106
- _module_.Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("prepareApp"),
107
- [_impl_](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
108
- uint32_t _errorCode = Core::ERROR_NONE;
120
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("prepareApp"),
121
+ [_implementation__](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
122
+ uint32_t _errorCode__ = Core::ERROR_NONE;
123
+
124
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
125
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
126
+ }
127
+ else {
128
+ const string _appId_{params.AppId};
109
129
 
110
- const string _appId{params.AppId};
130
+ _errorCode__ = _implementation__->PrepareApp(_appId_);
111
131
 
112
- _errorCode = _impl_->PrepareApp(_appId);
132
+ }
113
133
 
114
- return (_errorCode);
134
+ return (_errorCode__);
115
135
  });
116
136
 
117
137
  // Method: 'sendMessage'
118
- _module_.Register<JsonData::AppManager::SendMessageParamsData, void>(_T("sendMessage"),
119
- [_impl_](const JsonData::AppManager::SendMessageParamsData& params) -> uint32_t {
120
- uint32_t _errorCode = Core::ERROR_NONE;
138
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SendMessageParamsData, void>(_T("sendMessage"),
139
+ [_implementation__](const JsonData::AppManager::SendMessageParamsData& params) -> uint32_t {
140
+ uint32_t _errorCode__ = Core::ERROR_NONE;
121
141
 
122
- const string _appId{params.AppId};
123
- const string _messagae{params.Messagae};
142
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
143
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
144
+ }
145
+ else {
146
+ const string _appId_{params.AppId};
147
+ const string _messagae_{params.Messagae};
124
148
 
125
- _errorCode = _impl_->SendMessage(_appId, _messagae);
149
+ _errorCode__ = _implementation__->SendMessage(_appId_, _messagae_);
126
150
 
127
- return (_errorCode);
151
+ }
152
+
153
+ return (_errorCode__);
128
154
  });
129
155
 
130
156
  // Method: 'closeApp'
131
- _module_.Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("closeApp"),
132
- [_impl_](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
133
- uint32_t _errorCode = Core::ERROR_NONE;
157
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("closeApp"),
158
+ [_implementation__](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
159
+ uint32_t _errorCode__ = Core::ERROR_NONE;
160
+
161
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
162
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
163
+ }
164
+ else {
165
+ const string _appId_{params.AppId};
134
166
 
135
- const string _appId{params.AppId};
167
+ _errorCode__ = _implementation__->CloseApp(_appId_);
136
168
 
137
- _errorCode = _impl_->CloseApp(_appId);
169
+ }
138
170
 
139
- return (_errorCode);
171
+ return (_errorCode__);
140
172
  });
141
173
 
142
174
  // Method: 'terminateApp'
143
- _module_.Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("terminateApp"),
144
- [_impl_](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
145
- uint32_t _errorCode = Core::ERROR_NONE;
175
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("terminateApp"),
176
+ [_implementation__](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
177
+ uint32_t _errorCode__ = Core::ERROR_NONE;
178
+
179
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
180
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
181
+ }
182
+ else {
183
+ const string _appId_{params.AppId};
146
184
 
147
- const string _appId{params.AppId};
185
+ _errorCode__ = _implementation__->TerminateApp(_appId_);
148
186
 
149
- _errorCode = _impl_->TerminateApp(_appId);
187
+ }
150
188
 
151
- return (_errorCode);
189
+ return (_errorCode__);
152
190
  });
153
191
 
154
192
  // Method: 'clearAppData'
155
- _module_.Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("clearAppData"),
156
- [_impl_](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
157
- uint32_t _errorCode = Core::ERROR_NONE;
193
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("clearAppData"),
194
+ [_implementation__](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
195
+ uint32_t _errorCode__ = Core::ERROR_NONE;
196
+
197
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
198
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
199
+ }
200
+ else {
201
+ const string _appId_{params.AppId};
158
202
 
159
- const string _appId{params.AppId};
203
+ _errorCode__ = _implementation__->ClearAppData(_appId_);
160
204
 
161
- _errorCode = _impl_->ClearAppData(_appId);
205
+ }
162
206
 
163
- return (_errorCode);
207
+ return (_errorCode__);
164
208
  });
165
209
 
166
210
  // Method: 'setAppFocus'
167
- _module_.Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("setAppFocus"),
168
- [_impl_](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
169
- uint32_t _errorCode = Core::ERROR_NONE;
211
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::PrepareAppParamsInfo, void>(_T("setAppFocus"),
212
+ [_implementation__](const JsonData::AppManager::PrepareAppParamsInfo& params) -> uint32_t {
213
+ uint32_t _errorCode__ = Core::ERROR_NONE;
170
214
 
171
- const string _appId{params.AppId};
215
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
216
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
217
+ }
218
+ else {
219
+ const string _appId_{params.AppId};
172
220
 
173
- _errorCode = _impl_->SetAppFocus(_appId);
221
+ _errorCode__ = _implementation__->SetAppFocus(_appId_);
174
222
 
175
- return (_errorCode);
223
+ }
224
+
225
+ return (_errorCode__);
176
226
  });
177
227
 
178
228
  // Method: 'getAppMetaData'
179
- _module_.Register<JsonData::AppManager::GetAppMetaInfoParamsInfo, void>(_T("getAppMetaData"),
180
- [_impl_](const JsonData::AppManager::GetAppMetaInfoParamsInfo& params) -> uint32_t {
181
- uint32_t _errorCode = Core::ERROR_NONE;
229
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::GetAppMetaInfoParamsInfo, void>(_T("getAppMetaData"),
230
+ [_implementation__](const JsonData::AppManager::GetAppMetaInfoParamsInfo& params) -> uint32_t {
231
+ uint32_t _errorCode__ = Core::ERROR_NONE;
232
+
233
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
234
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
235
+ }
236
+ else {
237
+ const string _appId_{params.AppId};
238
+ const string _key_{params.Key};
182
239
 
183
- const string _appId{params.AppId};
184
- const string _key{params.Key};
240
+ _errorCode__ = _implementation__->GetAppMetaData(_appId_, _key_);
185
241
 
186
- _errorCode = _impl_->GetAppMetaData(_appId, _key);
242
+ }
187
243
 
188
- return (_errorCode);
244
+ return (_errorCode__);
189
245
  });
190
246
 
191
247
  // Method: 'getAppProperty'
192
- _module_.Register<JsonData::AppManager::GetAppMetaInfoParamsInfo, void>(_T("getAppProperty"),
193
- [_impl_](const JsonData::AppManager::GetAppMetaInfoParamsInfo& params) -> uint32_t {
194
- uint32_t _errorCode = Core::ERROR_NONE;
248
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::GetAppMetaInfoParamsInfo, void>(_T("getAppProperty"),
249
+ [_implementation__](const JsonData::AppManager::GetAppMetaInfoParamsInfo& params) -> uint32_t {
250
+ uint32_t _errorCode__ = Core::ERROR_NONE;
251
+
252
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
253
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
254
+ }
255
+ else {
256
+ const string _appId_{params.AppId};
257
+ const string _key_{params.Key};
195
258
 
196
- const string _appId{params.AppId};
197
- const string _key{params.Key};
259
+ _errorCode__ = _implementation__->GetAppProperty(_appId_, _key_);
198
260
 
199
- _errorCode = _impl_->GetAppProperty(_appId, _key);
261
+ }
200
262
 
201
- return (_errorCode);
263
+ return (_errorCode__);
202
264
  });
203
265
 
204
266
  // Method: 'setAppProperty'
205
- _module_.Register<JsonData::AppManager::SetAppPropertyParamsData, void>(_T("setAppProperty"),
206
- [_impl_](const JsonData::AppManager::SetAppPropertyParamsData& params) -> uint32_t {
207
- uint32_t _errorCode = Core::ERROR_NONE;
267
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SetAppPropertyParamsData, void>(_T("setAppProperty"),
268
+ [_implementation__](const JsonData::AppManager::SetAppPropertyParamsData& params) -> uint32_t {
269
+ uint32_t _errorCode__ = Core::ERROR_NONE;
270
+
271
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
272
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
273
+ }
274
+ else {
275
+ const string _appId_{params.AppId};
276
+ const string _key_{params.Key};
277
+ const string _value_{params.Value};
208
278
 
209
- const string _appId{params.AppId};
210
- const string _key{params.Key};
211
- const string _value{params.Value};
279
+ _errorCode__ = _implementation__->SetAppProperty(_appId_, _key_, _value_);
212
280
 
213
- _errorCode = _impl_->SetAppProperty(_appId, _key, _value);
281
+ }
214
282
 
215
- return (_errorCode);
283
+ return (_errorCode__);
216
284
  });
217
285
 
218
286
  // Property: 'setMaxInactiveApps' (w/o)
219
- _module_.Register<JsonData::AppManager::SetMaxInactiveAppsData, void>(_T("setMaxInactiveApps"),
220
- [_impl_](const JsonData::AppManager::SetMaxInactiveAppsData& params) -> uint32_t {
221
- uint32_t _errorCode = Core::ERROR_NONE;
287
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SetMaxInactiveAppsData, void>(_T("setMaxInactiveApps"),
288
+ [_implementation__](const JsonData::AppManager::SetMaxInactiveAppsData& params) -> uint32_t {
289
+ uint32_t _errorCode__ = Core::ERROR_NONE;
290
+
291
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
292
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
293
+ }
294
+ else {
295
+ const uint32_t _maxInteractiveApps_{params.MaxInteractiveApps};
222
296
 
223
- // write-only property set
224
- const uint32_t _maxInteractiveApps{params.MaxInteractiveApps};
297
+ _errorCode__ = _implementation__->SetMaxInactiveApps(_maxInteractiveApps_);
225
298
 
226
- _errorCode = _impl_->SetMaxInactiveApps(_maxInteractiveApps);
299
+ }
227
300
 
228
- return (_errorCode);
301
+ return (_errorCode__);
229
302
  });
230
303
 
231
304
  // Property: 'getMaxInactiveApps' (r/o)
232
- _module_.Register<void, Core::JSON::DecUInt32>(_T("getMaxInactiveApps"),
233
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
234
- uint32_t _errorCode = Core::ERROR_NONE;
305
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("getMaxInactiveApps"),
306
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
307
+ uint32_t _errorCode__ = Core::ERROR_NONE;
235
308
 
236
- // read-only property get
237
- uint32_t _result{};
309
+ uint32_t _result_{};
238
310
 
239
- _errorCode = _impl_->GetMaxInactiveApps(_result);
311
+ _errorCode__ = _implementation__->GetMaxInactiveApps(_result_);
240
312
 
241
- if (_errorCode == Core::ERROR_NONE) {
242
- result = _result;
313
+ if (_errorCode__ == Core::ERROR_NONE) {
314
+ result = _result_;
243
315
  }
244
316
 
245
- return (_errorCode);
317
+ return (_errorCode__);
246
318
  });
247
319
 
248
320
  // Property: 'setMaxHibernatedApps' (w/o)
249
- _module_.Register<JsonData::AppManager::SetMaxHibernatedAppsData, void>(_T("setMaxHibernatedApps"),
250
- [_impl_](const JsonData::AppManager::SetMaxHibernatedAppsData& params) -> uint32_t {
251
- uint32_t _errorCode = Core::ERROR_NONE;
321
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SetMaxHibernatedAppsData, void>(_T("setMaxHibernatedApps"),
322
+ [_implementation__](const JsonData::AppManager::SetMaxHibernatedAppsData& params) -> uint32_t {
323
+ uint32_t _errorCode__ = Core::ERROR_NONE;
324
+
325
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
326
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
327
+ }
328
+ else {
329
+ const uint32_t _maxHibernatedApps_{params.MaxHibernatedApps};
252
330
 
253
- // write-only property set
254
- const uint32_t _maxHibernatedApps{params.MaxHibernatedApps};
331
+ _errorCode__ = _implementation__->SetMaxHibernatedApps(_maxHibernatedApps_);
255
332
 
256
- _errorCode = _impl_->SetMaxHibernatedApps(_maxHibernatedApps);
333
+ }
257
334
 
258
- return (_errorCode);
335
+ return (_errorCode__);
259
336
  });
260
337
 
261
338
  // Property: 'getMaxHibernatedApps' (r/o)
262
- _module_.Register<void, Core::JSON::DecUInt32>(_T("getMaxHibernatedApps"),
263
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
264
- uint32_t _errorCode = Core::ERROR_NONE;
339
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("getMaxHibernatedApps"),
340
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
341
+ uint32_t _errorCode__ = Core::ERROR_NONE;
265
342
 
266
- // read-only property get
267
- uint32_t _result{};
343
+ uint32_t _result_{};
268
344
 
269
- _errorCode = _impl_->GetMaxHibernatedApps(_result);
345
+ _errorCode__ = _implementation__->GetMaxHibernatedApps(_result_);
270
346
 
271
- if (_errorCode == Core::ERROR_NONE) {
272
- result = _result;
347
+ if (_errorCode__ == Core::ERROR_NONE) {
348
+ result = _result_;
273
349
  }
274
350
 
275
- return (_errorCode);
351
+ return (_errorCode__);
276
352
  });
277
353
 
278
354
  // Property: 'setMaxHibernatedFlashUsage' (w/o)
279
- _module_.Register<JsonData::AppManager::SetMaxHibernatedFlashUsageData, void>(_T("setMaxHibernatedFlashUsage"),
280
- [_impl_](const JsonData::AppManager::SetMaxHibernatedFlashUsageData& params) -> uint32_t {
281
- uint32_t _errorCode = Core::ERROR_NONE;
355
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SetMaxHibernatedFlashUsageData, void>(_T("setMaxHibernatedFlashUsage"),
356
+ [_implementation__](const JsonData::AppManager::SetMaxHibernatedFlashUsageData& params) -> uint32_t {
357
+ uint32_t _errorCode__ = Core::ERROR_NONE;
358
+
359
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
360
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
361
+ }
362
+ else {
363
+ const uint32_t _maxHibernatedFlashUsage_{params.MaxHibernatedFlashUsage};
282
364
 
283
- // write-only property set
284
- const uint32_t _maxHibernatedFlashUsage{params.MaxHibernatedFlashUsage};
365
+ _errorCode__ = _implementation__->SetMaxHibernatedFlashUsage(_maxHibernatedFlashUsage_);
285
366
 
286
- _errorCode = _impl_->SetMaxHibernatedFlashUsage(_maxHibernatedFlashUsage);
367
+ }
287
368
 
288
- return (_errorCode);
369
+ return (_errorCode__);
289
370
  });
290
371
 
291
372
  // Property: 'getMaxHibernatedFlashUsage' (r/o)
292
- _module_.Register<void, Core::JSON::DecUInt32>(_T("getMaxHibernatedFlashUsage"),
293
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
294
- uint32_t _errorCode = Core::ERROR_NONE;
373
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("getMaxHibernatedFlashUsage"),
374
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
375
+ uint32_t _errorCode__ = Core::ERROR_NONE;
295
376
 
296
- // read-only property get
297
- uint32_t _result{};
377
+ uint32_t _result_{};
298
378
 
299
- _errorCode = _impl_->GetMaxHibernatedFlashUsage(_result);
379
+ _errorCode__ = _implementation__->GetMaxHibernatedFlashUsage(_result_);
300
380
 
301
- if (_errorCode == Core::ERROR_NONE) {
302
- result = _result;
381
+ if (_errorCode__ == Core::ERROR_NONE) {
382
+ result = _result_;
303
383
  }
304
384
 
305
- return (_errorCode);
385
+ return (_errorCode__);
306
386
  });
307
387
 
308
388
  // Property: 'setMaxInactiveRamUsage' (w/o)
309
- _module_.Register<JsonData::AppManager::SetMaxInactiveRamUsageData, void>(_T("setMaxInactiveRamUsage"),
310
- [_impl_](const JsonData::AppManager::SetMaxInactiveRamUsageData& params) -> uint32_t {
311
- uint32_t _errorCode = Core::ERROR_NONE;
389
+ _module__.PluginHost::JSONRPC::Register<JsonData::AppManager::SetMaxInactiveRamUsageData, void>(_T("setMaxInactiveRamUsage"),
390
+ [_implementation__](const JsonData::AppManager::SetMaxInactiveRamUsageData& params) -> uint32_t {
391
+ uint32_t _errorCode__ = Core::ERROR_NONE;
392
+
393
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
394
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
395
+ }
396
+ else {
397
+ const uint32_t _maxInactiveRamUsage_{params.MaxInactiveRamUsage};
312
398
 
313
- // write-only property set
314
- const uint32_t _maxInactiveRamUsage{params.MaxInactiveRamUsage};
399
+ _errorCode__ = _implementation__->SetMaxInactiveRamUsage(_maxInactiveRamUsage_);
315
400
 
316
- _errorCode = _impl_->SetMaxInactiveRamUsage(_maxInactiveRamUsage);
401
+ }
317
402
 
318
- return (_errorCode);
403
+ return (_errorCode__);
319
404
  });
320
405
 
321
406
  // Property: 'getMaxInactiveRamUsage' (r/o)
322
- _module_.Register<void, Core::JSON::DecUInt32>(_T("getMaxInactiveRamUsage"),
323
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
324
- uint32_t _errorCode = Core::ERROR_NONE;
407
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("getMaxInactiveRamUsage"),
408
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
409
+ uint32_t _errorCode__ = Core::ERROR_NONE;
325
410
 
326
- // read-only property get
327
- uint32_t _result{};
411
+ uint32_t _result_{};
328
412
 
329
- _errorCode = _impl_->GetMaxInactiveRamUsage(_result);
413
+ _errorCode__ = _implementation__->GetMaxInactiveRamUsage(_result_);
330
414
 
331
- if (_errorCode == Core::ERROR_NONE) {
332
- result = _result;
415
+ if (_errorCode__ == Core::ERROR_NONE) {
416
+ result = _result_;
333
417
  }
334
418
 
335
- return (_errorCode);
419
+ return (_errorCode__);
336
420
  });
337
421
 
338
422
  }
339
423
 
340
- static void Unregister(JSONRPC& _module_)
424
+ template<typename MODULE>
425
+ static void Unregister(MODULE& _module__)
341
426
  {
342
427
  // Unregister methods and properties...
343
- _module_.Unregister(_T("getLaunchableApps"));
344
- _module_.Unregister(_T("getLoadedApps"));
345
- _module_.Unregister(_T("launchApp"));
346
- _module_.Unregister(_T("loadApp"));
347
- _module_.Unregister(_T("prepareApp"));
348
- _module_.Unregister(_T("sendMessage"));
349
- _module_.Unregister(_T("closeApp"));
350
- _module_.Unregister(_T("terminateApp"));
351
- _module_.Unregister(_T("clearAppData"));
352
- _module_.Unregister(_T("setAppFocus"));
353
- _module_.Unregister(_T("getAppMetaData"));
354
- _module_.Unregister(_T("getAppProperty"));
355
- _module_.Unregister(_T("setAppProperty"));
356
- _module_.Unregister(_T("setMaxInactiveApps"));
357
- _module_.Unregister(_T("getMaxInactiveApps"));
358
- _module_.Unregister(_T("setMaxHibernatedApps"));
359
- _module_.Unregister(_T("getMaxHibernatedApps"));
360
- _module_.Unregister(_T("setMaxHibernatedFlashUsage"));
361
- _module_.Unregister(_T("getMaxHibernatedFlashUsage"));
362
- _module_.Unregister(_T("setMaxInactiveRamUsage"));
363
- _module_.Unregister(_T("getMaxInactiveRamUsage"));
428
+ _module__.PluginHost::JSONRPC::Unregister(_T("getLaunchableApps"));
429
+ _module__.PluginHost::JSONRPC::Unregister(_T("getLoadedApps"));
430
+ _module__.PluginHost::JSONRPC::Unregister(_T("launchApp"));
431
+ _module__.PluginHost::JSONRPC::Unregister(_T("loadApp"));
432
+ _module__.PluginHost::JSONRPC::Unregister(_T("prepareApp"));
433
+ _module__.PluginHost::JSONRPC::Unregister(_T("sendMessage"));
434
+ _module__.PluginHost::JSONRPC::Unregister(_T("closeApp"));
435
+ _module__.PluginHost::JSONRPC::Unregister(_T("terminateApp"));
436
+ _module__.PluginHost::JSONRPC::Unregister(_T("clearAppData"));
437
+ _module__.PluginHost::JSONRPC::Unregister(_T("setAppFocus"));
438
+ _module__.PluginHost::JSONRPC::Unregister(_T("getAppMetaData"));
439
+ _module__.PluginHost::JSONRPC::Unregister(_T("getAppProperty"));
440
+ _module__.PluginHost::JSONRPC::Unregister(_T("setAppProperty"));
441
+ _module__.PluginHost::JSONRPC::Unregister(_T("setMaxInactiveApps"));
442
+ _module__.PluginHost::JSONRPC::Unregister(_T("getMaxInactiveApps"));
443
+ _module__.PluginHost::JSONRPC::Unregister(_T("setMaxHibernatedApps"));
444
+ _module__.PluginHost::JSONRPC::Unregister(_T("getMaxHibernatedApps"));
445
+ _module__.PluginHost::JSONRPC::Unregister(_T("setMaxHibernatedFlashUsage"));
446
+ _module__.PluginHost::JSONRPC::Unregister(_T("getMaxHibernatedFlashUsage"));
447
+ _module__.PluginHost::JSONRPC::Unregister(_T("setMaxInactiveRamUsage"));
448
+ _module__.PluginHost::JSONRPC::Unregister(_T("getMaxInactiveRamUsage"));
364
449
  }
365
450
 
366
451
  namespace Event {
367
452
 
368
453
  // Event: 'onAppInstalled' - Triggered when a new launchable app is installed for the first time or a different version is installed
369
- static void OnAppInstalled(const JSONRPC& _module_, const JsonData::AppManager::OnAppInstalledParamsData& params)
454
+ template<typename MODULE>
455
+ static void OnAppInstalled(const MODULE& module_, const JsonData::AppManager::OnAppInstalledParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
370
456
  {
371
- _module_.Notify(_T("onAppInstalled"), params);
457
+ module_.Notify(_T("onAppInstalled"), params, sendIfMethod_);
372
458
  }
373
459
 
374
460
  // Event: 'onAppInstalled' - Triggered when a new launchable app is installed for the first time or a different version is installed
375
- static void OnAppInstalled(const JSONRPC& _module_, const Core::JSON::String& appId, const Core::JSON::String& version)
461
+ template<typename MODULE>
462
+ static void OnAppInstalled(const MODULE& module_, const Core::JSON::String& appId, const Core::JSON::String& version, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
376
463
  {
377
- JsonData::AppManager::OnAppInstalledParamsData _params_;
378
- _params_.AppId = appId;
379
- _params_.Version = version;
464
+ JsonData::AppManager::OnAppInstalledParamsData params_;
465
+ params_.AppId = appId;
466
+ params_.Version = version;
380
467
 
381
- OnAppInstalled(_module_, _params_);
468
+ OnAppInstalled(module_, params_, sendIfMethod_);
382
469
  }
383
470
 
384
471
  // Event: 'onAppInstalled' - Triggered when a new launchable app is installed for the first time or a different version is installed
385
- static void OnAppInstalled(const JSONRPC& _module_, const string& appId, const string& version)
472
+ template<typename MODULE>
473
+ static void OnAppInstalled(const MODULE& module_, const string& appId, const string& version, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
386
474
  {
387
- JsonData::AppManager::OnAppInstalledParamsData _params_;
388
- _params_.AppId = appId;
389
- _params_.Version = version;
475
+ JsonData::AppManager::OnAppInstalledParamsData params_;
476
+ params_.AppId = appId;
477
+ params_.Version = version;
390
478
 
391
- OnAppInstalled(_module_, _params_);
479
+ OnAppInstalled(module_, params_, sendIfMethod_);
392
480
  }
393
481
 
394
482
  // Event: 'onAppUninstalled' - Triggered when a launchable app has been uninstalled
395
- static void OnAppUninstalled(const JSONRPC& _module_, const JsonData::AppManager::PrepareAppParamsInfo& params)
483
+ template<typename MODULE>
484
+ static void OnAppUninstalled(const MODULE& module_, const JsonData::AppManager::PrepareAppParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
396
485
  {
397
- _module_.Notify(_T("onAppUninstalled"), params);
486
+ module_.Notify(_T("onAppUninstalled"), params, sendIfMethod_);
398
487
  }
399
488
 
400
489
  // Event: 'onAppUninstalled' - Triggered when a launchable app has been uninstalled
401
- static void OnAppUninstalled(const JSONRPC& _module_, const Core::JSON::String& appId)
490
+ template<typename MODULE>
491
+ static void OnAppUninstalled(const MODULE& module_, const Core::JSON::String& appId, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
402
492
  {
403
- JsonData::AppManager::PrepareAppParamsInfo _params_;
404
- _params_.AppId = appId;
493
+ JsonData::AppManager::PrepareAppParamsInfo params_;
494
+ params_.AppId = appId;
405
495
 
406
- OnAppUninstalled(_module_, _params_);
496
+ OnAppUninstalled(module_, params_, sendIfMethod_);
407
497
  }
408
498
 
409
499
  // Event: 'onAppUninstalled' - Triggered when a launchable app has been uninstalled
410
- static void OnAppUninstalled(const JSONRPC& _module_, const string& appId)
500
+ template<typename MODULE>
501
+ static void OnAppUninstalled(const MODULE& module_, const string& appId, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
411
502
  {
412
- JsonData::AppManager::PrepareAppParamsInfo _params_;
413
- _params_.AppId = appId;
503
+ JsonData::AppManager::PrepareAppParamsInfo params_;
504
+ params_.AppId = appId;
414
505
 
415
- OnAppUninstalled(_module_, _params_);
506
+ OnAppUninstalled(module_, params_, sendIfMethod_);
416
507
  }
417
508
 
418
509
  // Event: 'onAppStateChanged' - Triggered whenever there is a change in the lifecycle state of a running app
419
- static void OnAppStateChanged(const JSONRPC& _module_, const JsonData::AppManager::OnAppStateChangedParamsData& params)
510
+ template<typename MODULE>
511
+ static void OnAppStateChanged(const MODULE& module_, const JsonData::AppManager::OnAppStateChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
420
512
  {
421
- _module_.Notify(_T("onAppStateChanged"), params);
513
+ module_.Notify(_T("onAppStateChanged"), params, sendIfMethod_);
422
514
  }
423
515
 
424
516
  // Event: 'onAppStateChanged' - Triggered whenever there is a change in the lifecycle state of a running app
425
- static void OnAppStateChanged(const JSONRPC& _module_, const Core::JSON::String& appId, const Core::JSON::String& state)
517
+ template<typename MODULE>
518
+ static void OnAppStateChanged(const MODULE& module_, const Core::JSON::String& appId, const Core::JSON::String& state, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
426
519
  {
427
- JsonData::AppManager::OnAppStateChangedParamsData _params_;
428
- _params_.AppId = appId;
429
- _params_.State = state;
520
+ JsonData::AppManager::OnAppStateChangedParamsData params_;
521
+ params_.AppId = appId;
522
+ params_.State = state;
430
523
 
431
- OnAppStateChanged(_module_, _params_);
524
+ OnAppStateChanged(module_, params_, sendIfMethod_);
432
525
  }
433
526
 
434
527
  // Event: 'onAppStateChanged' - Triggered whenever there is a change in the lifecycle state of a running app
435
- static void OnAppStateChanged(const JSONRPC& _module_, const string& appId, const string& state)
528
+ template<typename MODULE>
529
+ static void OnAppStateChanged(const MODULE& module_, const string& appId, const string& state, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
436
530
  {
437
- JsonData::AppManager::OnAppStateChangedParamsData _params_;
438
- _params_.AppId = appId;
439
- _params_.State = state;
531
+ JsonData::AppManager::OnAppStateChangedParamsData params_;
532
+ params_.AppId = appId;
533
+ params_.State = state;
440
534
 
441
- OnAppStateChanged(_module_, _params_);
535
+ OnAppStateChanged(module_, params_, sendIfMethod_);
442
536
  }
443
537
 
444
538
  // Event: 'onAppLaunchRequest' - This event is a stop-gap and expected to be deprecated in the future
445
- static void OnAppLaunchRequest(const JSONRPC& _module_, const JsonData::AppManager::OnAppLaunchRequestParamsData& params)
539
+ template<typename MODULE>
540
+ static void OnAppLaunchRequest(const MODULE& module_, const JsonData::AppManager::OnAppLaunchRequestParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
446
541
  {
447
- _module_.Notify(_T("onAppLaunchRequest"), params);
542
+ module_.Notify(_T("onAppLaunchRequest"), params, sendIfMethod_);
448
543
  }
449
544
 
450
545
  // Event: 'onAppLaunchRequest' - This event is a stop-gap and expected to be deprecated in the future
451
- static void OnAppLaunchRequest(const JSONRPC& _module_, const Core::JSON::String& appId, const Core::JSON::String& intent,
452
- const Core::JSON::String& source)
546
+ template<typename MODULE>
547
+ static void OnAppLaunchRequest(const MODULE& module_, const Core::JSON::String& appId, const Core::JSON::String& intent, const Core::JSON::String& source, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
453
548
  {
454
- JsonData::AppManager::OnAppLaunchRequestParamsData _params_;
455
- _params_.AppId = appId;
456
- _params_.Intent = intent;
457
- _params_.Source = source;
549
+ JsonData::AppManager::OnAppLaunchRequestParamsData params_;
550
+ params_.AppId = appId;
551
+ params_.Intent = intent;
552
+ params_.Source = source;
458
553
 
459
- OnAppLaunchRequest(_module_, _params_);
554
+ OnAppLaunchRequest(module_, params_, sendIfMethod_);
460
555
  }
461
556
 
462
557
  // Event: 'onAppLaunchRequest' - This event is a stop-gap and expected to be deprecated in the future
463
- static void OnAppLaunchRequest(const JSONRPC& _module_, const string& appId, const string& intent, const string& source)
558
+ template<typename MODULE>
559
+ static void OnAppLaunchRequest(const MODULE& module_, const string& appId, const string& intent, const string& source, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
464
560
  {
465
- JsonData::AppManager::OnAppLaunchRequestParamsData _params_;
466
- _params_.AppId = appId;
467
- _params_.Intent = intent;
468
- _params_.Source = source;
561
+ JsonData::AppManager::OnAppLaunchRequestParamsData params_;
562
+ params_.AppId = appId;
563
+ params_.Intent = intent;
564
+ params_.Source = source;
469
565
 
470
- OnAppLaunchRequest(_module_, _params_);
566
+ OnAppLaunchRequest(module_, params_, sendIfMethod_);
471
567
  }
472
568
 
473
569
  } // namespace Event
474
570
 
475
571
  POP_WARNING()
572
+ POP_WARNING()
573
+ POP_WARNING()
476
574
 
477
575
  } // namespace JAppManager
478
576
 
479
577
  } // namespace Exchange
480
578
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JApplication.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IApplication.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Application.h"
7
6
  #include <interfaces/IApplication.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,177 +17,188 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IApplication* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IApplication* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JApplication"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JApplication"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'reset' - Resets application data
36
- _module_.Register<Core::JSON::EnumType<Exchange::IApplication::resettype>, void>(_T("reset"),
37
- [_impl_](const Core::JSON::EnumType<Exchange::IApplication::resettype>& type) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IApplication::resettype>, void>(_T("reset"),
37
+ [_implementation__](const Core::JSON::EnumType<Exchange::IApplication::resettype>& type) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- const Exchange::IApplication::resettype _type{type};
40
+ if (type.IsSet() == false) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const Exchange::IApplication::resettype _type_{type};
41
45
 
42
- _errorCode = _impl_->Reset(_type);
46
+ _errorCode__ = _implementation__->Reset(_type_);
47
+
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  // Property: 'identifier' - Application-specific identification string (r/o)
48
- _module_.Register<void, Core::JSON::String>(_T("identifier"),
49
- [_impl_](Core::JSON::String& result) -> uint32_t {
50
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("identifier"),
55
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
51
57
 
52
- // read-only property get
53
- string _result{};
58
+ string _result_{};
54
59
 
55
- _errorCode = _impl_->Identifier(_result);
60
+ _errorCode__ = _implementation__->Identifier(_result_);
56
61
 
57
- if (_errorCode == Core::ERROR_NONE) {
58
- result = _result;
62
+ if (_errorCode__ == Core::ERROR_NONE) {
63
+ result = _result_;
59
64
  }
60
65
 
61
- return (_errorCode);
66
+ return (_errorCode__);
62
67
  });
63
68
 
64
69
  // Property: 'contentlink' - URI of the associated application-specific content (w/o)
65
- _module_.Register<Core::JSON::String, void>(_T("contentlink"),
66
- [_impl_](const Core::JSON::String& params) -> uint32_t {
67
- uint32_t _errorCode = Core::ERROR_NONE;
70
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, void>(_T("contentlink"),
71
+ [_implementation__](const Core::JSON::String& params) -> uint32_t {
72
+ uint32_t _errorCode__ = Core::ERROR_NONE;
68
73
 
69
- // write-only property set
70
- const string _params{params};
74
+ if (params.IsSet() == false) {
75
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
76
+ }
77
+ else {
78
+ const string _params_{params};
71
79
 
72
- _errorCode = _impl_->ContentLink(_params);
80
+ _errorCode__ = _implementation__->ContentLink(_params_);
73
81
 
74
- return (_errorCode);
82
+ }
83
+
84
+ return (_errorCode__);
75
85
  });
76
86
 
77
87
  // Property: 'launchpoint' - Application launching point
78
- _module_.Register<Core::JSON::EnumType<Exchange::IApplication::launchpointtype>,
79
- Core::JSON::EnumType<Exchange::IApplication::launchpointtype>>(_T("launchpoint"),
80
- [_impl_](const Core::JSON::EnumType<Exchange::IApplication::launchpointtype>& params,
81
- Core::JSON::EnumType<Exchange::IApplication::launchpointtype>& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
88
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IApplication::launchpointtype>, Core::JSON::EnumType<Exchange::IApplication::launchpointtype>>(_T("launchpoint"),
89
+ [_implementation__](const Core::JSON::EnumType<Exchange::IApplication::launchpointtype>& params, Core::JSON::EnumType<Exchange::IApplication::launchpointtype>& result) -> uint32_t {
90
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
91
 
84
92
  if (params.IsSet() == false) {
85
- // property get
86
- Exchange::IApplication::launchpointtype _result{};
93
+ Exchange::IApplication::launchpointtype _result_{};
87
94
 
88
- _errorCode = (static_cast<const IApplication*>(_impl_))->LaunchPoint(_result);
95
+ _errorCode__ = (static_cast<const IApplication*>(_implementation__))->LaunchPoint(_result_);
89
96
 
90
- if (_errorCode == Core::ERROR_NONE) {
91
- result = _result;
97
+ if (_errorCode__ == Core::ERROR_NONE) {
98
+ result = _result_;
92
99
  }
100
+ }
101
+ else {
102
+ const Exchange::IApplication::launchpointtype _params_{params};
93
103
 
94
- } else {
95
- // property set
96
- const Exchange::IApplication::launchpointtype _params{params};
97
-
98
- _errorCode = _impl_->LaunchPoint(_params);
104
+ _errorCode__ = _implementation__->LaunchPoint(_params_);
99
105
 
100
106
  result.Null(true);
101
107
  }
102
- return (_errorCode);
108
+
109
+ return (_errorCode__);
103
110
  });
104
111
 
105
112
  // Property: 'visible' - Current application visibility
106
- _module_.Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("visible"),
107
- [_impl_](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
108
- uint32_t _errorCode = Core::ERROR_NONE;
113
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("visible"),
114
+ [_implementation__](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
115
+ uint32_t _errorCode__ = Core::ERROR_NONE;
109
116
 
110
117
  if (params.IsSet() == false) {
111
- // property get
112
- bool _result{};
118
+ bool _result_{};
113
119
 
114
- _errorCode = (static_cast<const IApplication*>(_impl_))->Visible(_result);
120
+ _errorCode__ = (static_cast<const IApplication*>(_implementation__))->Visible(_result_);
115
121
 
116
- if (_errorCode == Core::ERROR_NONE) {
117
- result = _result;
122
+ if (_errorCode__ == Core::ERROR_NONE) {
123
+ result = _result_;
118
124
  }
125
+ }
126
+ else {
127
+ const bool _params_{params};
119
128
 
120
- } else {
121
- // property set
122
- const bool _params{params};
123
-
124
- _errorCode = _impl_->Visible(_params);
129
+ _errorCode__ = _implementation__->Visible(_params_);
125
130
 
126
131
  result.Null(true);
127
132
  }
128
- return (_errorCode);
133
+
134
+ return (_errorCode__);
129
135
  });
130
136
 
131
137
  // Property: 'language' - Current application user interface language
132
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("language"),
133
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
134
- uint32_t _errorCode = Core::ERROR_NONE;
138
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("language"),
139
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
140
+ uint32_t _errorCode__ = Core::ERROR_NONE;
135
141
 
136
142
  if (params.IsSet() == false) {
137
- // property get
138
- string _result{};
143
+ string _result_{};
139
144
 
140
- _errorCode = (static_cast<const IApplication*>(_impl_))->Language(_result);
145
+ _errorCode__ = (static_cast<const IApplication*>(_implementation__))->Language(_result_);
141
146
 
142
- if (_errorCode == Core::ERROR_NONE) {
143
- result = _result;
147
+ if (_errorCode__ == Core::ERROR_NONE) {
148
+ result = _result_;
144
149
  }
150
+ }
151
+ else {
152
+ const string _params_{params};
145
153
 
146
- } else {
147
- // property set
148
- const string _params{params};
149
-
150
- _errorCode = _impl_->Language(_params);
154
+ _errorCode__ = _implementation__->Language(_params_);
151
155
 
152
156
  result.Null(true);
153
157
  }
154
- return (_errorCode);
158
+
159
+ return (_errorCode__);
155
160
  });
156
161
 
157
162
  }
158
163
 
159
- static void Unregister(JSONRPC& _module_)
164
+ template<typename MODULE>
165
+ static void Unregister(MODULE& _module__)
160
166
  {
161
167
  // Unregister methods and properties...
162
- _module_.Unregister(_T("reset"));
163
- _module_.Unregister(_T("identifier"));
164
- _module_.Unregister(_T("contentlink"));
165
- _module_.Unregister(_T("launchpoint"));
166
- _module_.Unregister(_T("visible"));
167
- _module_.Unregister(_T("language"));
168
+ _module__.PluginHost::JSONRPC::Unregister(_T("reset"));
169
+ _module__.PluginHost::JSONRPC::Unregister(_T("identifier"));
170
+ _module__.PluginHost::JSONRPC::Unregister(_T("contentlink"));
171
+ _module__.PluginHost::JSONRPC::Unregister(_T("launchpoint"));
172
+ _module__.PluginHost::JSONRPC::Unregister(_T("visible"));
173
+ _module__.PluginHost::JSONRPC::Unregister(_T("language"));
168
174
  }
169
175
 
170
176
  namespace Event {
171
177
 
172
178
  // Event: 'visibilitychange' - Application visibility changes
173
- static void VisibilityChange(const JSONRPC& _module_, const Core::JSON::Boolean& hidden)
179
+ template<typename MODULE>
180
+ static void VisibilityChange(const MODULE& module_, const Core::JSON::Boolean& hidden, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
174
181
  {
175
- _module_.Notify(_T("visibilitychange"), hidden);
182
+ module_.Notify(_T("visibilitychange"), hidden, sendIfMethod_);
176
183
  }
177
184
 
178
185
  // Event: 'visibilitychange' - Application visibility changes
179
- static void VisibilityChange(const JSONRPC& _module_, const bool& hidden)
186
+ template<typename MODULE>
187
+ static void VisibilityChange(const MODULE& module_, const bool hidden, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
180
188
  {
181
- Core::JSON::Boolean _params_;
182
- _params_ = hidden;
189
+ Core::JSON::Boolean params_;
190
+ params_ = hidden;
183
191
 
184
- VisibilityChange(_module_, _params_);
192
+ VisibilityChange(module_, params_, sendIfMethod_);
185
193
  }
186
194
 
187
195
  } // namespace Event
188
196
 
189
197
  POP_WARNING()
198
+ POP_WARNING()
199
+ POP_WARNING()
190
200
 
191
201
  } // namespace JApplication
192
202
 
193
203
  } // namespace Exchange
194
204
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothAudioSink.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBluetoothAudio.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BluetoothAudioSink.h"
7
6
  #include <interfaces/IBluetoothAudio.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,227 +17,242 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IBluetoothAudioSink* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IBluetoothAudioSink* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JBluetoothAudioSink"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JBluetoothAudioSink"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'assign' - Assigns a Bluetooth device for audio playback
36
- _module_.Register<JsonData::BluetoothAudioSink::AssignParamsData, void>(_T("assign"),
37
- [_impl_](const JsonData::BluetoothAudioSink::AssignParamsData& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothAudioSink::AssignParamsData, void>(_T("assign"),
37
+ [_implementation__](const JsonData::BluetoothAudioSink::AssignParamsData& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _address_{params.Address};
39
45
 
40
- const string _address{params.Address};
46
+ _errorCode__ = _implementation__->Assign(_address_);
41
47
 
42
- _errorCode = _impl_->Assign(_address);
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  // Method: 'revoke' - Revokes a Bluetooth device from audio playback
48
- _module_.Register<void, void>(_T("revoke"),
49
- [_impl_]() -> uint32_t {
50
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("revoke"),
55
+ [_implementation__]() -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
51
57
 
52
- _errorCode = _impl_->Revoke();
58
+ _errorCode__ = _implementation__->Revoke();
53
59
 
54
- return (_errorCode);
60
+ return (_errorCode__);
55
61
  });
56
62
 
57
63
  // Property: 'latency' - Sink audio latency
58
- _module_.Register<JsonData::BluetoothAudioSink::LatencyData, Core::JSON::DecSInt16>(_T("latency"),
59
- [_impl_](const JsonData::BluetoothAudioSink::LatencyData& params, Core::JSON::DecSInt16& result) -> uint32_t {
60
- uint32_t _errorCode = Core::ERROR_NONE;
64
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothAudioSink::LatencyData, Core::JSON::DecSInt16>(_T("latency"),
65
+ [_implementation__](const JsonData::BluetoothAudioSink::LatencyData& params, Core::JSON::DecSInt16& result) -> uint32_t {
66
+ uint32_t _errorCode__ = Core::ERROR_NONE;
61
67
 
62
68
  if (params.IsSet() == false) {
63
- // property get
64
- int16_t _result{};
69
+ int16_t _result_{};
70
+
71
+ _errorCode__ = (static_cast<const IBluetoothAudioSink*>(_implementation__))->Latency(_result_);
65
72
 
66
- _errorCode = (static_cast<const IBluetoothAudioSink*>(_impl_))->Latency(_result);
73
+ if (_errorCode__ == Core::ERROR_NONE) {
74
+ result = _result_;
75
+ }
76
+ }
77
+ else {
67
78
 
68
- if (_errorCode == Core::ERROR_NONE) {
69
- result = _result;
79
+ if (params.IsDataValid() == false) {
80
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
70
81
  }
82
+ else {
83
+ const int16_t _value_{params.Value};
71
84
 
72
- } else {
73
- // property set
74
- const int16_t _value{params.Value};
85
+ _errorCode__ = _implementation__->Latency(_value_);
75
86
 
76
- _errorCode = _impl_->Latency(_value);
87
+ }
77
88
 
78
89
  result.Null(true);
79
90
  }
80
- return (_errorCode);
91
+
92
+ return (_errorCode__);
81
93
  });
82
94
 
83
95
  // Property: 'state' - Current audio sink state (r/o)
84
- _module_.Register<void, Core::JSON::EnumType<Exchange::IBluetoothAudioSink::state>>(_T("state"),
85
- [_impl_](Core::JSON::EnumType<Exchange::IBluetoothAudioSink::state>& result) -> uint32_t {
86
- uint32_t _errorCode = Core::ERROR_NONE;
96
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IBluetoothAudioSink::state>>(_T("state"),
97
+ [_implementation__](Core::JSON::EnumType<Exchange::IBluetoothAudioSink::state>& result) -> uint32_t {
98
+ uint32_t _errorCode__ = Core::ERROR_NONE;
87
99
 
88
- // read-only property get
89
- Exchange::IBluetoothAudioSink::state _result{};
100
+ Exchange::IBluetoothAudioSink::state _result_{};
90
101
 
91
- _errorCode = _impl_->State(_result);
102
+ _errorCode__ = _implementation__->State(_result_);
92
103
 
93
- if (_errorCode == Core::ERROR_NONE) {
94
- result = _result;
104
+ if (_errorCode__ == Core::ERROR_NONE) {
105
+ result = _result_;
95
106
  }
96
107
 
97
- return (_errorCode);
108
+ return (_errorCode__);
98
109
  });
99
110
 
100
111
  // Property: 'type' - Audio sink type (r/o)
101
- _module_.Register<void, Core::JSON::EnumType<Exchange::IBluetoothAudioSink::devicetype>>(_T("type"),
102
- [_impl_](Core::JSON::EnumType<Exchange::IBluetoothAudioSink::devicetype>& result) -> uint32_t {
103
- uint32_t _errorCode = Core::ERROR_NONE;
112
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IBluetoothAudioSink::devicetype>>(_T("type"),
113
+ [_implementation__](Core::JSON::EnumType<Exchange::IBluetoothAudioSink::devicetype>& result) -> uint32_t {
114
+ uint32_t _errorCode__ = Core::ERROR_NONE;
104
115
 
105
- // read-only property get
106
- Exchange::IBluetoothAudioSink::devicetype _result{};
116
+ Exchange::IBluetoothAudioSink::devicetype _result_{};
107
117
 
108
- _errorCode = _impl_->Type(_result);
118
+ _errorCode__ = _implementation__->Type(_result_);
109
119
 
110
- if (_errorCode == Core::ERROR_NONE) {
111
- result = _result;
120
+ if (_errorCode__ == Core::ERROR_NONE) {
121
+ result = _result_;
112
122
  }
113
123
 
114
- return (_errorCode);
124
+ return (_errorCode__);
115
125
  });
116
126
 
117
127
  // Property: 'supportedcodecs' - Audio codecs supported by the sink (r/o)
118
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::audiocodec>>>(_T("supportedcodecs"),
119
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::audiocodec>>& result) -> uint32_t {
120
- uint32_t _errorCode = Core::ERROR_NONE;
128
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::audiocodec>>>(_T("supportedcodecs"),
129
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::audiocodec>>& result) -> uint32_t {
130
+ uint32_t _errorCode__ = Core::ERROR_NONE;
121
131
 
122
- // read-only property get
123
- ::WPEFramework::RPC::IIteratorType<IBluetoothAudioSink::audiocodec, ID_BLUETOOTHAUDIOSINK_AUDIOCODECITERATOR>* _result{};
132
+ ::WPEFramework::RPC::IIteratorType<IBluetoothAudioSink::audiocodec, ID_BLUETOOTHAUDIOSINK_AUDIOCODECITERATOR>* _result_{};
124
133
 
125
- _errorCode = _impl_->SupportedCodecs(_result);
134
+ _errorCode__ = _implementation__->SupportedCodecs(_result_);
126
135
 
127
- if (_errorCode == Core::ERROR_NONE) {
136
+ if (_errorCode__ == Core::ERROR_NONE) {
137
+ result.Set(true);
128
138
 
129
- if (_result != nullptr) {
130
- Exchange::IBluetoothAudioSink::audiocodec _resultItem_{};
131
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
132
- _result->Release();
139
+ if (_result_ != nullptr) {
140
+ Exchange::IBluetoothAudioSink::audiocodec _resultItem__{};
141
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
142
+ _result_->Release();
133
143
  }
134
144
  }
135
145
 
136
- return (_errorCode);
146
+ return (_errorCode__);
137
147
  });
138
148
 
139
149
  // Property: 'supporteddrms' - DRM schemes supported by the sink (r/o)
140
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::drmscheme>>>(_T("supporteddrms"),
141
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::drmscheme>>& result) -> uint32_t {
142
- uint32_t _errorCode = Core::ERROR_NONE;
150
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::drmscheme>>>(_T("supporteddrms"),
151
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IBluetoothAudioSink::drmscheme>>& result) -> uint32_t {
152
+ uint32_t _errorCode__ = Core::ERROR_NONE;
143
153
 
144
- // read-only property get
145
- ::WPEFramework::RPC::IIteratorType<IBluetoothAudioSink::drmscheme, ID_BLUETOOTHAUDIOSINK_DRMSCHEMEITERATOR>* _result{};
154
+ ::WPEFramework::RPC::IIteratorType<IBluetoothAudioSink::drmscheme, ID_BLUETOOTHAUDIOSINK_DRMSCHEMEITERATOR>* _result_{};
146
155
 
147
- _errorCode = _impl_->SupportedDRMs(_result);
156
+ _errorCode__ = _implementation__->SupportedDRMs(_result_);
148
157
 
149
- if (_errorCode == Core::ERROR_NONE) {
158
+ if (_errorCode__ == Core::ERROR_NONE) {
159
+ result.Set(true);
150
160
 
151
- if (_result != nullptr) {
152
- Exchange::IBluetoothAudioSink::drmscheme _resultItem_{};
153
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
154
- _result->Release();
161
+ if (_result_ != nullptr) {
162
+ Exchange::IBluetoothAudioSink::drmscheme _resultItem__{};
163
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
164
+ _result_->Release();
155
165
  }
156
166
  }
157
167
 
158
- return (_errorCode);
168
+ return (_errorCode__);
159
169
  });
160
170
 
161
171
  // Property: 'codec' - Properites of the currently used codec (r/o)
162
- _module_.Register<void, JsonData::BluetoothAudioSink::CodecPropertiesData>(_T("codec"),
163
- [_impl_](JsonData::BluetoothAudioSink::CodecPropertiesData& result) -> uint32_t {
164
- uint32_t _errorCode = Core::ERROR_NONE;
172
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::BluetoothAudioSink::CodecPropertiesData>(_T("codec"),
173
+ [_implementation__](JsonData::BluetoothAudioSink::CodecPropertiesData& result) -> uint32_t {
174
+ uint32_t _errorCode__ = Core::ERROR_NONE;
165
175
 
166
- // read-only property get
167
- Exchange::IBluetoothAudioSink::CodecProperties _result{};
176
+ Exchange::IBluetoothAudioSink::CodecProperties _result_{};
168
177
 
169
- _errorCode = _impl_->Codec(_result);
178
+ _errorCode__ = _implementation__->Codec(_result_);
170
179
 
171
- if (_errorCode == Core::ERROR_NONE) {
172
- result = _result;
180
+ if (_errorCode__ == Core::ERROR_NONE) {
181
+ result.Set(true);
182
+ result = _result_;
173
183
  }
174
184
 
175
- return (_errorCode);
185
+ return (_errorCode__);
176
186
  });
177
187
 
178
188
  // Property: 'drm' - Properties of the currently used DRM scheme (r/o)
179
- _module_.Register<void, JsonData::BluetoothAudioSink::DRMPropertiesData>(_T("drm"),
180
- [_impl_](JsonData::BluetoothAudioSink::DRMPropertiesData& result) -> uint32_t {
181
- uint32_t _errorCode = Core::ERROR_NONE;
189
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::BluetoothAudioSink::DRMPropertiesData>(_T("drm"),
190
+ [_implementation__](JsonData::BluetoothAudioSink::DRMPropertiesData& result) -> uint32_t {
191
+ uint32_t _errorCode__ = Core::ERROR_NONE;
182
192
 
183
- // read-only property get
184
- Exchange::IBluetoothAudioSink::DRMProperties _result{};
193
+ Exchange::IBluetoothAudioSink::DRMProperties _result_{};
185
194
 
186
- _errorCode = _impl_->DRM(_result);
195
+ _errorCode__ = _implementation__->DRM(_result_);
187
196
 
188
- if (_errorCode == Core::ERROR_NONE) {
189
- result = _result;
197
+ if (_errorCode__ == Core::ERROR_NONE) {
198
+ result.Set(true);
199
+ result = _result_;
190
200
  }
191
201
 
192
- return (_errorCode);
202
+ return (_errorCode__);
193
203
  });
194
204
 
195
205
  // Property: 'stream' - Properties of the current output stream (r/o)
196
- _module_.Register<void, JsonData::BluetoothAudioSink::StreamPropertiesData>(_T("stream"),
197
- [_impl_](JsonData::BluetoothAudioSink::StreamPropertiesData& result) -> uint32_t {
198
- uint32_t _errorCode = Core::ERROR_NONE;
206
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::BluetoothAudioSink::StreamPropertiesData>(_T("stream"),
207
+ [_implementation__](JsonData::BluetoothAudioSink::StreamPropertiesData& result) -> uint32_t {
208
+ uint32_t _errorCode__ = Core::ERROR_NONE;
199
209
 
200
- // read-only property get
201
- Exchange::IBluetoothAudioSink::StreamProperties _result{};
210
+ Exchange::IBluetoothAudioSink::StreamProperties _result_{};
202
211
 
203
- _errorCode = _impl_->Stream(_result);
212
+ _errorCode__ = _implementation__->Stream(_result_);
204
213
 
205
- if (_errorCode == Core::ERROR_NONE) {
206
- result = _result;
214
+ if (_errorCode__ == Core::ERROR_NONE) {
215
+ result.Set(true);
216
+ result = _result_;
207
217
  }
208
218
 
209
- return (_errorCode);
219
+ return (_errorCode__);
210
220
  });
211
221
 
212
222
  }
213
223
 
214
- static void Unregister(JSONRPC& _module_)
224
+ template<typename MODULE>
225
+ static void Unregister(MODULE& _module__)
215
226
  {
216
227
  // Unregister methods and properties...
217
- _module_.Unregister(_T("assign"));
218
- _module_.Unregister(_T("revoke"));
219
- _module_.Unregister(_T("latency"));
220
- _module_.Unregister(_T("state"));
221
- _module_.Unregister(_T("type"));
222
- _module_.Unregister(_T("supportedcodecs"));
223
- _module_.Unregister(_T("supporteddrms"));
224
- _module_.Unregister(_T("codec"));
225
- _module_.Unregister(_T("drm"));
226
- _module_.Unregister(_T("stream"));
228
+ _module__.PluginHost::JSONRPC::Unregister(_T("assign"));
229
+ _module__.PluginHost::JSONRPC::Unregister(_T("revoke"));
230
+ _module__.PluginHost::JSONRPC::Unregister(_T("latency"));
231
+ _module__.PluginHost::JSONRPC::Unregister(_T("state"));
232
+ _module__.PluginHost::JSONRPC::Unregister(_T("type"));
233
+ _module__.PluginHost::JSONRPC::Unregister(_T("supportedcodecs"));
234
+ _module__.PluginHost::JSONRPC::Unregister(_T("supporteddrms"));
235
+ _module__.PluginHost::JSONRPC::Unregister(_T("codec"));
236
+ _module__.PluginHost::JSONRPC::Unregister(_T("drm"));
237
+ _module__.PluginHost::JSONRPC::Unregister(_T("stream"));
227
238
  }
228
239
 
229
240
  namespace Event {
230
241
 
231
242
  // Event: 'updated' - Signals audio sink state change or stream properties update
232
- static void Updated(const JSONRPC& _module_)
243
+ template<typename MODULE>
244
+ static void Updated(const MODULE& module_, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
233
245
  {
234
- _module_.Notify(_T("updated"));
246
+ module_.Notify(_T("updated"), sendIfMethod_);
235
247
  }
236
248
 
237
249
  } // namespace Event
238
250
 
239
251
  POP_WARNING()
252
+ POP_WARNING()
253
+ POP_WARNING()
240
254
 
241
255
  } // namespace JBluetoothAudioSink
242
256
 
243
257
  } // namespace Exchange
244
258
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothControl.h RENAMED
@@ -4,45 +4,32 @@
4
4
 
5
5
  #if _IMPLEMENTATION_STUB
6
6
  // sample implementation class
7
7
  class JSONRPCImplementation {
8
8
  public:
9
- uint32_t SetDiscoverable(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type,
10
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::Boolean& connectable, const Core::JSON::DecUInt16& duration) { return (Core::ERROR_NONE); }
9
+ uint32_t SetDiscoverable(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::Boolean& connectable, const Core::JSON::DecUInt16& duration) { return (Core::ERROR_NONE); }
11
10
  uint32_t StopDiscoverable(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type) { return (Core::ERROR_NONE); }
12
- uint32_t Scan(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type,
13
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::DecUInt16& timeout, const Core::JSON::DecUInt16& duration) { return (Core::ERROR_NONE); }
11
+ uint32_t Scan(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::DecUInt16& timeout, const Core::JSON::DecUInt16& duration) { return (Core::ERROR_NONE); }
14
12
  uint32_t StopScanning(const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type) { return (Core::ERROR_NONE); }
15
13
  uint32_t Connect(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
16
14
  uint32_t Disconnect(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
17
- uint32_t Pair(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type,
18
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::pairingcapabilities>& capabilities, const Core::JSON::DecUInt16& timeout) { return (Core::ERROR_NONE); }
15
+ uint32_t Pair(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::pairingcapabilities>& capabilities, const Core::JSON::DecUInt16& timeout) { return (Core::ERROR_NONE); }
19
16
  uint32_t Unpair(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
20
- uint32_t AbortPairing(const Core::JSON::String& address,
21
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
22
- uint32_t ProvidePINCode(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type,
23
- const Core::JSON::String& secret) { return (Core::ERROR_NONE); }
24
- uint32_t ProvidePasskey(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type,
25
- const Core::JSON::DecUInt32& secret) { return (Core::ERROR_NONE); }
26
- uint32_t ConfirmPasskey(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type,
27
- const Core::JSON::Boolean& iscorrect) { return (Core::ERROR_NONE); }
17
+ uint32_t AbortPairing(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
18
+ uint32_t ProvidePINCode(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::String& secret) { return (Core::ERROR_NONE); }
19
+ uint32_t ProvidePasskey(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::DecUInt32& secret) { return (Core::ERROR_NONE); }
20
+ uint32_t ConfirmPasskey(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::Boolean& iscorrect) { return (Core::ERROR_NONE); }
28
21
  uint32_t Forget(const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type) { return (Core::ERROR_NONE); }
29
22
  uint32_t GetDeviceList(Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>& result) { return (Core::ERROR_NONE); }
30
- uint32_t GetDeviceInfo(Core::JSON::String& address, Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, Core::JSON::String& name,
31
- Core::JSON::DecUInt32& class_, Core::JSON::DecUInt32& appearance, Core::JSON::ArrayType<Core::JSON::String>& services, Core::JSON::Boolean& connected,
32
- Core::JSON::Boolean& paired) { return (Core::ERROR_NONE); }
23
+ uint32_t GetDeviceInfo(Core::JSON::String& address, Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, Core::JSON::String& name, Core::JSON::DecUInt32& class_, Core::JSON::DecUInt32& appearance, Core::JSON::ArrayType<Core::JSON::String>& services, Core::JSON::Boolean& connected, Core::JSON::Boolean& paired) { return (Core::ERROR_NONE); }
33
24
  uint32_t Adapters(Core::JSON::ArrayType<Core::JSON::DecUInt16>& result) const { return (Core::ERROR_NONE); }
34
- uint32_t Adapter(const string& _index_, Core::JSON::DecUInt16& id, Core::JSON::String& address, Core::JSON::String& interface,
35
- Core::JSON::EnumType<JsonData::BluetoothControl::AdapterData::adaptertype>& type, Core::JSON::DecUInt8& version, Core::JSON::DecUInt16& manufacturer,
36
- Core::JSON::DecUInt32& class_, Core::JSON::String& name, Core::JSON::String& shortname) const { return (Core::ERROR_NONE); }
25
+ uint32_t Adapter(const string& index, Core::JSON::DecUInt16& id, Core::JSON::String& address, Core::JSON::String& interface, Core::JSON::EnumType<JsonData::BluetoothControl::AdapterData::adaptertype>& type, Core::JSON::DecUInt8& version, Core::JSON::DecUInt16& manufacturer, Core::JSON::DecUInt32& class_, Core::JSON::String& name, Core::JSON::String& shortname) const { return (Core::ERROR_NONE); }
37
26
  uint32_t Devices(Core::JSON::ArrayType<Core::JSON::String>& result) const { return (Core::ERROR_NONE); }
38
- uint32_t Device(const string& _index_, Core::JSON::String& address, Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type,
39
- Core::JSON::String& name, Core::JSON::DecUInt32& class_, Core::JSON::DecUInt32& appearance, Core::JSON::ArrayType<Core::JSON::String>& services,
40
- Core::JSON::Boolean& connected, Core::JSON::Boolean& paired) const { return (Core::ERROR_NONE); }
41
- void OnDiscoverableStartedEventRegistration(const string& client, const JBluetoothControl::JSONRPC::Status status) { }
42
- void OnScanStartedEventRegistration(const string& client, const JBluetoothControl::JSONRPC::Status status) { }
43
- void OnDeviceStateChangedEventRegistration(const string& client, const JBluetoothControl::JSONRPC::Status status) { }
27
+ uint32_t Device(const string& index, Core::JSON::String& address, Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, Core::JSON::String& name, Core::JSON::DecUInt32& class_, Core::JSON::DecUInt32& appearance, Core::JSON::ArrayType<Core::JSON::String>& services, Core::JSON::Boolean& connected, Core::JSON::Boolean& paired) const { return (Core::ERROR_NONE); }
28
+ void OnDiscoverableStartedEventRegistration(const string& client, const string& index, const PluginHost::JSONRPCSupportsEventStatus::Status status) { }
29
+ void OnScanStartedEventRegistration(const string& client, const string& index, const PluginHost::JSONRPCSupportsEventStatus::Status status) { }
30
+ void OnDeviceStateChangedEventRegistration(const string& client, const string& index, const PluginHost::JSONRPCSupportsEventStatus::Status status) { }
44
31
  }; // class JSONRPCImplementation
45
32
  #endif // _IMPLEMENTATION_STUB
46
33
 
47
34
  #include "Module.h"
48
35
  #include "JsonData_BluetoothControl.h"
@@ -59,588 +46,784 @@ namespace Exchange {
59
46
  constexpr uint8_t Minor = 0;
60
47
  constexpr uint8_t Patch = 0;
61
48
 
62
49
  } // namespace Version
63
50
 
64
- using JSONRPC = PluginHost::JSONRPCSupportsEventStatus;
65
-
66
51
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
52
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
53
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
54
+
55
+ using JSONRPC = PluginHost::JSONRPCSupportsEventStatus;
67
56
 
68
57
  template<typename IMPLEMENTATION>
69
- static void Register(JSONRPC& _module_, IMPLEMENTATION& _impl_)
58
+ static void Register(JSONRPC& _module__, IMPLEMENTATION& _implementation__)
70
59
  {
71
- _module_.RegisterVersion(_T("JBluetoothControl"), Version::Major, Version::Minor, Version::Patch);
72
60
 
73
61
  // Register methods and properties...
74
62
 
75
63
  // Method: 'setdiscoverable' - Starts advertising (or inquiry scanning), making the local interface visible by nearby Bluetooth devices
76
- _module_.Register<JsonData::BluetoothControl::SetdiscoverableParamsData, void>(_T("setdiscoverable"),
77
- [&_impl_](const JsonData::BluetoothControl::SetdiscoverableParamsData& params) -> uint32_t {
78
- uint32_t _errorCode = Core::ERROR_NONE;
79
-
80
- const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type{params.Type};
81
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& _mode{params.Mode};
82
- const Core::JSON::Boolean& _connectable{params.Connectable};
83
- const Core::JSON::DecUInt16& _duration{params.Duration};
84
-
85
- _errorCode = _impl_.SetDiscoverable(_type, _mode, _connectable, _duration);
86
-
87
- return (_errorCode);
64
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::SetdiscoverableParamsData, void>(_T("setdiscoverable"),
65
+ [&_implementation__](const JsonData::BluetoothControl::SetdiscoverableParamsData& params) -> uint32_t {
66
+ uint32_t _errorCode__ = Core::ERROR_NONE;
67
+
68
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
69
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
70
+ }
71
+ else {
72
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type_{params.Type};
73
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& _mode_{params.Mode};
74
+ const Core::JSON::Boolean& _connectable_{params.Connectable};
75
+ const Core::JSON::DecUInt16& _duration_{params.Duration};
76
+ _errorCode__ = _implementation__.SetDiscoverable(_type_, _mode_, _connectable_, _duration_);
77
+
78
+ }
79
+
80
+ return (_errorCode__);
88
81
  });
89
82
 
90
83
  // Method: 'stopdiscoverable' - Stops advertising (or inquiry scanning) operation
91
- _module_.Register<JsonData::BluetoothControl::StopdiscoverableParamsInfo, void>(_T("stopdiscoverable"),
92
- [&_impl_](const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params) -> uint32_t {
93
- uint32_t _errorCode = Core::ERROR_NONE;
84
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::StopdiscoverableParamsInfo, void>(_T("stopdiscoverable"),
85
+ [&_implementation__](const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params) -> uint32_t {
86
+ uint32_t _errorCode__ = Core::ERROR_NONE;
94
87
 
95
- const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type{params.Type};
88
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
89
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
90
+ }
91
+ else {
92
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type_{params.Type};
93
+ _errorCode__ = _implementation__.StopDiscoverable(_type_);
96
94
 
97
- _errorCode = _impl_.StopDiscoverable(_type);
95
+ }
98
96
 
99
- return (_errorCode);
97
+ return (_errorCode__);
100
98
  });
101
99
 
102
100
  // Method: 'scan' - Starts active discovery (or inquiry) of nearby Bluetooth devices
103
- _module_.Register<JsonData::BluetoothControl::ScanParamsData, void>(_T("scan"),
104
- [&_impl_](const JsonData::BluetoothControl::ScanParamsData& params) -> uint32_t {
105
- uint32_t _errorCode = Core::ERROR_NONE;
106
-
107
- const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type{params.Type};
108
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& _mode{params.Mode};
109
- const Core::JSON::DecUInt16& _timeout{params.Timeout};
110
- const Core::JSON::DecUInt16& _duration{params.Duration};
111
-
112
- _errorCode = _impl_.Scan(_type, _mode, _timeout, _duration);
113
-
114
- return (_errorCode);
101
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ScanParamsData, void>(_T("scan"),
102
+ [&_implementation__](const JsonData::BluetoothControl::ScanParamsData& params) -> uint32_t {
103
+ uint32_t _errorCode__ = Core::ERROR_NONE;
104
+
105
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
106
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
107
+ }
108
+ else {
109
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type_{params.Type};
110
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& _mode_{params.Mode};
111
+ const Core::JSON::DecUInt16& _timeout_{params.Timeout};
112
+ const Core::JSON::DecUInt16& _duration_{params.Duration};
113
+ _errorCode__ = _implementation__.Scan(_type_, _mode_, _timeout_, _duration_);
114
+
115
+ }
116
+
117
+ return (_errorCode__);
115
118
  });
116
119
 
117
120
  // Method: 'stopscanning' - Stops discovery (or inquiry) operation
118
- _module_.Register<JsonData::BluetoothControl::StopdiscoverableParamsInfo, void>(_T("stopscanning"),
119
- [&_impl_](const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params) -> uint32_t {
120
- uint32_t _errorCode = Core::ERROR_NONE;
121
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::StopdiscoverableParamsInfo, void>(_T("stopscanning"),
122
+ [&_implementation__](const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params) -> uint32_t {
123
+ uint32_t _errorCode__ = Core::ERROR_NONE;
121
124
 
122
- const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type{params.Type};
125
+ if ((params.IsSet() == true) && (params.IsDataValid() == false)) {
126
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
127
+ }
128
+ else {
129
+ const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& _type_{params.Type};
130
+ _errorCode__ = _implementation__.StopScanning(_type_);
123
131
 
124
- _errorCode = _impl_.StopScanning(_type);
132
+ }
125
133
 
126
- return (_errorCode);
134
+ return (_errorCode__);
127
135
  });
128
136
 
129
137
  // Method: 'connect' - Connects to a Bluetooth device
130
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("connect"),
131
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
132
- uint32_t _errorCode = Core::ERROR_NONE;
138
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("connect"),
139
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
140
+ uint32_t _errorCode__ = Core::ERROR_NONE;
133
141
 
134
- const Core::JSON::String& _address{params.Address};
135
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
142
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
143
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
144
+ }
145
+ else {
146
+ const Core::JSON::String& _address_{params.Address};
147
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
148
+ _errorCode__ = _implementation__.Connect(_address_, _type_);
136
149
 
137
- _errorCode = _impl_.Connect(_address, _type);
150
+ }
138
151
 
139
- return (_errorCode);
152
+ return (_errorCode__);
140
153
  });
141
154
 
142
155
  // Method: 'disconnect' - Disconnects from a connected Bluetooth device
143
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("disconnect"),
144
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
145
- uint32_t _errorCode = Core::ERROR_NONE;
156
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("disconnect"),
157
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
158
+ uint32_t _errorCode__ = Core::ERROR_NONE;
146
159
 
147
- const Core::JSON::String& _address{params.Address};
148
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
160
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
161
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
162
+ }
163
+ else {
164
+ const Core::JSON::String& _address_{params.Address};
165
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
166
+ _errorCode__ = _implementation__.Disconnect(_address_, _type_);
149
167
 
150
- _errorCode = _impl_.Disconnect(_address, _type);
168
+ }
151
169
 
152
- return (_errorCode);
170
+ return (_errorCode__);
153
171
  });
154
172
 
155
173
  // Method: 'pair' - Pairs a Bluetooth device
156
- _module_.Register<JsonData::BluetoothControl::PairParamsData, void>(_T("pair"),
157
- [&_impl_](const JsonData::BluetoothControl::PairParamsData& params) -> uint32_t {
158
- uint32_t _errorCode = Core::ERROR_NONE;
159
-
160
- const Core::JSON::String& _address{params.Address};
161
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
162
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::pairingcapabilities>& _capabilities{params.Capabilities};
163
- const Core::JSON::DecUInt16& _timeout{params.Timeout};
164
-
165
- _errorCode = _impl_.Pair(_address, _type, _capabilities, _timeout);
166
-
167
- return (_errorCode);
174
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::PairParamsData, void>(_T("pair"),
175
+ [&_implementation__](const JsonData::BluetoothControl::PairParamsData& params) -> uint32_t {
176
+ uint32_t _errorCode__ = Core::ERROR_NONE;
177
+
178
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
179
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
180
+ }
181
+ else {
182
+ const Core::JSON::String& _address_{params.Address};
183
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
184
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::pairingcapabilities>& _capabilities_{params.Capabilities};
185
+ const Core::JSON::DecUInt16& _timeout_{params.Timeout};
186
+ _errorCode__ = _implementation__.Pair(_address_, _type_, _capabilities_, _timeout_);
187
+
188
+ }
189
+
190
+ return (_errorCode__);
168
191
  });
169
192
 
170
193
  // Method: 'unpair' - Unpairs a paired Bluetooth device
171
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("unpair"),
172
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
173
- uint32_t _errorCode = Core::ERROR_NONE;
194
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("unpair"),
195
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
196
+ uint32_t _errorCode__ = Core::ERROR_NONE;
174
197
 
175
- const Core::JSON::String& _address{params.Address};
176
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
198
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
199
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
200
+ }
201
+ else {
202
+ const Core::JSON::String& _address_{params.Address};
203
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
204
+ _errorCode__ = _implementation__.Unpair(_address_, _type_);
177
205
 
178
- _errorCode = _impl_.Unpair(_address, _type);
206
+ }
179
207
 
180
- return (_errorCode);
208
+ return (_errorCode__);
181
209
  });
182
210
 
183
211
  // Method: 'abortpairing' - Aborts pairing operation
184
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("abortpairing"),
185
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
186
- uint32_t _errorCode = Core::ERROR_NONE;
212
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("abortpairing"),
213
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
214
+ uint32_t _errorCode__ = Core::ERROR_NONE;
187
215
 
188
- const Core::JSON::String& _address{params.Address};
189
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
216
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
217
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
218
+ }
219
+ else {
220
+ const Core::JSON::String& _address_{params.Address};
221
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
222
+ _errorCode__ = _implementation__.AbortPairing(_address_, _type_);
190
223
 
191
- _errorCode = _impl_.AbortPairing(_address, _type);
224
+ }
192
225
 
193
- return (_errorCode);
226
+ return (_errorCode__);
194
227
  });
195
228
 
196
229
  // Method: 'providepincode' - Provides a PIN-code for authentication during a legacy pairing process
197
- _module_.Register<JsonData::BluetoothControl::ProvidepincodeParamsData, void>(_T("providepincode"),
198
- [&_impl_](const JsonData::BluetoothControl::ProvidepincodeParamsData& params) -> uint32_t {
199
- uint32_t _errorCode = Core::ERROR_NONE;
200
-
201
- const Core::JSON::String& _address{params.Address};
202
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
203
- const Core::JSON::String& _secret{params.Secret};
204
-
205
- _errorCode = _impl_.ProvidePINCode(_address, _type, _secret);
206
-
207
- return (_errorCode);
230
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ProvidepincodeParamsData, void>(_T("providepincode"),
231
+ [&_implementation__](const JsonData::BluetoothControl::ProvidepincodeParamsData& params) -> uint32_t {
232
+ uint32_t _errorCode__ = Core::ERROR_NONE;
233
+
234
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
235
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
236
+ }
237
+ else {
238
+ const Core::JSON::String& _address_{params.Address};
239
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
240
+ const Core::JSON::String& _secret_{params.Secret};
241
+ _errorCode__ = _implementation__.ProvidePINCode(_address_, _type_, _secret_);
242
+
243
+ }
244
+
245
+ return (_errorCode__);
208
246
  });
209
247
 
210
248
  // Method: 'providepasskey' - Provides a passkey for authentication during a pairing process
211
- _module_.Register<JsonData::BluetoothControl::ProvidepasskeyParamsData, void>(_T("providepasskey"),
212
- [&_impl_](const JsonData::BluetoothControl::ProvidepasskeyParamsData& params) -> uint32_t {
213
- uint32_t _errorCode = Core::ERROR_NONE;
214
-
215
- const Core::JSON::String& _address{params.Address};
216
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
217
- const Core::JSON::DecUInt32& _secret{params.Secret};
218
-
219
- _errorCode = _impl_.ProvidePasskey(_address, _type, _secret);
220
-
221
- return (_errorCode);
249
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ProvidepasskeyParamsData, void>(_T("providepasskey"),
250
+ [&_implementation__](const JsonData::BluetoothControl::ProvidepasskeyParamsData& params) -> uint32_t {
251
+ uint32_t _errorCode__ = Core::ERROR_NONE;
252
+
253
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
254
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
255
+ }
256
+ else {
257
+ const Core::JSON::String& _address_{params.Address};
258
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
259
+ const Core::JSON::DecUInt32& _secret_{params.Secret};
260
+ _errorCode__ = _implementation__.ProvidePasskey(_address_, _type_, _secret_);
261
+
262
+ }
263
+
264
+ return (_errorCode__);
222
265
  });
223
266
 
224
267
  // Method: 'confirmpasskey' - Confirms a passkey for authentication during a pairing process
225
- _module_.Register<JsonData::BluetoothControl::ConfirmpasskeyParamsData, void>(_T("confirmpasskey"),
226
- [&_impl_](const JsonData::BluetoothControl::ConfirmpasskeyParamsData& params) -> uint32_t {
227
- uint32_t _errorCode = Core::ERROR_NONE;
228
-
229
- const Core::JSON::String& _address{params.Address};
230
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
231
- const Core::JSON::Boolean& _iscorrect{params.Iscorrect};
232
-
233
- _errorCode = _impl_.ConfirmPasskey(_address, _type, _iscorrect);
234
-
235
- return (_errorCode);
268
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConfirmpasskeyParamsData, void>(_T("confirmpasskey"),
269
+ [&_implementation__](const JsonData::BluetoothControl::ConfirmpasskeyParamsData& params) -> uint32_t {
270
+ uint32_t _errorCode__ = Core::ERROR_NONE;
271
+
272
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
273
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
274
+ }
275
+ else {
276
+ const Core::JSON::String& _address_{params.Address};
277
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
278
+ const Core::JSON::Boolean& _iscorrect_{params.Iscorrect};
279
+ _errorCode__ = _implementation__.ConfirmPasskey(_address_, _type_, _iscorrect_);
280
+
281
+ }
282
+
283
+ return (_errorCode__);
236
284
  });
237
285
 
238
286
  // Method: 'forget' - Forgets a known Bluetooth device
239
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("forget"),
240
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
241
- uint32_t _errorCode = Core::ERROR_NONE;
287
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, void>(_T("forget"),
288
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params) -> uint32_t {
289
+ uint32_t _errorCode__ = Core::ERROR_NONE;
242
290
 
243
- const Core::JSON::String& _address{params.Address};
244
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{params.Type};
291
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
292
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
293
+ }
294
+ else {
295
+ const Core::JSON::String& _address_{params.Address};
296
+ const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{params.Type};
297
+ _errorCode__ = _implementation__.Forget(_address_, _type_);
245
298
 
246
- _errorCode = _impl_.Forget(_address, _type);
299
+ }
247
300
 
248
- return (_errorCode);
301
+ return (_errorCode__);
249
302
  });
250
303
 
251
304
  // Method: 'getdevicelist' - Retrieves a list of known remote Bluetooth devices
252
- _module_.Register<void, Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>>(_T("getdevicelist"),
253
- [&_impl_](Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>& result) -> uint32_t {
254
- uint32_t _errorCode = Core::ERROR_NONE;
305
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>>(_T("getdevicelist"),
306
+ [&_implementation__](Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>& result) -> uint32_t {
307
+ uint32_t _errorCode__ = Core::ERROR_NONE;
255
308
 
256
- Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>& _result{result};
309
+ Core::JSON::ArrayType<JsonData::BluetoothControl::ConnectParamsInfo>& _result_{result};
310
+ _errorCode__ = _implementation__.GetDeviceList(_result_);
257
311
 
258
- _errorCode = _impl_.GetDeviceList(_result);
259
-
260
- return (_errorCode);
312
+ return (_errorCode__);
261
313
  });
262
314
 
263
315
  // Method: 'getdeviceinfo' - Retrieves detailed information about a known Bluetooth device
264
- _module_.Register<JsonData::BluetoothControl::ConnectParamsInfo, JsonData::BluetoothControl::DeviceData>(_T("getdeviceinfo"),
265
- [&_impl_](const JsonData::BluetoothControl::ConnectParamsInfo& params, JsonData::BluetoothControl::DeviceData& result) -> uint32_t {
266
- uint32_t _errorCode = Core::ERROR_NONE;
267
-
268
- result.Address = params.Address;
269
- Core::JSON::String& _address{result.Address};
270
- result.Type = params.Type;
271
- Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{result.Type};
272
- Core::JSON::String& _name{result.Name};
273
- Core::JSON::DecUInt32& _class{result.Class};
274
- Core::JSON::DecUInt32& _appearance{result.Appearance};
275
- Core::JSON::ArrayType<Core::JSON::String>& _services{result.Services};
276
- Core::JSON::Boolean& _connected{result.Connected};
277
- Core::JSON::Boolean& _paired{result.Paired};
278
-
279
- _errorCode = _impl_.GetDeviceInfo(_address, _type, _name, _class, _appearance, _services, _connected, _paired);
280
-
281
- return (_errorCode);
316
+ _module__.PluginHost::JSONRPC::Register<JsonData::BluetoothControl::ConnectParamsInfo, JsonData::BluetoothControl::DeviceData>(_T("getdeviceinfo"),
317
+ [&_implementation__](const JsonData::BluetoothControl::ConnectParamsInfo& params, JsonData::BluetoothControl::DeviceData& result) -> uint32_t {
318
+ uint32_t _errorCode__ = Core::ERROR_NONE;
319
+
320
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
321
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
322
+ }
323
+ else {
324
+ result.Address = params.Address;
325
+ Core::JSON::String& _address_{result.Address};
326
+ result.Type = params.Type;
327
+ Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{result.Type};
328
+ Core::JSON::String& _name_{result.Name};
329
+ Core::JSON::DecUInt32& _class__{result.Class};
330
+ Core::JSON::DecUInt32& _appearance_{result.Appearance};
331
+ Core::JSON::ArrayType<Core::JSON::String>& _services_{result.Services};
332
+ Core::JSON::Boolean& _connected_{result.Connected};
333
+ Core::JSON::Boolean& _paired_{result.Paired};
334
+ _errorCode__ = _implementation__.GetDeviceInfo(_address_, _type_, _name_, _class__, _appearance_, _services_, _connected_, _paired_);
335
+
336
+ }
337
+
338
+ return (_errorCode__);
282
339
  });
283
340
 
284
341
  // Property: 'adapters' - List of local Bluetooth adapters (r/o)
285
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::DecUInt16>>(_T("adapters"),
286
- [&_impl_](Core::JSON::ArrayType<Core::JSON::DecUInt16>& result) -> uint32_t {
287
- uint32_t _errorCode = Core::ERROR_NONE;
288
-
289
- // read-only property get
290
- Core::JSON::ArrayType<Core::JSON::DecUInt16>& _result{result};
342
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::DecUInt16>>(_T("adapters"),
343
+ [&_implementation__](Core::JSON::ArrayType<Core::JSON::DecUInt16>& result) -> uint32_t {
344
+ uint32_t _errorCode__ = Core::ERROR_NONE;
291
345
 
292
- _errorCode = _impl_.Adapters(_result);
346
+ Core::JSON::ArrayType<Core::JSON::DecUInt16>& _result_{result};
347
+ _errorCode__ = _implementation__.Adapters(_result_);
293
348
 
294
- return (_errorCode);
349
+ return (_errorCode__);
295
350
  });
296
351
 
297
352
  // Indexed Property: 'adapter' - Local Bluetooth adapter information (r/o)
298
- _module_.Register<void, JsonData::BluetoothControl::AdapterData, std::function<uint32_t(const string&,
299
- JsonData::BluetoothControl::AdapterData&)>>(_T("adapter"),
300
- [&_impl_](const string& _index_, JsonData::BluetoothControl::AdapterData& result) -> uint32_t {
301
- uint32_t _errorCode = Core::ERROR_NONE;
302
-
303
- // read-only property get
304
- Core::JSON::DecUInt16& _id{result.Id};
305
- Core::JSON::String& _address{result.Address};
306
- Core::JSON::String& _interface{result.Interface};
307
- Core::JSON::EnumType<JsonData::BluetoothControl::AdapterData::adaptertype>& _type{result.Type};
308
- Core::JSON::DecUInt8& _version{result.Version};
309
- Core::JSON::DecUInt16& _manufacturer{result.Manufacturer};
310
- Core::JSON::DecUInt32& _class{result.Class};
311
- Core::JSON::String& _name{result.Name};
312
- Core::JSON::String& _shortname{result.Shortname};
313
-
314
- _errorCode = _impl_.Adapter(_index_, _id, _address, _interface, _type, _version, _manufacturer, _class, _name, _shortname);
315
-
316
- return (_errorCode);
353
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::BluetoothControl::AdapterData, std::function<uint32_t(const string&, JsonData::BluetoothControl::AdapterData&)>>(_T("adapter"),
354
+ [&_implementation__](const string& index, JsonData::BluetoothControl::AdapterData& result) -> uint32_t {
355
+ uint32_t _errorCode__ = Core::ERROR_NONE;
356
+
357
+ if (index.empty() == true) {
358
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
359
+ }
360
+
361
+ if (_errorCode__ == Core::ERROR_NONE) {
362
+ Core::JSON::DecUInt16& _id_{result.Id};
363
+ Core::JSON::String& _address_{result.Address};
364
+ Core::JSON::String& _interface_{result.Interface};
365
+ Core::JSON::EnumType<JsonData::BluetoothControl::AdapterData::adaptertype>& _type_{result.Type};
366
+ Core::JSON::DecUInt8& _version_{result.Version};
367
+ Core::JSON::DecUInt16& _manufacturer_{result.Manufacturer};
368
+ Core::JSON::DecUInt32& _class__{result.Class};
369
+ Core::JSON::String& _name_{result.Name};
370
+ Core::JSON::String& _shortname_{result.Shortname};
371
+ _errorCode__ = _implementation__.Adapter(index, _id_, _address_, _interface_, _type_, _version_, _manufacturer_, _class__, _name_, _shortname_);
372
+
373
+ }
374
+
375
+ return (_errorCode__);
317
376
  });
318
377
 
319
378
  // Property: 'devices' - List of known remote Bluetooth devices (DEPRECATED) (r/o)
320
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("devices"),
321
- [&_impl_](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
322
- uint32_t _errorCode = Core::ERROR_NONE;
379
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("devices"),
380
+ [&_implementation__](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
381
+ uint32_t _errorCode__ = Core::ERROR_NONE;
323
382
 
324
- // read-only property get
325
- Core::JSON::ArrayType<Core::JSON::String>& _result{result};
383
+ Core::JSON::ArrayType<Core::JSON::String>& _result_{result};
384
+ _errorCode__ = _implementation__.Devices(_result_);
326
385
 
327
- _errorCode = _impl_.Devices(_result);
328
-
329
- return (_errorCode);
386
+ return (_errorCode__);
330
387
  });
331
388
 
332
389
  // Indexed Property: 'device' - Remote Bluetooth device information (DEPRECATED) (r/o)
333
- _module_.Register<void, JsonData::BluetoothControl::DeviceData, std::function<uint32_t(const string&,
334
- JsonData::BluetoothControl::DeviceData&)>>(_T("device"),
335
- [&_impl_](const string& _index_, JsonData::BluetoothControl::DeviceData& result) -> uint32_t {
336
- uint32_t _errorCode = Core::ERROR_NONE;
337
-
338
- // read-only property get
339
- Core::JSON::String& _address{result.Address};
340
- Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type{result.Type};
341
- Core::JSON::String& _name{result.Name};
342
- Core::JSON::DecUInt32& _class{result.Class};
343
- Core::JSON::DecUInt32& _appearance{result.Appearance};
344
- Core::JSON::ArrayType<Core::JSON::String>& _services{result.Services};
345
- Core::JSON::Boolean& _connected{result.Connected};
346
- Core::JSON::Boolean& _paired{result.Paired};
347
-
348
- _errorCode = _impl_.Device(_index_, _address, _type, _name, _class, _appearance, _services, _connected, _paired);
349
-
350
- return (_errorCode);
390
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::BluetoothControl::DeviceData, std::function<uint32_t(const string&, JsonData::BluetoothControl::DeviceData&)>>(_T("device"),
391
+ [&_implementation__](const string& index, JsonData::BluetoothControl::DeviceData& result) -> uint32_t {
392
+ uint32_t _errorCode__ = Core::ERROR_NONE;
393
+
394
+ if (index.empty() == true) {
395
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
396
+ }
397
+
398
+ if (_errorCode__ == Core::ERROR_NONE) {
399
+ Core::JSON::String& _address_{result.Address};
400
+ Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& _type_{result.Type};
401
+ Core::JSON::String& _name_{result.Name};
402
+ Core::JSON::DecUInt32& _class__{result.Class};
403
+ Core::JSON::DecUInt32& _appearance_{result.Appearance};
404
+ Core::JSON::ArrayType<Core::JSON::String>& _services_{result.Services};
405
+ Core::JSON::Boolean& _connected_{result.Connected};
406
+ Core::JSON::Boolean& _paired_{result.Paired};
407
+ _errorCode__ = _implementation__.Device(index, _address_, _type_, _name_, _class__, _appearance_, _services_, _connected_, _paired_);
408
+
409
+ }
410
+
411
+ return (_errorCode__);
351
412
  });
352
413
 
353
414
  // Register event status listeners...
354
415
 
355
- _module_.RegisterEventStatusListener(_T("discoverablestarted"),
356
- [&_impl_](const string& client, const JSONRPC::Status status) {
357
- _impl_.OnDiscoverableStartedEventRegistration(client, status);
416
+ _module__.PluginHost::JSONRPCSupportsEventStatus::RegisterEventStatusListener(_T("discoverablestarted"),
417
+ [&_implementation__](const uint32_t, const string& client_, const string&, const PluginHost::JSONRPCSupportsEventStatus::Status status_) {
418
+ _implementation__.OnDiscoverableStartedEventRegistration(client_, status_);
358
419
  });
359
420
 
360
- _module_.RegisterEventStatusListener(_T("scanstarted"),
361
- [&_impl_](const string& client, const JSONRPC::Status status) {
362
- _impl_.OnScanStartedEventRegistration(client, status);
421
+ _module__.PluginHost::JSONRPCSupportsEventStatus::RegisterEventStatusListener(_T("scanstarted"),
422
+ [&_implementation__](const uint32_t, const string& client_, const string&, const PluginHost::JSONRPCSupportsEventStatus::Status status_) {
423
+ _implementation__.OnScanStartedEventRegistration(client_, status_);
363
424
  });
364
425
 
365
- _module_.RegisterEventStatusListener(_T("devicestatechange"),
366
- [&_impl_](const string& client, const JSONRPC::Status status) {
367
- _impl_.OnDeviceStateChangedEventRegistration(client, status);
426
+ _module__.PluginHost::JSONRPCSupportsEventStatus::RegisterEventStatusListener(_T("devicestatechange"),
427
+ [&_implementation__](const uint32_t, const string& client_, const string&, const PluginHost::JSONRPCSupportsEventStatus::Status status_) {
428
+ _implementation__.OnDeviceStateChangedEventRegistration(client_, status_);
368
429
  });
369
430
 
370
431
  }
371
432
 
372
- static void Unregister(JSONRPC& _module_)
433
+ template<typename MODULE>
434
+ static void Unregister(MODULE& _module__)
373
435
  {
374
436
  // Unregister methods and properties...
375
- _module_.Unregister(_T("setdiscoverable"));
376
- _module_.Unregister(_T("stopdiscoverable"));
377
- _module_.Unregister(_T("scan"));
378
- _module_.Unregister(_T("stopscanning"));
379
- _module_.Unregister(_T("connect"));
380
- _module_.Unregister(_T("disconnect"));
381
- _module_.Unregister(_T("pair"));
382
- _module_.Unregister(_T("unpair"));
383
- _module_.Unregister(_T("abortpairing"));
384
- _module_.Unregister(_T("providepincode"));
385
- _module_.Unregister(_T("providepasskey"));
386
- _module_.Unregister(_T("confirmpasskey"));
387
- _module_.Unregister(_T("forget"));
388
- _module_.Unregister(_T("getdevicelist"));
389
- _module_.Unregister(_T("getdeviceinfo"));
390
- _module_.Unregister(_T("adapters"));
391
- _module_.Unregister(_T("adapter"));
392
- _module_.Unregister(_T("devices"));
393
- _module_.Unregister(_T("device"));
437
+ _module__.PluginHost::JSONRPC::Unregister(_T("setdiscoverable"));
438
+ _module__.PluginHost::JSONRPC::Unregister(_T("stopdiscoverable"));
439
+ _module__.PluginHost::JSONRPC::Unregister(_T("scan"));
440
+ _module__.PluginHost::JSONRPC::Unregister(_T("stopscanning"));
441
+ _module__.PluginHost::JSONRPC::Unregister(_T("connect"));
442
+ _module__.PluginHost::JSONRPC::Unregister(_T("disconnect"));
443
+ _module__.PluginHost::JSONRPC::Unregister(_T("pair"));
444
+ _module__.PluginHost::JSONRPC::Unregister(_T("unpair"));
445
+ _module__.PluginHost::JSONRPC::Unregister(_T("abortpairing"));
446
+ _module__.PluginHost::JSONRPC::Unregister(_T("providepincode"));
447
+ _module__.PluginHost::JSONRPC::Unregister(_T("providepasskey"));
448
+ _module__.PluginHost::JSONRPC::Unregister(_T("confirmpasskey"));
449
+ _module__.PluginHost::JSONRPC::Unregister(_T("forget"));
450
+ _module__.PluginHost::JSONRPC::Unregister(_T("getdevicelist"));
451
+ _module__.PluginHost::JSONRPC::Unregister(_T("getdeviceinfo"));
452
+ _module__.PluginHost::JSONRPC::Unregister(_T("adapters"));
453
+ _module__.PluginHost::JSONRPC::Unregister(_T("adapter"));
454
+ _module__.PluginHost::JSONRPC::Unregister(_T("devices"));
455
+ _module__.PluginHost::JSONRPC::Unregister(_T("device"));
394
456
 
395
457
  // Unregister event status listeners...
396
- _module_.UnregisterEventStatusListener(_T("discoverablestarted"));
397
- _module_.UnregisterEventStatusListener(_T("scanstarted"));
398
- _module_.UnregisterEventStatusListener(_T("devicestatechange"));
458
+ _module__.PluginHost::JSONRPCSupportsEventStatus::UnregisterEventStatusListener(_T("discoverablestarted"));
459
+ _module__.PluginHost::JSONRPCSupportsEventStatus::UnregisterEventStatusListener(_T("scanstarted"));
460
+ _module__.PluginHost::JSONRPCSupportsEventStatus::UnregisterEventStatusListener(_T("devicestatechange"));
399
461
  }
400
462
 
401
463
  namespace Event {
402
464
 
403
465
  // Event: 'discoverablestarted' - Notifies of entering the discoverable state
404
- static void DiscoverableStarted(const JSONRPC& _module_, const JsonData::BluetoothControl::DiscoverablestartedParamsData& params,
405
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
466
+ template<typename MODULE>
467
+ static void DiscoverableStarted(const MODULE& module_, const JsonData::BluetoothControl::DiscoverablestartedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
468
+ {
469
+ module_.Notify(_T("discoverablestarted"), params, sendIfMethod_);
470
+ }
471
+
472
+ // Event: 'discoverablestarted' - Notifies of entering the discoverable state
473
+ template<typename MODULE>
474
+ static void DiscoverableStarted(const MODULE& module_, const JsonData::BluetoothControl::DiscoverablestartedParamsData& params, const string& client_)
406
475
  {
407
- _module_.Notify(_T("discoverablestarted"), params, _sendIfFunction_);
476
+ module_.Notify(_T("discoverablestarted"), params, [&client_](const string& designator_) -> bool {
477
+ return ((client_ == designator_));
478
+ });
408
479
  }
409
480
 
410
481
  // Event: 'discoverablestarted' - Notifies of entering the discoverable state
411
- static void DiscoverableStarted(const JSONRPC& _module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type,
412
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::Boolean& connectable,
413
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
482
+ template<typename MODULE>
483
+ static void DiscoverableStarted(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::Boolean& connectable, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
414
484
  {
415
- JsonData::BluetoothControl::DiscoverablestartedParamsData _params_;
416
- _params_.Type = type;
417
- _params_.Mode = mode;
418
- _params_.Connectable = connectable;
485
+ JsonData::BluetoothControl::DiscoverablestartedParamsData params_;
486
+ params_.Type = type;
487
+ params_.Mode = mode;
488
+ params_.Connectable = connectable;
419
489
 
420
- DiscoverableStarted(_module_, _params_, _sendIfFunction_);
490
+ DiscoverableStarted(module_, params_, sendIfMethod_);
421
491
  }
422
492
 
423
493
  // Event: 'discoverablestarted' - Notifies of entering the discoverable state
424
- static void DiscoverableStarted(const JSONRPC& _module_, const JsonData::BluetoothControl::scantype& type,
425
- const JsonData::BluetoothControl::scanmode& mode, const bool& connectable, const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
494
+ template<typename MODULE>
495
+ static void DiscoverableStarted(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const Core::JSON::Boolean& connectable, const string& client_)
426
496
  {
427
- JsonData::BluetoothControl::DiscoverablestartedParamsData _params_;
428
- _params_.Type = type;
429
- _params_.Mode = mode;
430
- _params_.Connectable = connectable;
497
+ JsonData::BluetoothControl::DiscoverablestartedParamsData params_;
498
+ params_.Type = type;
499
+ params_.Mode = mode;
500
+ params_.Connectable = connectable;
431
501
 
432
- DiscoverableStarted(_module_, _params_, _sendIfFunction_);
502
+ DiscoverableStarted(module_, params_, client_);
503
+ }
504
+
505
+ // Event: 'discoverablestarted' - Notifies of entering the discoverable state
506
+ template<typename MODULE>
507
+ static void DiscoverableStarted(const MODULE& module_, JsonData::BluetoothControl::scantype type, JsonData::BluetoothControl::scanmode mode, bool connectable, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
508
+ {
509
+ JsonData::BluetoothControl::DiscoverablestartedParamsData params_;
510
+ params_.Type = type;
511
+ params_.Mode = mode;
512
+ params_.Connectable = connectable;
513
+
514
+ DiscoverableStarted(module_, params_, sendIfMethod_);
515
+ }
516
+
517
+ // Event: 'discoverablestarted' - Notifies of entering the discoverable state
518
+ template<typename MODULE>
519
+ static void DiscoverableStarted(const MODULE& module_, JsonData::BluetoothControl::scantype type, JsonData::BluetoothControl::scanmode mode, bool connectable, const string& client_)
520
+ {
521
+ JsonData::BluetoothControl::DiscoverablestartedParamsData params_;
522
+ params_.Type = type;
523
+ params_.Mode = mode;
524
+ params_.Connectable = connectable;
525
+
526
+ DiscoverableStarted(module_, params_, client_);
433
527
  }
434
528
 
435
529
  // Event: 'discoverablecomplete' - Notifies of leaving the discoverable state
436
- static void DiscoverableComplete(const JSONRPC& _module_, const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params)
530
+ template<typename MODULE>
531
+ static void DiscoverableComplete(const MODULE& module_, const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
437
532
  {
438
- _module_.Notify(_T("discoverablecomplete"), params);
533
+ module_.Notify(_T("discoverablecomplete"), params, sendIfMethod_);
439
534
  }
440
535
 
441
536
  // Event: 'discoverablecomplete' - Notifies of leaving the discoverable state
442
- static void DiscoverableComplete(const JSONRPC& _module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type)
537
+ template<typename MODULE>
538
+ static void DiscoverableComplete(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
443
539
  {
444
- JsonData::BluetoothControl::StopdiscoverableParamsInfo _params_;
445
- _params_.Type = type;
540
+ JsonData::BluetoothControl::StopdiscoverableParamsInfo params_;
541
+ params_.Type = type;
446
542
 
447
- DiscoverableComplete(_module_, _params_);
543
+ DiscoverableComplete(module_, params_, sendIfMethod_);
448
544
  }
449
545
 
450
546
  // Event: 'discoverablecomplete' - Notifies of leaving the discoverable state
451
- static void DiscoverableComplete(const JSONRPC& _module_, const JsonData::BluetoothControl::scantype& type)
547
+ template<typename MODULE>
548
+ static void DiscoverableComplete(const MODULE& module_, JsonData::BluetoothControl::scantype type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
549
+ {
550
+ JsonData::BluetoothControl::StopdiscoverableParamsInfo params_;
551
+ params_.Type = type;
552
+
553
+ DiscoverableComplete(module_, params_, sendIfMethod_);
554
+ }
555
+
556
+ // Event: 'scanstarted' - Notifies of scan start
557
+ template<typename MODULE>
558
+ static void ScanStarted(const MODULE& module_, const JsonData::BluetoothControl::ScanstartedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
559
+ {
560
+ module_.Notify(_T("scanstarted"), params, sendIfMethod_);
561
+ }
562
+
563
+ // Event: 'scanstarted' - Notifies of scan start
564
+ template<typename MODULE>
565
+ static void ScanStarted(const MODULE& module_, const JsonData::BluetoothControl::ScanstartedParamsData& params, const string& client_)
452
566
  {
453
- JsonData::BluetoothControl::StopdiscoverableParamsInfo _params_;
454
- _params_.Type = type;
567
+ module_.Notify(_T("scanstarted"), params, [&client_](const string& designator_) -> bool {
568
+ return ((client_ == designator_));
569
+ });
570
+ }
455
571
 
456
- DiscoverableComplete(_module_, _params_);
572
+ // Event: 'scanstarted' - Notifies of scan start
573
+ template<typename MODULE>
574
+ static void ScanStarted(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
575
+ {
576
+ JsonData::BluetoothControl::ScanstartedParamsData params_;
577
+ params_.Type = type;
578
+ params_.Mode = mode;
579
+
580
+ ScanStarted(module_, params_, sendIfMethod_);
457
581
  }
458
582
 
459
583
  // Event: 'scanstarted' - Notifies of scan start
460
- static void ScanStarted(const JSONRPC& _module_, const JsonData::BluetoothControl::ScanstartedParamsData& params,
461
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
584
+ template<typename MODULE>
585
+ static void ScanStarted(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const string& client_)
462
586
  {
463
- _module_.Notify(_T("scanstarted"), params, _sendIfFunction_);
587
+ JsonData::BluetoothControl::ScanstartedParamsData params_;
588
+ params_.Type = type;
589
+ params_.Mode = mode;
590
+
591
+ ScanStarted(module_, params_, client_);
464
592
  }
465
593
 
466
594
  // Event: 'scanstarted' - Notifies of scan start
467
- static void ScanStarted(const JSONRPC& _module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type,
468
- const Core::JSON::EnumType<JsonData::BluetoothControl::scanmode>& mode, const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
595
+ template<typename MODULE>
596
+ static void ScanStarted(const MODULE& module_, JsonData::BluetoothControl::scantype type, JsonData::BluetoothControl::scanmode mode, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
469
597
  {
470
- JsonData::BluetoothControl::ScanstartedParamsData _params_;
471
- _params_.Type = type;
472
- _params_.Mode = mode;
598
+ JsonData::BluetoothControl::ScanstartedParamsData params_;
599
+ params_.Type = type;
600
+ params_.Mode = mode;
473
601
 
474
- ScanStarted(_module_, _params_, _sendIfFunction_);
602
+ ScanStarted(module_, params_, sendIfMethod_);
475
603
  }
476
604
 
477
605
  // Event: 'scanstarted' - Notifies of scan start
478
- static void ScanStarted(const JSONRPC& _module_, const JsonData::BluetoothControl::scantype& type, const JsonData::BluetoothControl::scanmode& mode,
479
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
606
+ template<typename MODULE>
607
+ static void ScanStarted(const MODULE& module_, JsonData::BluetoothControl::scantype type, JsonData::BluetoothControl::scanmode mode, const string& client_)
480
608
  {
481
- JsonData::BluetoothControl::ScanstartedParamsData _params_;
482
- _params_.Type = type;
483
- _params_.Mode = mode;
609
+ JsonData::BluetoothControl::ScanstartedParamsData params_;
610
+ params_.Type = type;
611
+ params_.Mode = mode;
484
612
 
485
- ScanStarted(_module_, _params_, _sendIfFunction_);
613
+ ScanStarted(module_, params_, client_);
486
614
  }
487
615
 
488
616
  // Event: 'scancomplete' - Notifies of scan completion
489
- static void ScanComplete(const JSONRPC& _module_, const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params)
617
+ template<typename MODULE>
618
+ static void ScanComplete(const MODULE& module_, const JsonData::BluetoothControl::StopdiscoverableParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
490
619
  {
491
- _module_.Notify(_T("scancomplete"), params);
620
+ module_.Notify(_T("scancomplete"), params, sendIfMethod_);
492
621
  }
493
622
 
494
623
  // Event: 'scancomplete' - Notifies of scan completion
495
- static void ScanComplete(const JSONRPC& _module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type)
624
+ template<typename MODULE>
625
+ static void ScanComplete(const MODULE& module_, const Core::JSON::EnumType<JsonData::BluetoothControl::scantype>& type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
496
626
  {
497
- JsonData::BluetoothControl::StopdiscoverableParamsInfo _params_;
498
- _params_.Type = type;
627
+ JsonData::BluetoothControl::StopdiscoverableParamsInfo params_;
628
+ params_.Type = type;
499
629
 
500
- ScanComplete(_module_, _params_);
630
+ ScanComplete(module_, params_, sendIfMethod_);
501
631
  }
502
632
 
503
633
  // Event: 'scancomplete' - Notifies of scan completion
504
- static void ScanComplete(const JSONRPC& _module_, const JsonData::BluetoothControl::scantype& type)
634
+ template<typename MODULE>
635
+ static void ScanComplete(const MODULE& module_, JsonData::BluetoothControl::scantype type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
505
636
  {
506
- JsonData::BluetoothControl::StopdiscoverableParamsInfo _params_;
507
- _params_.Type = type;
637
+ JsonData::BluetoothControl::StopdiscoverableParamsInfo params_;
638
+ params_.Type = type;
508
639
 
509
- ScanComplete(_module_, _params_);
640
+ ScanComplete(module_, params_, sendIfMethod_);
510
641
  }
511
642
 
512
643
  // Event: 'devicestatechange' - Notifies of device state changes
513
- static void DeviceStateChanged(const JSONRPC& _module_, const string& _id_, const JsonData::BluetoothControl::DevicestatechangeParamsData& params,
514
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
644
+ template<typename MODULE>
645
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, const JsonData::BluetoothControl::DevicestatechangeParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
515
646
  {
516
- if (_sendIfFunction_ == nullptr) {
517
- _module_.Notify(_T("devicestatechange"), params, [_id_](const string& _designator_) -> bool {
518
- const string _designatorId_ = _designator_.substr(0, _designator_.find('.'));
519
- return (_id_ == _designatorId_);
647
+ if (sendIfMethod_ == nullptr) {
648
+ module_.Notify(_T("devicestatechange"), params, [&id_](const string& designator_) -> bool {
649
+ Core::hresult _errorCode__ = Core::ERROR_NONE;
650
+ const string index_ = designator_.substr(0, designator_.find('.'));
651
+
652
+ if (index_.empty() == true) {
653
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
654
+ }
655
+ return ((_errorCode__ == Core::ERROR_NONE) && (id_ == index_));
520
656
  });
521
- } else {
522
- _module_.Notify(_T("devicestatechange"), params, _sendIfFunction_);
523
657
  }
658
+ else {
659
+ module_.Notify(_T("devicestatechange"), params, sendIfMethod_);
660
+ }
661
+ }
662
+
663
+ // Event: 'devicestatechange' - Notifies of device state changes
664
+ template<typename MODULE>
665
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, const JsonData::BluetoothControl::DevicestatechangeParamsData& params, const string& client_)
666
+ {
667
+ module_.Notify(_T("devicestatechange"), params, [&id_, &client_](const string& designator_) -> bool {
668
+ Core::hresult _errorCode__ = Core::ERROR_NONE;
669
+ const size_t _dot = designator_.find('.');
670
+ const string index_ = designator_.substr(0, _dot);
671
+
672
+ if (index_.empty() == true) {
673
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
674
+ }
675
+ return ((_errorCode__ == Core::ERROR_NONE) && ((client_.empty() == true) || (client_ == designator_.substr(_dot + 1))) && (id_ == index_));
676
+ });
677
+ }
678
+
679
+ // Event: 'devicestatechange' - Notifies of device state changes
680
+ template<typename MODULE>
681
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate>& state, const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason>& disconnectreason, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
682
+ {
683
+ JsonData::BluetoothControl::DevicestatechangeParamsData params_;
684
+ params_.Address = address;
685
+ params_.Type = type;
686
+ params_.State = state;
687
+ params_.Disconnectreason = disconnectreason;
688
+
689
+ DeviceStateChanged(module_, id_, params_, sendIfMethod_);
524
690
  }
525
691
 
526
692
  // Event: 'devicestatechange' - Notifies of device state changes
527
- static void DeviceStateChanged(const JSONRPC& _module_, const string& _id_, const Core::JSON::String& address,
528
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate>& state,
529
- const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason>& disconnectreason,
530
- const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
693
+ template<typename MODULE>
694
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate>& state, const Core::JSON::EnumType<JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason>& disconnectreason, const string& client_)
531
695
  {
532
- JsonData::BluetoothControl::DevicestatechangeParamsData _params_;
533
- _params_.Address = address;
534
- _params_.Type = type;
535
- _params_.State = state;
536
- _params_.Disconnectreason = disconnectreason;
696
+ JsonData::BluetoothControl::DevicestatechangeParamsData params_;
697
+ params_.Address = address;
698
+ params_.Type = type;
699
+ params_.State = state;
700
+ params_.Disconnectreason = disconnectreason;
537
701
 
538
- DeviceStateChanged(_module_, _id_, _params_, _sendIfFunction_);
702
+ DeviceStateChanged(module_, id_, params_, client_);
539
703
  }
540
704
 
541
705
  // Event: 'devicestatechange' - Notifies of device state changes
542
- static void DeviceStateChanged(const JSONRPC& _module_, const string& _id_, const string& address, const Exchange::IBluetooth::IDevice::type& type,
543
- const JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate& state,
544
- const JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason& disconnectreason, const std::function<bool(const string&)>& _sendIfFunction_ = nullptr)
706
+ template<typename MODULE>
707
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, string address, const IBluetooth::IDevice::type type, JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate state, JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason disconnectreason, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
545
708
  {
546
- JsonData::BluetoothControl::DevicestatechangeParamsData _params_;
547
- _params_.Address = address;
548
- _params_.Type = type;
549
- _params_.State = state;
550
- _params_.Disconnectreason = disconnectreason;
709
+ JsonData::BluetoothControl::DevicestatechangeParamsData params_;
710
+ params_.Address = address;
711
+ params_.Type = type;
712
+ params_.State = state;
713
+ params_.Disconnectreason = disconnectreason;
551
714
 
552
- DeviceStateChanged(_module_, _id_, _params_, _sendIfFunction_);
715
+ DeviceStateChanged(module_, id_, params_, sendIfMethod_);
716
+ }
717
+
718
+ // Event: 'devicestatechange' - Notifies of device state changes
719
+ template<typename MODULE>
720
+ static void DeviceStateChanged(const MODULE& module_, const string& id_, string address, const IBluetooth::IDevice::type type, JsonData::BluetoothControl::DevicestatechangeParamsData::devicestate state, JsonData::BluetoothControl::DevicestatechangeParamsData::disconnectreason disconnectreason, const string& client_)
721
+ {
722
+ JsonData::BluetoothControl::DevicestatechangeParamsData params_;
723
+ params_.Address = address;
724
+ params_.Type = type;
725
+ params_.State = state;
726
+ params_.Disconnectreason = disconnectreason;
727
+
728
+ DeviceStateChanged(module_, id_, params_, client_);
553
729
  }
554
730
 
555
731
  // Event: 'pincoderequest' - Notifies of a PIN code request
556
- static void PINCodeRequest(const JSONRPC& _module_, const JsonData::BluetoothControl::ConnectParamsInfo& params)
732
+ template<typename MODULE>
733
+ static void PINCodeRequest(const MODULE& module_, const JsonData::BluetoothControl::ConnectParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
557
734
  {
558
- _module_.Notify(_T("pincoderequest"), params);
735
+ module_.Notify(_T("pincoderequest"), params, sendIfMethod_);
559
736
  }
560
737
 
561
738
  // Event: 'pincoderequest' - Notifies of a PIN code request
562
- static void PINCodeRequest(const JSONRPC& _module_, const Core::JSON::String& address,
563
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type)
739
+ template<typename MODULE>
740
+ static void PINCodeRequest(const MODULE& module_, const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
564
741
  {
565
- JsonData::BluetoothControl::ConnectParamsInfo _params_;
566
- _params_.Address = address;
567
- _params_.Type = type;
742
+ JsonData::BluetoothControl::ConnectParamsInfo params_;
743
+ params_.Address = address;
744
+ params_.Type = type;
568
745
 
569
- PINCodeRequest(_module_, _params_);
746
+ PINCodeRequest(module_, params_, sendIfMethod_);
570
747
  }
571
748
 
572
749
  // Event: 'pincoderequest' - Notifies of a PIN code request
573
- static void PINCodeRequest(const JSONRPC& _module_, const string& address, const Exchange::IBluetooth::IDevice::type& type)
750
+ template<typename MODULE>
751
+ static void PINCodeRequest(const MODULE& module_, string address, const IBluetooth::IDevice::type type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
574
752
  {
575
- JsonData::BluetoothControl::ConnectParamsInfo _params_;
576
- _params_.Address = address;
577
- _params_.Type = type;
753
+ JsonData::BluetoothControl::ConnectParamsInfo params_;
754
+ params_.Address = address;
755
+ params_.Type = type;
578
756
 
579
- PINCodeRequest(_module_, _params_);
757
+ PINCodeRequest(module_, params_, sendIfMethod_);
580
758
  }
581
759
 
582
760
  // Event: 'passkeyrequest' - Notifies of a passkey request
583
- static void PasskeyRequest(const JSONRPC& _module_, const JsonData::BluetoothControl::ConnectParamsInfo& params)
761
+ template<typename MODULE>
762
+ static void PasskeyRequest(const MODULE& module_, const JsonData::BluetoothControl::ConnectParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
584
763
  {
585
- _module_.Notify(_T("passkeyrequest"), params);
764
+ module_.Notify(_T("passkeyrequest"), params, sendIfMethod_);
586
765
  }
587
766
 
588
767
  // Event: 'passkeyrequest' - Notifies of a passkey request
589
- static void PasskeyRequest(const JSONRPC& _module_, const Core::JSON::String& address,
590
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type)
768
+ template<typename MODULE>
769
+ static void PasskeyRequest(const MODULE& module_, const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
591
770
  {
592
- JsonData::BluetoothControl::ConnectParamsInfo _params_;
593
- _params_.Address = address;
594
- _params_.Type = type;
771
+ JsonData::BluetoothControl::ConnectParamsInfo params_;
772
+ params_.Address = address;
773
+ params_.Type = type;
595
774
 
596
- PasskeyRequest(_module_, _params_);
775
+ PasskeyRequest(module_, params_, sendIfMethod_);
597
776
  }
598
777
 
599
778
  // Event: 'passkeyrequest' - Notifies of a passkey request
600
- static void PasskeyRequest(const JSONRPC& _module_, const string& address, const Exchange::IBluetooth::IDevice::type& type)
779
+ template<typename MODULE>
780
+ static void PasskeyRequest(const MODULE& module_, string address, const IBluetooth::IDevice::type type, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
601
781
  {
602
- JsonData::BluetoothControl::ConnectParamsInfo _params_;
603
- _params_.Address = address;
604
- _params_.Type = type;
782
+ JsonData::BluetoothControl::ConnectParamsInfo params_;
783
+ params_.Address = address;
784
+ params_.Type = type;
605
785
 
606
- PasskeyRequest(_module_, _params_);
786
+ PasskeyRequest(module_, params_, sendIfMethod_);
607
787
  }
608
788
 
609
789
  // Event: 'passkeyconfirmrequest' - Notifies of a passkey confirmation request
610
- static void PasskeyConfirmRequest(const JSONRPC& _module_, const JsonData::BluetoothControl::PasskeyconfirmrequestParamsData& params)
790
+ template<typename MODULE>
791
+ static void PasskeyConfirmRequest(const MODULE& module_, const JsonData::BluetoothControl::PasskeyconfirmrequestParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
611
792
  {
612
- _module_.Notify(_T("passkeyconfirmrequest"), params);
793
+ module_.Notify(_T("passkeyconfirmrequest"), params, sendIfMethod_);
613
794
  }
614
795
 
615
796
  // Event: 'passkeyconfirmrequest' - Notifies of a passkey confirmation request
616
- static void PasskeyConfirmRequest(const JSONRPC& _module_, const Core::JSON::String& address,
617
- const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::DecUInt32& secret)
797
+ template<typename MODULE>
798
+ static void PasskeyConfirmRequest(const MODULE& module_, const Core::JSON::String& address, const Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type>& type, const Core::JSON::DecUInt32& secret, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
618
799
  {
619
- JsonData::BluetoothControl::PasskeyconfirmrequestParamsData _params_;
620
- _params_.Address = address;
621
- _params_.Type = type;
622
- _params_.Secret = secret;
800
+ JsonData::BluetoothControl::PasskeyconfirmrequestParamsData params_;
801
+ params_.Address = address;
802
+ params_.Type = type;
803
+ params_.Secret = secret;
623
804
 
624
- PasskeyConfirmRequest(_module_, _params_);
805
+ PasskeyConfirmRequest(module_, params_, sendIfMethod_);
625
806
  }
626
807
 
627
808
  // Event: 'passkeyconfirmrequest' - Notifies of a passkey confirmation request
628
- static void PasskeyConfirmRequest(const JSONRPC& _module_, const string& address, const Exchange::IBluetooth::IDevice::type& type,
629
- const uint32_t& secret)
809
+ template<typename MODULE>
810
+ static void PasskeyConfirmRequest(const MODULE& module_, string address, const IBluetooth::IDevice::type type, uint32_t secret, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
630
811
  {
631
- JsonData::BluetoothControl::PasskeyconfirmrequestParamsData _params_;
632
- _params_.Address = address;
633
- _params_.Type = type;
634
- _params_.Secret = secret;
812
+ JsonData::BluetoothControl::PasskeyconfirmrequestParamsData params_;
813
+ params_.Address = address;
814
+ params_.Type = type;
815
+ params_.Secret = secret;
635
816
 
636
- PasskeyConfirmRequest(_module_, _params_);
817
+ PasskeyConfirmRequest(module_, params_, sendIfMethod_);
637
818
  }
638
819
 
639
820
  } // namespace Event
640
821
 
641
822
  POP_WARNING()
823
+ POP_WARNING()
824
+ POP_WARNING()
642
825
 
643
826
  } // namespace JBluetoothControl
644
827
 
645
828
  } // namespace Exchange
646
829
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBluetoothRemoteControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'BluetoothRemoteControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BluetoothRemoteControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JBluetoothRemoteControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowser.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Browser.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Browser.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JBrowser
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserCookieJar.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BrowserCookieJar.h"
7
6
  #include <interfaces/IBrowser.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,67 +17,79 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IBrowserCookieJar* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IBrowserCookieJar* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JBrowserCookieJar"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JBrowserCookieJar"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'cookiejar'
36
- _module_.Register<JsonData::BrowserCookieJar::ConfigData, JsonData::BrowserCookieJar::ConfigData>(_T("cookiejar"),
37
- [_impl_](const JsonData::BrowserCookieJar::ConfigData& params, JsonData::BrowserCookieJar::ConfigData& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::BrowserCookieJar::ConfigData, JsonData::BrowserCookieJar::ConfigData>(_T("cookiejar"),
37
+ [_implementation__](const JsonData::BrowserCookieJar::ConfigData& params, JsonData::BrowserCookieJar::ConfigData& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
40
  if (params.IsSet() == false) {
41
- // property get
42
- Exchange::IBrowserCookieJar::Config _result{};
41
+ Exchange::IBrowserCookieJar::Config _result_{};
43
42
 
44
- _errorCode = (static_cast<const IBrowserCookieJar*>(_impl_))->CookieJar(_result);
43
+ _errorCode__ = (static_cast<const IBrowserCookieJar*>(_implementation__))->CookieJar(_result_);
45
44
 
46
- if (_errorCode == Core::ERROR_NONE) {
47
- result = _result;
45
+ if (_errorCode__ == Core::ERROR_NONE) {
46
+ result.Set(true);
47
+ result = _result_;
48
48
  }
49
+ }
50
+ else {
49
51
 
50
- } else {
51
- // property set
52
- const Exchange::IBrowserCookieJar::Config _params(params);
52
+ if (params.IsDataValid() == false) {
53
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
54
+ }
55
+ else {
56
+ const Exchange::IBrowserCookieJar::Config _params_(params);
53
57
 
54
- _errorCode = _impl_->CookieJar(_params);
58
+ _errorCode__ = _implementation__->CookieJar(_params_);
55
59
 
56
- // result.Null(true);
60
+ }
61
+
62
+ result.Null(true);
57
63
  }
58
- return (_errorCode);
64
+
65
+ return (_errorCode__);
59
66
  });
60
67
 
61
68
  }
62
69
 
63
- static void Unregister(JSONRPC& _module_)
70
+ template<typename MODULE>
71
+ static void Unregister(MODULE& _module__)
64
72
  {
65
73
  // Unregister methods and properties...
66
- _module_.Unregister(_T("cookiejar"));
74
+ _module__.PluginHost::JSONRPC::Unregister(_T("cookiejar"));
67
75
  }
68
76
 
69
77
  namespace Event {
70
78
 
71
79
  // Event: 'cookiejarchanged' - Notifies that cookies were added, removed or modified
72
- static void CookieJarChanged(const JSONRPC& _module_)
80
+ template<typename MODULE>
81
+ static void CookieJarChanged(const MODULE& module_, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
73
82
  {
74
- _module_.Notify(_T("cookiejarchanged"));
83
+ module_.Notify(_T("cookiejarchanged"), sendIfMethod_);
75
84
  }
76
85
 
77
86
  } // namespace Event
78
87
 
79
88
  POP_WARNING()
89
+ POP_WARNING()
90
+ POP_WARNING()
80
91
 
81
92
  } // namespace JBrowserCookieJar
82
93
 
83
94
  } // namespace Exchange
84
95
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserResources.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BrowserResources.h"
7
6
  #include <interfaces/IBrowser.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,120 +17,116 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IBrowserResources* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IBrowserResources* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JBrowserResources"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JBrowserResources"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'userscripts' - User scripts used by the browser
36
- _module_.Register<Core::JSON::ArrayType<Core::JSON::String>, Core::JSON::ArrayType<Core::JSON::String>>(_T("userscripts"),
37
- [_impl_](const Core::JSON::ArrayType<Core::JSON::String>& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::ArrayType<Core::JSON::String>, Core::JSON::ArrayType<Core::JSON::String>>(_T("userscripts"),
37
+ [_implementation__](const Core::JSON::ArrayType<Core::JSON::String>& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
40
  if (params.IsSet() == false) {
41
- // property get
42
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
41
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
43
42
 
44
- _errorCode = (static_cast<const IBrowserResources*>(_impl_))->UserScripts(_result);
43
+ _errorCode__ = (static_cast<const IBrowserResources*>(_implementation__))->UserScripts(_result_);
45
44
 
46
- if (_errorCode == Core::ERROR_NONE) {
45
+ if (_errorCode__ == Core::ERROR_NONE) {
46
+ result.Set(true);
47
47
 
48
- if (_result != nullptr) {
49
- string _resultItem_{};
50
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
51
- _result->Release();
48
+ if (_result_ != nullptr) {
49
+ string _resultItem__{};
50
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
51
+ _result_->Release();
52
52
  }
53
53
  }
54
-
55
- } else {
56
- // property set
57
- std::list<string> _elements;
58
- auto _Iterator = params.Elements();
59
- while (_Iterator.Next() == true) { _elements.push_back(_Iterator.Current()); }
60
-
61
- ::WPEFramework::RPC::IIteratorType<string,
62
- RPC::ID_STRINGITERATOR>* const _params{Core::Service<::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>>>::Create<::WPEFramework::RPC::IIteratorType<string,
63
- RPC::ID_STRINGITERATOR>>(_elements)};
64
-
65
- ASSERT(_params != nullptr);
66
-
67
- if ((_params != nullptr)) {
68
- _errorCode = _impl_->UserScripts(_params);
69
- _params->Release();
70
- } else {
71
- _errorCode = Core::ERROR_GENERAL;
54
+ }
55
+ else {
56
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _params_{};
57
+ std::list<string> _paramsElements_{};
58
+ auto _paramsIterator_ = params.Elements();
59
+ while (_paramsIterator_.Next() == true) { _paramsElements_.push_back(_paramsIterator_.Current()); }
60
+ using _paramsIteratorImplType_ = ::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>;
61
+ _params_ = Core::ServiceType<_paramsIteratorImplType_>::Create<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>(std::move(_paramsElements_));
62
+ ASSERT(_params_ != nullptr);
63
+
64
+ _errorCode__ = _implementation__->UserScripts(static_cast<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* const&>(_params_));
65
+ if (_params_ != nullptr) {
66
+ _params_->Release();
72
67
  }
73
68
 
74
- // result.Null(true);
69
+ result.Null(true);
75
70
  }
76
- return (_errorCode);
71
+
72
+ return (_errorCode__);
77
73
  });
78
74
 
79
75
  // Property: 'userstylesheets' - User style sheets used by the browser
80
- _module_.Register<Core::JSON::ArrayType<Core::JSON::String>, Core::JSON::ArrayType<Core::JSON::String>>(_T("userstylesheets"),
81
- [_impl_](const Core::JSON::ArrayType<Core::JSON::String>& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
76
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::ArrayType<Core::JSON::String>, Core::JSON::ArrayType<Core::JSON::String>>(_T("userstylesheets"),
77
+ [_implementation__](const Core::JSON::ArrayType<Core::JSON::String>& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
78
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
79
 
84
80
  if (params.IsSet() == false) {
85
- // property get
86
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
81
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
87
82
 
88
- _errorCode = (static_cast<const IBrowserResources*>(_impl_))->UserStyleSheets(_result);
83
+ _errorCode__ = (static_cast<const IBrowserResources*>(_implementation__))->UserStyleSheets(_result_);
89
84
 
90
- if (_errorCode == Core::ERROR_NONE) {
85
+ if (_errorCode__ == Core::ERROR_NONE) {
86
+ result.Set(true);
91
87
 
92
- if (_result != nullptr) {
93
- string _resultItem_{};
94
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
95
- _result->Release();
88
+ if (_result_ != nullptr) {
89
+ string _resultItem__{};
90
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
91
+ _result_->Release();
96
92
  }
97
93
  }
98
-
99
- } else {
100
- // property set
101
- std::list<string> _elements;
102
- auto _Iterator = params.Elements();
103
- while (_Iterator.Next() == true) { _elements.push_back(_Iterator.Current()); }
104
-
105
- ::WPEFramework::RPC::IIteratorType<string,
106
- RPC::ID_STRINGITERATOR>* const _params{Core::Service<::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>>>::Create<::WPEFramework::RPC::IIteratorType<string,
107
- RPC::ID_STRINGITERATOR>>(_elements)};
108
-
109
- ASSERT(_params != nullptr);
110
-
111
- if ((_params != nullptr)) {
112
- _errorCode = _impl_->UserStyleSheets(_params);
113
- _params->Release();
114
- } else {
115
- _errorCode = Core::ERROR_GENERAL;
94
+ }
95
+ else {
96
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _params_{};
97
+ std::list<string> _paramsElements_{};
98
+ auto _paramsIterator_ = params.Elements();
99
+ while (_paramsIterator_.Next() == true) { _paramsElements_.push_back(_paramsIterator_.Current()); }
100
+ using _paramsIteratorImplType_ = ::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>;
101
+ _params_ = Core::ServiceType<_paramsIteratorImplType_>::Create<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>(std::move(_paramsElements_));
102
+ ASSERT(_params_ != nullptr);
103
+
104
+ _errorCode__ = _implementation__->UserStyleSheets(static_cast<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* const&>(_params_));
105
+ if (_params_ != nullptr) {
106
+ _params_->Release();
116
107
  }
117
108
 
118
- // result.Null(true);
109
+ result.Null(true);
119
110
  }
120
- return (_errorCode);
111
+
112
+ return (_errorCode__);
121
113
  });
122
114
 
123
115
  }
124
116
 
125
- static void Unregister(JSONRPC& _module_)
117
+ template<typename MODULE>
118
+ static void Unregister(MODULE& _module__)
126
119
  {
127
120
  // Unregister methods and properties...
128
- _module_.Unregister(_T("userscripts"));
129
- _module_.Unregister(_T("userstylesheets"));
121
+ _module__.PluginHost::JSONRPC::Unregister(_T("userscripts"));
122
+ _module__.PluginHost::JSONRPC::Unregister(_T("userstylesheets"));
130
123
  }
131
124
 
132
125
  POP_WARNING()
126
+ POP_WARNING()
127
+ POP_WARNING()
133
128
 
134
129
  } // namespace JBrowserResources
135
130
 
136
131
  } // namespace Exchange
137
132
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserScripting.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BrowserScripting.h"
7
6
  #include <interfaces/IBrowser.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,68 +17,84 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IBrowserScripting* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IBrowserScripting* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JBrowserScripting"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JBrowserScripting"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'runjavascript' - Run javascript in main frame
36
- _module_.Register<JsonData::BrowserScripting::RunJavaScriptParamsData, void>(_T("runjavascript"),
37
- [_impl_](const JsonData::BrowserScripting::RunJavaScriptParamsData& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::BrowserScripting::RunJavaScriptParamsData, void>(_T("runjavascript"),
37
+ [_implementation__](const JsonData::BrowserScripting::RunJavaScriptParamsData& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _script_{params.Script};
39
45
 
40
- const string _script{params.Script};
46
+ _errorCode__ = _implementation__->RunJavaScript(_script_);
41
47
 
42
- _errorCode = _impl_->RunJavaScript(_script);
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  // Method: 'adduserscript' - Add user script to be executed at document start
48
- _module_.Register<JsonData::BrowserScripting::AddUserScriptParamsData, void>(_T("adduserscript"),
49
- [_impl_](const JsonData::BrowserScripting::AddUserScriptParamsData& params) -> uint32_t {
50
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<JsonData::BrowserScripting::AddUserScriptParamsData, void>(_T("adduserscript"),
55
+ [_implementation__](const JsonData::BrowserScripting::AddUserScriptParamsData& params) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
51
57
 
52
- const string _script{params.Script};
53
- const bool _topFrameOnly{params.TopFrameOnly};
58
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
59
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
60
+ }
61
+ else {
62
+ const string _script_{params.Script};
63
+ const bool _topFrameOnly_{params.TopFrameOnly};
54
64
 
55
- _errorCode = _impl_->AddUserScript(_script, _topFrameOnly);
65
+ _errorCode__ = _implementation__->AddUserScript(_script_, _topFrameOnly_);
56
66
 
57
- return (_errorCode);
67
+ }
68
+
69
+ return (_errorCode__);
58
70
  });
59
71
 
60
72
  // Method: 'removealluserscripts' - Remove all user scripts
61
- _module_.Register<void, void>(_T("removealluserscripts"),
62
- [_impl_]() -> uint32_t {
63
- uint32_t _errorCode = Core::ERROR_NONE;
73
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("removealluserscripts"),
74
+ [_implementation__]() -> uint32_t {
75
+ uint32_t _errorCode__ = Core::ERROR_NONE;
64
76
 
65
- _errorCode = _impl_->RemoveAllUserScripts();
77
+ _errorCode__ = _implementation__->RemoveAllUserScripts();
66
78
 
67
- return (_errorCode);
79
+ return (_errorCode__);
68
80
  });
69
81
 
70
82
  }
71
83
 
72
- static void Unregister(JSONRPC& _module_)
84
+ template<typename MODULE>
85
+ static void Unregister(MODULE& _module__)
73
86
  {
74
87
  // Unregister methods and properties...
75
- _module_.Unregister(_T("runjavascript"));
76
- _module_.Unregister(_T("adduserscript"));
77
- _module_.Unregister(_T("removealluserscripts"));
88
+ _module__.PluginHost::JSONRPC::Unregister(_T("runjavascript"));
89
+ _module__.PluginHost::JSONRPC::Unregister(_T("adduserscript"));
90
+ _module__.PluginHost::JSONRPC::Unregister(_T("removealluserscripts"));
78
91
  }
79
92
 
80
93
  POP_WARNING()
94
+ POP_WARNING()
95
+ POP_WARNING()
81
96
 
82
97
  } // namespace JBrowserScripting
83
98
 
84
99
  } // namespace Exchange
85
100
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JBrowserSecurity.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_BrowserSecurity.h"
7
6
  #include <interfaces/IBrowser.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,86 +17,86 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IBrowserSecurity* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IBrowserSecurity* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JBrowserSecurity"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JBrowserSecurity"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'securityprofile' - Security profile for secure connections
36
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("securityprofile"),
37
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("securityprofile"),
37
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
40
  if (params.IsSet() == false) {
41
- // property get
42
- string _result{};
41
+ string _result_{};
43
42
 
44
- _errorCode = (static_cast<const IBrowserSecurity*>(_impl_))->SecurityProfile(_result);
43
+ _errorCode__ = (static_cast<const IBrowserSecurity*>(_implementation__))->SecurityProfile(_result_);
45
44
 
46
- if (_errorCode == Core::ERROR_NONE) {
47
- result = _result;
45
+ if (_errorCode__ == Core::ERROR_NONE) {
46
+ result = _result_;
48
47
  }
48
+ }
49
+ else {
50
+ const string _params_{params};
49
51
 
50
- } else {
51
- // property set
52
- const string _params{params};
53
-
54
- _errorCode = _impl_->SecurityProfile(_params);
52
+ _errorCode__ = _implementation__->SecurityProfile(_params_);
55
53
 
56
54
  result.Null(true);
57
55
  }
58
- return (_errorCode);
56
+
57
+ return (_errorCode__);
59
58
  });
60
59
 
61
60
  // Property: 'mixedcontentpolicy' - Mixed content policy
62
- _module_.Register<Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>,
63
- Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>>(_T("mixedcontentpolicy"),
64
- [_impl_](const Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>& params,
65
- Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>& result) -> uint32_t {
66
- uint32_t _errorCode = Core::ERROR_NONE;
61
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>, Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>>(_T("mixedcontentpolicy"),
62
+ [_implementation__](const Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>& params, Core::JSON::EnumType<Exchange::IBrowserSecurity::MixedContentPolicyType>& result) -> uint32_t {
63
+ uint32_t _errorCode__ = Core::ERROR_NONE;
67
64
 
68
65
  if (params.IsSet() == false) {
69
- // property get
70
- Exchange::IBrowserSecurity::MixedContentPolicyType _result{};
66
+ Exchange::IBrowserSecurity::MixedContentPolicyType _result_{};
71
67
 
72
- _errorCode = (static_cast<const IBrowserSecurity*>(_impl_))->MixedContentPolicy(_result);
68
+ _errorCode__ = (static_cast<const IBrowserSecurity*>(_implementation__))->MixedContentPolicy(_result_);
73
69
 
74
- if (_errorCode == Core::ERROR_NONE) {
75
- result = _result;
70
+ if (_errorCode__ == Core::ERROR_NONE) {
71
+ result = _result_;
76
72
  }
73
+ }
74
+ else {
75
+ const Exchange::IBrowserSecurity::MixedContentPolicyType _params_{params};
77
76
 
78
- } else {
79
- // property set
80
- const Exchange::IBrowserSecurity::MixedContentPolicyType _params{params};
81
-
82
- _errorCode = _impl_->MixedContentPolicy(_params);
77
+ _errorCode__ = _implementation__->MixedContentPolicy(_params_);
83
78
 
84
79
  result.Null(true);
85
80
  }
86
- return (_errorCode);
81
+
82
+ return (_errorCode__);
87
83
  });
88
84
 
89
85
  }
90
86
 
91
- static void Unregister(JSONRPC& _module_)
87
+ template<typename MODULE>
88
+ static void Unregister(MODULE& _module__)
92
89
  {
93
90
  // Unregister methods and properties...
94
- _module_.Unregister(_T("securityprofile"));
95
- _module_.Unregister(_T("mixedcontentpolicy"));
91
+ _module__.PluginHost::JSONRPC::Unregister(_T("securityprofile"));
92
+ _module__.PluginHost::JSONRPC::Unregister(_T("mixedcontentpolicy"));
96
93
  }
97
94
 
98
95
  POP_WARNING()
96
+ POP_WARNING()
97
+ POP_WARNING()
99
98
 
100
99
  } // namespace JBrowserSecurity
101
100
 
102
101
  } // namespace Exchange
103
102
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JButler.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Butler.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Butler.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JButler
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCobalt.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Cobalt.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
 
7
6
  namespace WPEFramework {
8
7
 
9
8
  namespace Exchange {
@@ -15,10 +14,11 @@ namespace Exchange {
15
14
  constexpr uint8_t Major = 1;
16
15
  constexpr uint8_t Minor = 0;
17
16
  constexpr uint8_t Patch = 0;
18
17
 
19
18
  } // namespace Version
19
+
20
20
  } // namespace JCobalt
21
21
 
22
22
  } // namespace Exchange
23
23
 
24
24
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCompositor.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Compositor.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Compositor.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JCompositor
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JConnectionProperties.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_ConnectionProperties.h"
7
6
  #include <interfaces/IDisplayInfo.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,261 +17,261 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IConnectionProperties* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IConnectionProperties* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JConnectionProperties"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JConnectionProperties"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'edid' - TV's Extended Display Identification Data
36
- _module_.Register<JsonData::ConnectionProperties::EDIDParamsData, JsonData::ConnectionProperties::EDIDResultData>(_T("edid"),
37
- [_impl_](const JsonData::ConnectionProperties::EDIDParamsData& params, JsonData::ConnectionProperties::EDIDResultData& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
39
-
40
- uint16_t _length{params.Length};
41
- uint8_t* _data = nullptr;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::ConnectionProperties::EDIDParamsData, JsonData::ConnectionProperties::EDIDResultData>(_T("edid"),
37
+ [_implementation__](const JsonData::ConnectionProperties::EDIDParamsData& params, JsonData::ConnectionProperties::EDIDResultData& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
42
39
 
43
- if ((_length != 0) && (_length <= 0x400000)) {
44
- _data = reinterpret_cast<uint8_t*>(ALLOCA(_length));
45
- ASSERT(_data != nullptr);
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
46
42
  }
47
43
  else {
48
- _errorCode = Core::ERROR_INVALID_RANGE;
49
- }
44
+ uint16_t _length_{params.Length.Value()};
45
+ uint8_t* _data_{};
46
+
47
+ if (_length_ != 0) {
48
+ _data_ = reinterpret_cast<uint8_t*>(ALLOCA(_length_));
49
+ ASSERT(_data_ != nullptr);
50
+ }
50
51
 
51
- _errorCode = _impl_->EDID(_length, _data);
52
+ _errorCode__ = _implementation__->EDID(_length_, _data_);
52
53
 
53
- if (_errorCode == Core::ERROR_NONE) {
54
- result.Length = _length;
54
+ if (_errorCode__ == Core::ERROR_NONE) {
55
+ result.Length = _length_;
55
56
 
56
- if (_length != 0) {
57
- string _dataEncoded_;
58
- Core::ToString(_data, _length, true, _dataEncoded_);
59
- result.Data = _dataEncoded_;
57
+ if ((_length_ != 0) && (_data_ != nullptr)) {
58
+ string _dataEncoded__;
59
+ Core::ToString(_data_, _length_, true, _dataEncoded__);
60
+ result.Data = std::move(_dataEncoded__);
61
+ }
60
62
  }
61
63
  }
62
64
 
63
- return (_errorCode);
65
+ return (_errorCode__);
64
66
  });
65
67
 
66
68
  // Method: 'widthincentimeters' - Horizontal size in centimeters
67
- _module_.Register<void, Core::JSON::DecUInt8>(_T("widthincentimeters"),
68
- [_impl_](Core::JSON::DecUInt8& width) -> uint32_t {
69
- uint32_t _errorCode = Core::ERROR_NONE;
69
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt8>(_T("widthincentimeters"),
70
+ [_implementation__](Core::JSON::DecUInt8& width) -> uint32_t {
71
+ uint32_t _errorCode__ = Core::ERROR_NONE;
70
72
 
71
- uint8_t _width{};
73
+ uint8_t _width_{};
72
74
 
73
- _errorCode = _impl_->WidthInCentimeters(_width);
75
+ _errorCode__ = _implementation__->WidthInCentimeters(_width_);
74
76
 
75
- if (_errorCode == Core::ERROR_NONE) {
76
- width = _width;
77
+ if (_errorCode__ == Core::ERROR_NONE) {
78
+ width = _width_;
77
79
  }
78
80
 
79
- return (_errorCode);
81
+ return (_errorCode__);
80
82
  });
81
83
 
82
84
  // Method: 'heightincentimeters' - Vertical size in centimeters
83
- _module_.Register<void, Core::JSON::DecUInt8>(_T("heightincentimeters"),
84
- [_impl_](Core::JSON::DecUInt8& height) -> uint32_t {
85
- uint32_t _errorCode = Core::ERROR_NONE;
85
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt8>(_T("heightincentimeters"),
86
+ [_implementation__](Core::JSON::DecUInt8& height) -> uint32_t {
87
+ uint32_t _errorCode__ = Core::ERROR_NONE;
86
88
 
87
- uint8_t _height{};
89
+ uint8_t _height_{};
88
90
 
89
- _errorCode = _impl_->HeightInCentimeters(_height);
91
+ _errorCode__ = _implementation__->HeightInCentimeters(_height_);
90
92
 
91
- if (_errorCode == Core::ERROR_NONE) {
92
- height = _height;
93
+ if (_errorCode__ == Core::ERROR_NONE) {
94
+ height = _height_;
93
95
  }
94
96
 
95
- return (_errorCode);
97
+ return (_errorCode__);
96
98
  });
97
99
 
98
100
  // Property: 'isaudiopassthrough' - Current audio passthrough status on HDMI (r/o)
99
- _module_.Register<void, Core::JSON::Boolean>(_T("isaudiopassthrough"),
100
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
101
- uint32_t _errorCode = Core::ERROR_NONE;
101
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("isaudiopassthrough"),
102
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
103
+ uint32_t _errorCode__ = Core::ERROR_NONE;
102
104
 
103
- // read-only property get
104
- bool _result{};
105
+ bool _result_{};
105
106
 
106
- _errorCode = _impl_->IsAudioPassthrough(_result);
107
+ _errorCode__ = _implementation__->IsAudioPassthrough(_result_);
107
108
 
108
- if (_errorCode == Core::ERROR_NONE) {
109
- result = _result;
109
+ if (_errorCode__ == Core::ERROR_NONE) {
110
+ result = _result_;
110
111
  }
111
112
 
112
- return (_errorCode);
113
+ return (_errorCode__);
113
114
  });
114
115
 
115
116
  // Property: 'connected' - Current HDMI connection status (r/o)
116
- _module_.Register<void, Core::JSON::Boolean>(_T("connected"),
117
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
118
- uint32_t _errorCode = Core::ERROR_NONE;
117
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("connected"),
118
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
119
+ uint32_t _errorCode__ = Core::ERROR_NONE;
119
120
 
120
- // read-only property get
121
- bool _result{};
121
+ bool _result_{};
122
122
 
123
- _errorCode = _impl_->Connected(_result);
123
+ _errorCode__ = _implementation__->Connected(_result_);
124
124
 
125
- if (_errorCode == Core::ERROR_NONE) {
126
- result = _result;
125
+ if (_errorCode__ == Core::ERROR_NONE) {
126
+ result = _result_;
127
127
  }
128
128
 
129
- return (_errorCode);
129
+ return (_errorCode__);
130
130
  });
131
131
 
132
132
  // Property: 'width' - Horizontal resolution of TV (r/o)
133
- _module_.Register<void, Core::JSON::DecUInt32>(_T("width"),
134
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
135
- uint32_t _errorCode = Core::ERROR_NONE;
133
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("width"),
134
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
135
+ uint32_t _errorCode__ = Core::ERROR_NONE;
136
136
 
137
- // read-only property get
138
- uint32_t _result{};
137
+ uint32_t _result_{};
139
138
 
140
- _errorCode = _impl_->Width(_result);
139
+ _errorCode__ = _implementation__->Width(_result_);
141
140
 
142
- if (_errorCode == Core::ERROR_NONE) {
143
- result = _result;
141
+ if (_errorCode__ == Core::ERROR_NONE) {
142
+ result = _result_;
144
143
  }
145
144
 
146
- return (_errorCode);
145
+ return (_errorCode__);
147
146
  });
148
147
 
149
148
  // Property: 'height' - Vertical resolution of TV (r/o)
150
- _module_.Register<void, Core::JSON::DecUInt32>(_T("height"),
151
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
152
- uint32_t _errorCode = Core::ERROR_NONE;
149
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("height"),
150
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
151
+ uint32_t _errorCode__ = Core::ERROR_NONE;
153
152
 
154
- // read-only property get
155
- uint32_t _result{};
153
+ uint32_t _result_{};
156
154
 
157
- _errorCode = _impl_->Height(_result);
155
+ _errorCode__ = _implementation__->Height(_result_);
158
156
 
159
- if (_errorCode == Core::ERROR_NONE) {
160
- result = _result;
157
+ if (_errorCode__ == Core::ERROR_NONE) {
158
+ result = _result_;
161
159
  }
162
160
 
163
- return (_errorCode);
161
+ return (_errorCode__);
164
162
  });
165
163
 
166
164
  // Property: 'verticalfreq' - Vertical Frequency (r/o)
167
- _module_.Register<void, Core::JSON::DecUInt32>(_T("verticalfreq"),
168
- [_impl_](Core::JSON::DecUInt32& result) -> uint32_t {
169
- uint32_t _errorCode = Core::ERROR_NONE;
165
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt32>(_T("verticalfreq"),
166
+ [_implementation__](Core::JSON::DecUInt32& result) -> uint32_t {
167
+ uint32_t _errorCode__ = Core::ERROR_NONE;
170
168
 
171
- // read-only property get
172
- uint32_t _result{};
169
+ uint32_t _result_{};
173
170
 
174
- _errorCode = _impl_->VerticalFreq(_result);
171
+ _errorCode__ = _implementation__->VerticalFreq(_result_);
175
172
 
176
- if (_errorCode == Core::ERROR_NONE) {
177
- result = _result;
173
+ if (_errorCode__ == Core::ERROR_NONE) {
174
+ result = _result_;
178
175
  }
179
176
 
180
- return (_errorCode);
177
+ return (_errorCode__);
181
178
  });
182
179
 
183
180
  // Property: 'hdcpprotection' - HDCP protocol used for transmission
184
- _module_.Register<Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>,
185
- Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>>(_T("hdcpprotection"),
186
- [_impl_](const Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>& params,
187
- Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>& result) -> uint32_t {
188
- uint32_t _errorCode = Core::ERROR_NONE;
181
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>, Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>>(_T("hdcpprotection"),
182
+ [_implementation__](const Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>& params, Core::JSON::EnumType<Exchange::IConnectionProperties::HDCPProtectionType>& result) -> uint32_t {
183
+ uint32_t _errorCode__ = Core::ERROR_NONE;
189
184
 
190
185
  if (params.IsSet() == false) {
191
- // property get
192
- Exchange::IConnectionProperties::HDCPProtectionType _result{};
186
+ Exchange::IConnectionProperties::HDCPProtectionType _result_{};
193
187
 
194
- _errorCode = (static_cast<const IConnectionProperties*>(_impl_))->HDCPProtection(_result);
188
+ _errorCode__ = (static_cast<const IConnectionProperties*>(_implementation__))->HDCPProtection(_result_);
195
189
 
196
- if (_errorCode == Core::ERROR_NONE) {
197
- result = _result;
190
+ if (_errorCode__ == Core::ERROR_NONE) {
191
+ result = _result_;
198
192
  }
193
+ }
194
+ else {
195
+ const Exchange::IConnectionProperties::HDCPProtectionType _params_{params};
199
196
 
200
- } else {
201
- // property set
202
- const Exchange::IConnectionProperties::HDCPProtectionType _params{params};
203
-
204
- _errorCode = _impl_->HDCPProtection(_params);
197
+ _errorCode__ = _implementation__->HDCPProtection(_params_);
205
198
 
206
199
  result.Null(true);
207
200
  }
208
- return (_errorCode);
201
+
202
+ return (_errorCode__);
209
203
  });
210
204
 
211
205
  // Property: 'portname' - Video output port on the STB used for connection to TV (r/o)
212
- _module_.Register<void, Core::JSON::String>(_T("portname"),
213
- [_impl_](Core::JSON::String& result) -> uint32_t {
214
- uint32_t _errorCode = Core::ERROR_NONE;
206
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("portname"),
207
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
208
+ uint32_t _errorCode__ = Core::ERROR_NONE;
215
209
 
216
- // read-only property get
217
- string _result{};
210
+ string _result_{};
218
211
 
219
- _errorCode = _impl_->PortName(_result);
212
+ _errorCode__ = _implementation__->PortName(_result_);
220
213
 
221
- if (_errorCode == Core::ERROR_NONE) {
222
- result = _result;
214
+ if (_errorCode__ == Core::ERROR_NONE) {
215
+ result = _result_;
223
216
  }
224
217
 
225
- return (_errorCode);
218
+ return (_errorCode__);
226
219
  });
227
220
 
228
221
  }
229
222
 
230
- static void Unregister(JSONRPC& _module_)
223
+ template<typename MODULE>
224
+ static void Unregister(MODULE& _module__)
231
225
  {
232
226
  // Unregister methods and properties...
233
- _module_.Unregister(_T("edid"));
234
- _module_.Unregister(_T("widthincentimeters"));
235
- _module_.Unregister(_T("heightincentimeters"));
236
- _module_.Unregister(_T("isaudiopassthrough"));
237
- _module_.Unregister(_T("connected"));
238
- _module_.Unregister(_T("width"));
239
- _module_.Unregister(_T("height"));
240
- _module_.Unregister(_T("verticalfreq"));
241
- _module_.Unregister(_T("hdcpprotection"));
242
- _module_.Unregister(_T("portname"));
227
+ _module__.PluginHost::JSONRPC::Unregister(_T("edid"));
228
+ _module__.PluginHost::JSONRPC::Unregister(_T("widthincentimeters"));
229
+ _module__.PluginHost::JSONRPC::Unregister(_T("heightincentimeters"));
230
+ _module__.PluginHost::JSONRPC::Unregister(_T("isaudiopassthrough"));
231
+ _module__.PluginHost::JSONRPC::Unregister(_T("connected"));
232
+ _module__.PluginHost::JSONRPC::Unregister(_T("width"));
233
+ _module__.PluginHost::JSONRPC::Unregister(_T("height"));
234
+ _module__.PluginHost::JSONRPC::Unregister(_T("verticalfreq"));
235
+ _module__.PluginHost::JSONRPC::Unregister(_T("hdcpprotection"));
236
+ _module__.PluginHost::JSONRPC::Unregister(_T("portname"));
243
237
  }
244
238
 
245
239
  namespace Event {
246
240
 
247
241
  // Event: 'updated'
248
- static void Updated(const JSONRPC& _module_, const JsonData::ConnectionProperties::UpdatedParamsData& params)
242
+ template<typename MODULE>
243
+ static void Updated(const MODULE& module_, const JsonData::ConnectionProperties::UpdatedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
249
244
  {
250
- _module_.Notify(_T("updated"), params);
245
+ module_.Notify(_T("updated"), params, sendIfMethod_);
251
246
  }
252
247
 
253
248
  // Event: 'updated'
254
- static void Updated(const JSONRPC& _module_, const Core::JSON::EnumType<Exchange::IConnectionProperties::INotification::Source>& event)
249
+ template<typename MODULE>
250
+ static void Updated(const MODULE& module_, const Core::JSON::EnumType<Exchange::IConnectionProperties::INotification::Source>& event, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
255
251
  {
256
- JsonData::ConnectionProperties::UpdatedParamsData _params_;
257
- _params_.Event = event;
252
+ JsonData::ConnectionProperties::UpdatedParamsData params_;
253
+ params_.Event = event;
258
254
 
259
- Updated(_module_, _params_);
255
+ Updated(module_, params_, sendIfMethod_);
260
256
  }
261
257
 
262
258
  // Event: 'updated'
263
- static void Updated(const JSONRPC& _module_, const Exchange::IConnectionProperties::INotification::Source& event)
259
+ template<typename MODULE>
260
+ static void Updated(const MODULE& module_, const IConnectionProperties::INotification::Source event, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
264
261
  {
265
- JsonData::ConnectionProperties::UpdatedParamsData _params_;
266
- _params_.Event = event;
262
+ JsonData::ConnectionProperties::UpdatedParamsData params_;
263
+ params_.Event = event;
267
264
 
268
- Updated(_module_, _params_);
265
+ Updated(module_, params_, sendIfMethod_);
269
266
  }
270
267
 
271
268
  } // namespace Event
272
269
 
273
270
  POP_WARNING()
271
+ POP_WARNING()
272
+ POP_WARNING()
274
273
 
275
274
  } // namespace JConnectionProperties
276
275
 
277
276
  } // namespace Exchange
278
277
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JContainers.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Containers.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Containers.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JContainers
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JCustomerCareOperations.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'ICustomerCareOperations.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include <interfaces/ICustomerCareOperations.h>
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -17,41 +16,45 @@ namespace Exchange {
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
21
20
 
22
- using JSONRPC = PluginHost::JSONRPC;
23
-
24
21
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
22
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
23
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
25
24
 
26
- static void Register(JSONRPC& _module_, ICustomerCareOperations* _impl_)
25
+ template<typename MODULE>
26
+ static void Register(MODULE& _module__, ICustomerCareOperations* _implementation__)
27
27
  {
28
- ASSERT(_impl_ != nullptr);
28
+ ASSERT(_implementation__ != nullptr);
29
29
 
30
- _module_.RegisterVersion(_T("JCustomerCareOperations"), Version::Major, Version::Minor, Version::Patch);
30
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JCustomerCareOperations"), Version::Major, Version::Minor, Version::Patch);
31
31
 
32
32
  // Register methods and properties...
33
33
 
34
34
  // Method: 'factoryreset' - Executes all operations needed for a plugin's factory reset
35
- _module_.Register<void, void>(_T("factoryreset"),
36
- [_impl_]() -> uint32_t {
37
- uint32_t _errorCode = Core::ERROR_NONE;
35
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("factoryreset"),
36
+ [_implementation__]() -> uint32_t {
37
+ uint32_t _errorCode__ = Core::ERROR_NONE;
38
38
 
39
- _errorCode = _impl_->FactoryReset();
39
+ _errorCode__ = _implementation__->FactoryReset();
40
40
 
41
- return (_errorCode);
41
+ return (_errorCode__);
42
42
  });
43
43
 
44
44
  }
45
45
 
46
- static void Unregister(JSONRPC& _module_)
46
+ template<typename MODULE>
47
+ static void Unregister(MODULE& _module__)
47
48
  {
48
49
  // Unregister methods and properties...
49
- _module_.Unregister(_T("factoryreset"));
50
+ _module__.PluginHost::JSONRPC::Unregister(_T("factoryreset"));
50
51
  }
51
52
 
52
53
  POP_WARNING()
54
+ POP_WARNING()
55
+ POP_WARNING()
53
56
 
54
57
  } // namespace JCustomerCareOperations
55
58
 
56
59
  } // namespace Exchange
57
60
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDHCPServer.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DHCPServer.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DHCPServer.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDHCPServer
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDIALServer.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DIALServer.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DIALServer.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDIALServer
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDTV.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DTV.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DTV.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDTV
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDeviceIdentification.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DeviceIdentification.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DeviceIdentification.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDeviceIdentification
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDeviceInfo.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DeviceInfo.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DeviceInfo.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDeviceInfo
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDisplayInfo.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'DisplayInfo.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DisplayInfo.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JDisplayInfo
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDisplayProperties.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DisplayProperties.h"
7
6
  #include <interfaces/IDisplayInfo.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,143 +17,142 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IDisplayProperties* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IDisplayProperties* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JDisplayProperties"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JDisplayProperties"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'colorspace' - Provides access to the display's Colour space (chroma subsampling format) (r/o)
36
- _module_.Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::ColourSpaceType>>(_T("colorspace"),
37
- [_impl_](Core::JSON::EnumType<Exchange::IDisplayProperties::ColourSpaceType>& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::ColourSpaceType>>(_T("colorspace"),
37
+ [_implementation__](Core::JSON::EnumType<Exchange::IDisplayProperties::ColourSpaceType>& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- // read-only property get
41
- Exchange::IDisplayProperties::ColourSpaceType _result{};
40
+ Exchange::IDisplayProperties::ColourSpaceType _result_{};
42
41
 
43
- _errorCode = _impl_->ColorSpace(_result);
42
+ _errorCode__ = _implementation__->ColorSpace(_result_);
44
43
 
45
- if (_errorCode == Core::ERROR_NONE) {
46
- result = _result;
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result = _result_;
47
46
  }
48
47
 
49
- return (_errorCode);
48
+ return (_errorCode__);
50
49
  });
51
50
 
52
51
  // Property: 'framerate' - Provides access to Frame Rate (r/o)
53
- _module_.Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::FrameRateType>>(_T("framerate"),
54
- [_impl_](Core::JSON::EnumType<Exchange::IDisplayProperties::FrameRateType>& result) -> uint32_t {
55
- uint32_t _errorCode = Core::ERROR_NONE;
52
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::FrameRateType>>(_T("framerate"),
53
+ [_implementation__](Core::JSON::EnumType<Exchange::IDisplayProperties::FrameRateType>& result) -> uint32_t {
54
+ uint32_t _errorCode__ = Core::ERROR_NONE;
56
55
 
57
- // read-only property get
58
- Exchange::IDisplayProperties::FrameRateType _result{};
56
+ Exchange::IDisplayProperties::FrameRateType _result_{};
59
57
 
60
- _errorCode = _impl_->FrameRate(_result);
58
+ _errorCode__ = _implementation__->FrameRate(_result_);
61
59
 
62
- if (_errorCode == Core::ERROR_NONE) {
63
- result = _result;
60
+ if (_errorCode__ == Core::ERROR_NONE) {
61
+ result = _result_;
64
62
  }
65
63
 
66
- return (_errorCode);
64
+ return (_errorCode__);
67
65
  });
68
66
 
69
67
  // Property: 'colourdepth' - Provides access to display's colour Depth (r/o)
70
- _module_.Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::ColourDepthType>>(_T("colourdepth"),
71
- [_impl_](Core::JSON::EnumType<Exchange::IDisplayProperties::ColourDepthType>& result) -> uint32_t {
72
- uint32_t _errorCode = Core::ERROR_NONE;
68
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::ColourDepthType>>(_T("colourdepth"),
69
+ [_implementation__](Core::JSON::EnumType<Exchange::IDisplayProperties::ColourDepthType>& result) -> uint32_t {
70
+ uint32_t _errorCode__ = Core::ERROR_NONE;
73
71
 
74
- // read-only property get
75
- Exchange::IDisplayProperties::ColourDepthType _result{};
72
+ Exchange::IDisplayProperties::ColourDepthType _result_{};
76
73
 
77
- _errorCode = _impl_->ColourDepth(_result);
74
+ _errorCode__ = _implementation__->ColourDepth(_result_);
78
75
 
79
- if (_errorCode == Core::ERROR_NONE) {
80
- result = _result;
76
+ if (_errorCode__ == Core::ERROR_NONE) {
77
+ result = _result_;
81
78
  }
82
79
 
83
- return (_errorCode);
80
+ return (_errorCode__);
84
81
  });
85
82
 
86
83
  // Property: 'colorimetry' - Provides access to display's colorimetry (r/o)
87
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IDisplayProperties::ColorimetryType>>>(_T("colorimetry"),
88
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IDisplayProperties::ColorimetryType>>& result) -> uint32_t {
89
- uint32_t _errorCode = Core::ERROR_NONE;
84
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IDisplayProperties::ColorimetryType>>>(_T("colorimetry"),
85
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IDisplayProperties::ColorimetryType>>& result) -> uint32_t {
86
+ uint32_t _errorCode__ = Core::ERROR_NONE;
90
87
 
91
- // read-only property get
92
- ::WPEFramework::RPC::IIteratorType<IDisplayProperties::ColorimetryType, ID_COLORIMETRY_ITERATOR>* _result{};
88
+ ::WPEFramework::RPC::IIteratorType<IDisplayProperties::ColorimetryType, ID_COLORIMETRY_ITERATOR>* _result_{};
93
89
 
94
- _errorCode = _impl_->Colorimetry(_result);
90
+ _errorCode__ = _implementation__->Colorimetry(_result_);
95
91
 
96
- if (_errorCode == Core::ERROR_NONE) {
92
+ if (_errorCode__ == Core::ERROR_NONE) {
93
+ result.Set(true);
97
94
 
98
- if (_result != nullptr) {
99
- Exchange::IDisplayProperties::ColorimetryType _resultItem_{};
100
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
101
- _result->Release();
95
+ if (_result_ != nullptr) {
96
+ Exchange::IDisplayProperties::ColorimetryType _resultItem__{};
97
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
98
+ _result_->Release();
102
99
  }
103
100
  }
104
101
 
105
- return (_errorCode);
102
+ return (_errorCode__);
106
103
  });
107
104
 
108
105
  // Property: 'quantizationrange' - Provides access to display's Qauntization Range (r/o)
109
- _module_.Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::QuantizationRangeType>>(_T("quantizationrange"),
110
- [_impl_](Core::JSON::EnumType<Exchange::IDisplayProperties::QuantizationRangeType>& result) -> uint32_t {
111
- uint32_t _errorCode = Core::ERROR_NONE;
106
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::QuantizationRangeType>>(_T("quantizationrange"),
107
+ [_implementation__](Core::JSON::EnumType<Exchange::IDisplayProperties::QuantizationRangeType>& result) -> uint32_t {
108
+ uint32_t _errorCode__ = Core::ERROR_NONE;
112
109
 
113
- // read-only property get
114
- Exchange::IDisplayProperties::QuantizationRangeType _result{};
110
+ Exchange::IDisplayProperties::QuantizationRangeType _result_{};
115
111
 
116
- _errorCode = _impl_->QuantizationRange(_result);
112
+ _errorCode__ = _implementation__->QuantizationRange(_result_);
117
113
 
118
- if (_errorCode == Core::ERROR_NONE) {
119
- result = _result;
114
+ if (_errorCode__ == Core::ERROR_NONE) {
115
+ result = _result_;
120
116
  }
121
117
 
122
- return (_errorCode);
118
+ return (_errorCode__);
123
119
  });
124
120
 
125
121
  // Property: 'eotf' - Provides access to display's Electro optical transfer function (r/o)
126
- _module_.Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::EotfType>>(_T("eotf"),
127
- [_impl_](Core::JSON::EnumType<Exchange::IDisplayProperties::EotfType>& result) -> uint32_t {
128
- uint32_t _errorCode = Core::ERROR_NONE;
122
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IDisplayProperties::EotfType>>(_T("eotf"),
123
+ [_implementation__](Core::JSON::EnumType<Exchange::IDisplayProperties::EotfType>& result) -> uint32_t {
124
+ uint32_t _errorCode__ = Core::ERROR_NONE;
129
125
 
130
- // read-only property get
131
- Exchange::IDisplayProperties::EotfType _result{};
126
+ Exchange::IDisplayProperties::EotfType _result_{};
132
127
 
133
- _errorCode = _impl_->EOTF(_result);
128
+ _errorCode__ = _implementation__->EOTF(_result_);
134
129
 
135
- if (_errorCode == Core::ERROR_NONE) {
136
- result = _result;
130
+ if (_errorCode__ == Core::ERROR_NONE) {
131
+ result = _result_;
137
132
  }
138
133
 
139
- return (_errorCode);
134
+ return (_errorCode__);
140
135
  });
141
136
 
142
137
  }
143
138
 
144
- static void Unregister(JSONRPC& _module_)
139
+ template<typename MODULE>
140
+ static void Unregister(MODULE& _module__)
145
141
  {
146
142
  // Unregister methods and properties...
147
- _module_.Unregister(_T("colorspace"));
148
- _module_.Unregister(_T("framerate"));
149
- _module_.Unregister(_T("colourdepth"));
150
- _module_.Unregister(_T("colorimetry"));
151
- _module_.Unregister(_T("quantizationrange"));
152
- _module_.Unregister(_T("eotf"));
143
+ _module__.PluginHost::JSONRPC::Unregister(_T("colorspace"));
144
+ _module__.PluginHost::JSONRPC::Unregister(_T("framerate"));
145
+ _module__.PluginHost::JSONRPC::Unregister(_T("colourdepth"));
146
+ _module__.PluginHost::JSONRPC::Unregister(_T("colorimetry"));
147
+ _module__.PluginHost::JSONRPC::Unregister(_T("quantizationrange"));
148
+ _module__.PluginHost::JSONRPC::Unregister(_T("eotf"));
153
149
  }
154
150
 
155
151
  POP_WARNING()
152
+ POP_WARNING()
153
+ POP_WARNING()
156
154
 
157
155
  } // namespace JDisplayProperties
158
156
 
159
157
  } // namespace Exchange
160
158
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JDolbyOutput.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IDolby.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_DolbyOutput.h"
7
6
  #include <interfaces/IDolby.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -20,218 +19,226 @@ namespace Exchange {
20
19
  constexpr uint8_t Minor = 0;
21
20
  constexpr uint8_t Patch = 0;
22
21
 
23
22
  } // namespace Version
24
23
 
25
- using JSONRPC = PluginHost::JSONRPC;
26
-
27
24
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
25
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
26
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
28
27
 
29
- static void Register(JSONRPC& _module_, Dolby::IOutput* _impl_)
28
+ template<typename MODULE>
29
+ static void Register(MODULE& _module__, Dolby::IOutput* _implementation__)
30
30
  {
31
- ASSERT(_impl_ != nullptr);
31
+ ASSERT(_implementation__ != nullptr);
32
32
 
33
- _module_.RegisterVersion(_T("JOutput"), Version::Major, Version::Minor, Version::Patch);
33
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JOutput"), Version::Major, Version::Minor, Version::Patch);
34
34
 
35
35
  // Register methods and properties...
36
36
 
37
37
  // Property: 'dolbyatmossupported' - Atmos capabilities of Sink (r/o)
38
- _module_.Register<void, Core::JSON::Boolean>(_T("dolbyatmossupported"),
39
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
40
- uint32_t _errorCode = Core::ERROR_NONE;
38
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("dolbyatmossupported"),
39
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
40
+ uint32_t _errorCode__ = Core::ERROR_NONE;
41
41
 
42
- // read-only property get
43
- bool _result{};
42
+ bool _result_{};
44
43
 
45
- _errorCode = _impl_->AtmosMetadata(_result);
44
+ _errorCode__ = _implementation__->AtmosMetadata(_result_);
46
45
 
47
- if (_errorCode == Core::ERROR_NONE) {
48
- result = _result;
46
+ if (_errorCode__ == Core::ERROR_NONE) {
47
+ result = _result_;
49
48
  }
50
49
 
51
- return (_errorCode);
50
+ return (_errorCode__);
52
51
  });
53
52
 
54
53
  // Property: 'dolby_atmosmetadata' - Atmos capabilities of Sink (DEPRECATED) (r/o)
55
- _module_.Register<void, Core::JSON::Boolean>(_T("dolby_atmosmetadata"),
56
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
57
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("dolby_atmosmetadata"),
55
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
58
57
 
59
- // read-only property get
60
- bool _result{};
58
+ bool _result_{};
61
59
 
62
- _errorCode = _impl_->AtmosMetadata(_result);
60
+ _errorCode__ = _implementation__->AtmosMetadata(_result_);
63
61
 
64
- if (_errorCode == Core::ERROR_NONE) {
65
- result = _result;
62
+ if (_errorCode__ == Core::ERROR_NONE) {
63
+ result = _result_;
66
64
  }
67
65
 
68
- return (_errorCode);
66
+ return (_errorCode__);
69
67
  });
70
68
 
71
69
  // Property: 'dolbysoundmode' - Sound Mode - Mono/Stereo/Surround (r/o)
72
- _module_.Register<void, Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>>(_T("dolbysoundmode"),
73
- [_impl_](Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& result) -> uint32_t {
74
- uint32_t _errorCode = Core::ERROR_NONE;
70
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>>(_T("dolbysoundmode"),
71
+ [_implementation__](Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& result) -> uint32_t {
72
+ uint32_t _errorCode__ = Core::ERROR_NONE;
75
73
 
76
- // read-only property get
77
- Exchange::Dolby::IOutput::SoundModes _result{};
74
+ Exchange::Dolby::IOutput::SoundModes _result_{};
78
75
 
79
- _errorCode = _impl_->SoundMode(_result);
76
+ _errorCode__ = _implementation__->SoundMode(_result_);
80
77
 
81
- if (_errorCode == Core::ERROR_NONE) {
82
- result = _result;
78
+ if (_errorCode__ == Core::ERROR_NONE) {
79
+ result = _result_;
83
80
  }
84
81
 
85
- return (_errorCode);
82
+ return (_errorCode__);
86
83
  });
87
84
 
88
85
  // Property: 'dolby_soundmode' - Sound Mode - Mono/Stereo/Surround (DEPRECATED) (r/o)
89
- _module_.Register<void, Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>>(_T("dolby_soundmode"),
90
- [_impl_](Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& result) -> uint32_t {
91
- uint32_t _errorCode = Core::ERROR_NONE;
86
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>>(_T("dolby_soundmode"),
87
+ [_implementation__](Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& result) -> uint32_t {
88
+ uint32_t _errorCode__ = Core::ERROR_NONE;
92
89
 
93
- // read-only property get
94
- Exchange::Dolby::IOutput::SoundModes _result{};
90
+ Exchange::Dolby::IOutput::SoundModes _result_{};
95
91
 
96
- _errorCode = _impl_->SoundMode(_result);
92
+ _errorCode__ = _implementation__->SoundMode(_result_);
97
93
 
98
- if (_errorCode == Core::ERROR_NONE) {
99
- result = _result;
94
+ if (_errorCode__ == Core::ERROR_NONE) {
95
+ result = _result_;
100
96
  }
101
97
 
102
- return (_errorCode);
98
+ return (_errorCode__);
103
99
  });
104
100
 
105
101
  // Property: 'dolbyatmosoutput' - Enable Atmos Audio Output (w/o)
106
- _module_.Register<Core::JSON::Boolean, void>(_T("dolbyatmosoutput"),
107
- [_impl_](const Core::JSON::Boolean& params) -> uint32_t {
108
- uint32_t _errorCode = Core::ERROR_NONE;
102
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, void>(_T("dolbyatmosoutput"),
103
+ [_implementation__](const Core::JSON::Boolean& params) -> uint32_t {
104
+ uint32_t _errorCode__ = Core::ERROR_NONE;
109
105
 
110
- // write-only property set
111
- const bool _params{params};
106
+ if (params.IsSet() == false) {
107
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
108
+ }
109
+ else {
110
+ const bool _params_{params};
112
111
 
113
- _errorCode = _impl_->EnableAtmosOutput(_params);
112
+ _errorCode__ = _implementation__->EnableAtmosOutput(_params_);
114
113
 
115
- return (_errorCode);
114
+ }
115
+
116
+ return (_errorCode__);
116
117
  });
117
118
 
118
119
  // Property: 'dolby_enableatmosoutput' - Enable Atmos Audio Output (DEPRECATED) (w/o)
119
- _module_.Register<Core::JSON::Boolean, void>(_T("dolby_enableatmosoutput"),
120
- [_impl_](const Core::JSON::Boolean& params) -> uint32_t {
121
- uint32_t _errorCode = Core::ERROR_NONE;
120
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, void>(_T("dolby_enableatmosoutput"),
121
+ [_implementation__](const Core::JSON::Boolean& params) -> uint32_t {
122
+ uint32_t _errorCode__ = Core::ERROR_NONE;
123
+
124
+ if (params.IsSet() == false) {
125
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
126
+ }
127
+ else {
128
+ const bool _params_{params};
122
129
 
123
- // write-only property set
124
- const bool _params{params};
130
+ _errorCode__ = _implementation__->EnableAtmosOutput(_params_);
125
131
 
126
- _errorCode = _impl_->EnableAtmosOutput(_params);
132
+ }
127
133
 
128
- return (_errorCode);
134
+ return (_errorCode__);
129
135
  });
130
136
 
131
137
  // Property: 'dolbymode' - Dolby Mode
132
- _module_.Register<Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>>(_T("dolbymode"),
133
- [_impl_](const Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& params,
134
- Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& result) -> uint32_t {
135
- uint32_t _errorCode = Core::ERROR_NONE;
138
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>>(_T("dolbymode"),
139
+ [_implementation__](const Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& params, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& result) -> uint32_t {
140
+ uint32_t _errorCode__ = Core::ERROR_NONE;
136
141
 
137
142
  if (params.IsSet() == false) {
138
- // property get
139
- Exchange::Dolby::IOutput::Type _result{};
143
+ Exchange::Dolby::IOutput::Type _result_{};
140
144
 
141
- _errorCode = (static_cast<const Dolby::IOutput*>(_impl_))->Mode(_result);
145
+ _errorCode__ = (static_cast<const Dolby::IOutput*>(_implementation__))->Mode(_result_);
142
146
 
143
- if (_errorCode == Core::ERROR_NONE) {
144
- result = _result;
147
+ if (_errorCode__ == Core::ERROR_NONE) {
148
+ result = _result_;
145
149
  }
150
+ }
151
+ else {
152
+ const Exchange::Dolby::IOutput::Type _params_{params};
146
153
 
147
- } else {
148
- // property set
149
- const Exchange::Dolby::IOutput::Type _params{params};
150
-
151
- _errorCode = _impl_->Mode(_params);
154
+ _errorCode__ = _implementation__->Mode(_params_);
152
155
 
153
156
  result.Null(true);
154
157
  }
155
- return (_errorCode);
158
+
159
+ return (_errorCode__);
156
160
  });
157
161
 
158
162
  // Property: 'dolby_mode' - Dolby Mode
159
- _module_.Register<Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>>(_T("dolby_mode"),
160
- [_impl_](const Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& params,
161
- Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& result) -> uint32_t {
162
- uint32_t _errorCode = Core::ERROR_NONE;
163
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>>(_T("dolby_mode"),
164
+ [_implementation__](const Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& params, Core::JSON::EnumType<Exchange::Dolby::IOutput::Type>& result) -> uint32_t {
165
+ uint32_t _errorCode__ = Core::ERROR_NONE;
163
166
 
164
167
  if (params.IsSet() == false) {
165
- // property get
166
- Exchange::Dolby::IOutput::Type _result{};
168
+ Exchange::Dolby::IOutput::Type _result_{};
167
169
 
168
- _errorCode = (static_cast<const Dolby::IOutput*>(_impl_))->Mode(_result);
170
+ _errorCode__ = (static_cast<const Dolby::IOutput*>(_implementation__))->Mode(_result_);
169
171
 
170
- if (_errorCode == Core::ERROR_NONE) {
171
- result = _result;
172
+ if (_errorCode__ == Core::ERROR_NONE) {
173
+ result = _result_;
172
174
  }
175
+ }
176
+ else {
177
+ const Exchange::Dolby::IOutput::Type _params_{params};
173
178
 
174
- } else {
175
- // property set
176
- const Exchange::Dolby::IOutput::Type _params{params};
177
-
178
- _errorCode = _impl_->Mode(_params);
179
+ _errorCode__ = _implementation__->Mode(_params_);
179
180
 
180
181
  result.Null(true);
181
182
  }
182
- return (_errorCode);
183
+
184
+ return (_errorCode__);
183
185
  });
184
186
 
185
187
  }
186
188
 
187
- static void Unregister(JSONRPC& _module_)
189
+ template<typename MODULE>
190
+ static void Unregister(MODULE& _module__)
188
191
  {
189
192
  // Unregister methods and properties...
190
- _module_.Unregister(_T("dolbyatmossupported"));
191
- _module_.Unregister(_T("dolby_atmosmetadata"));
192
- _module_.Unregister(_T("dolbysoundmode"));
193
- _module_.Unregister(_T("dolby_soundmode"));
194
- _module_.Unregister(_T("dolbyatmosoutput"));
195
- _module_.Unregister(_T("dolby_enableatmosoutput"));
196
- _module_.Unregister(_T("dolbymode"));
197
- _module_.Unregister(_T("dolby_mode"));
193
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolbyatmossupported"));
194
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolby_atmosmetadata"));
195
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolbysoundmode"));
196
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolby_soundmode"));
197
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolbyatmosoutput"));
198
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolby_enableatmosoutput"));
199
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolbymode"));
200
+ _module__.PluginHost::JSONRPC::Unregister(_T("dolby_mode"));
198
201
  }
199
202
 
200
203
  namespace Event {
201
204
 
202
205
  // Event: 'soundmodechanged' - Signal audio mode change
203
- static void AudioModeChanged(const JSONRPC& _module_, const JsonData::Dolby::Output::AudioModeChangedParamsData& params)
206
+ template<typename MODULE>
207
+ static void AudioModeChanged(const MODULE& module_, const JsonData::Dolby::Output::AudioModeChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
204
208
  {
205
- _module_.Notify(_T("soundmodechanged"), params);
206
- _module_.Notify(_T("dolby_audiomodechanged"), params);
209
+ module_.Notify(_T("soundmodechanged"), params, sendIfMethod_);
210
+ module_.Notify(_T("dolby_audiomodechanged"), params, sendIfMethod_);
207
211
  }
208
212
 
209
213
  // Event: 'soundmodechanged' - Signal audio mode change
210
- static void AudioModeChanged(const JSONRPC& _module_, const Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& mode,
211
- const Core::JSON::Boolean& enabled)
214
+ template<typename MODULE>
215
+ static void AudioModeChanged(const MODULE& module_, const Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes>& mode, const Core::JSON::Boolean& enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
212
216
  {
213
- JsonData::Dolby::Output::AudioModeChangedParamsData _params_;
214
- _params_.Mode = mode;
215
- _params_.Enabled = enabled;
217
+ JsonData::Dolby::Output::AudioModeChangedParamsData params_;
218
+ params_.Mode = mode;
219
+ params_.Enabled = enabled;
216
220
 
217
- AudioModeChanged(_module_, _params_);
221
+ AudioModeChanged(module_, params_, sendIfMethod_);
218
222
  }
219
223
 
220
224
  // Event: 'soundmodechanged' - Signal audio mode change
221
- static void AudioModeChanged(const JSONRPC& _module_, const Exchange::Dolby::IOutput::SoundModes& mode, const bool& enabled)
225
+ template<typename MODULE>
226
+ static void AudioModeChanged(const MODULE& module_, const Dolby::IOutput::SoundModes mode, const bool enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
222
227
  {
223
- JsonData::Dolby::Output::AudioModeChangedParamsData _params_;
224
- _params_.Mode = mode;
225
- _params_.Enabled = enabled;
228
+ JsonData::Dolby::Output::AudioModeChangedParamsData params_;
229
+ params_.Mode = mode;
230
+ params_.Enabled = enabled;
226
231
 
227
- AudioModeChanged(_module_, _params_);
232
+ AudioModeChanged(module_, params_, sendIfMethod_);
228
233
  }
229
234
 
230
235
  } // namespace Event
231
236
 
232
237
  POP_WARNING()
238
+ POP_WARNING()
239
+ POP_WARNING()
233
240
 
234
241
  } // namespace JOutput
235
242
 
236
243
  } // namespace Dolby
237
244
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JFirmwareControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'FirmwareControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_FirmwareControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JFirmwareControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JGraphicsProperties.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include <interfaces/IDisplayInfo.h>
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -17,66 +16,68 @@ namespace Exchange {
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
21
20
 
22
- using JSONRPC = PluginHost::JSONRPC;
23
-
24
21
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
22
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
23
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
25
24
 
26
- static void Register(JSONRPC& _module_, IGraphicsProperties* _impl_)
25
+ template<typename MODULE>
26
+ static void Register(MODULE& _module__, IGraphicsProperties* _implementation__)
27
27
  {
28
- ASSERT(_impl_ != nullptr);
28
+ ASSERT(_implementation__ != nullptr);
29
29
 
30
- _module_.RegisterVersion(_T("JGraphicsProperties"), Version::Major, Version::Minor, Version::Patch);
30
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JGraphicsProperties"), Version::Major, Version::Minor, Version::Patch);
31
31
 
32
32
  // Register methods and properties...
33
33
 
34
34
  // Property: 'totalgpuram' - Total GPU DRAM memory (in bytes) (r/o)
35
- _module_.Register<void, Core::JSON::DecUInt64>(_T("totalgpuram"),
36
- [_impl_](Core::JSON::DecUInt64& result) -> uint32_t {
37
- uint32_t _errorCode = Core::ERROR_NONE;
35
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt64>(_T("totalgpuram"),
36
+ [_implementation__](Core::JSON::DecUInt64& result) -> uint32_t {
37
+ uint32_t _errorCode__ = Core::ERROR_NONE;
38
38
 
39
- // read-only property get
40
- uint64_t _result{};
39
+ uint64_t _result_{};
41
40
 
42
- _errorCode = _impl_->TotalGpuRam(_result);
41
+ _errorCode__ = _implementation__->TotalGpuRam(_result_);
43
42
 
44
- if (_errorCode == Core::ERROR_NONE) {
45
- result = _result;
43
+ if (_errorCode__ == Core::ERROR_NONE) {
44
+ result = _result_;
46
45
  }
47
46
 
48
- return (_errorCode);
47
+ return (_errorCode__);
49
48
  });
50
49
 
51
50
  // Property: 'freegpuram' - Free GPU DRAM memory (in bytes) (r/o)
52
- _module_.Register<void, Core::JSON::DecUInt64>(_T("freegpuram"),
53
- [_impl_](Core::JSON::DecUInt64& result) -> uint32_t {
54
- uint32_t _errorCode = Core::ERROR_NONE;
51
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt64>(_T("freegpuram"),
52
+ [_implementation__](Core::JSON::DecUInt64& result) -> uint32_t {
53
+ uint32_t _errorCode__ = Core::ERROR_NONE;
55
54
 
56
- // read-only property get
57
- uint64_t _result{};
55
+ uint64_t _result_{};
58
56
 
59
- _errorCode = _impl_->FreeGpuRam(_result);
57
+ _errorCode__ = _implementation__->FreeGpuRam(_result_);
60
58
 
61
- if (_errorCode == Core::ERROR_NONE) {
62
- result = _result;
59
+ if (_errorCode__ == Core::ERROR_NONE) {
60
+ result = _result_;
63
61
  }
64
62
 
65
- return (_errorCode);
63
+ return (_errorCode__);
66
64
  });
67
65
 
68
66
  }
69
67
 
70
- static void Unregister(JSONRPC& _module_)
68
+ template<typename MODULE>
69
+ static void Unregister(MODULE& _module__)
71
70
  {
72
71
  // Unregister methods and properties...
73
- _module_.Unregister(_T("totalgpuram"));
74
- _module_.Unregister(_T("freegpuram"));
72
+ _module__.PluginHost::JSONRPC::Unregister(_T("totalgpuram"));
73
+ _module__.PluginHost::JSONRPC::Unregister(_T("freegpuram"));
75
74
  }
76
75
 
77
76
  POP_WARNING()
77
+ POP_WARNING()
78
+ POP_WARNING()
78
79
 
79
80
  } // namespace JGraphicsProperties
80
81
 
81
82
  } // namespace Exchange
82
83
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JHDRProperties.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_HDRProperties.h"
7
6
  #include <interfaces/IDisplayInfo.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,94 +17,97 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IHDRProperties* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IHDRProperties* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JHDRProperties"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JHDRProperties"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'tvcapabilities' - HDR formats supported by TV (r/o)
36
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>>(_T("tvcapabilities"),
37
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>>(_T("tvcapabilities"),
37
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- // read-only property get
41
- ::WPEFramework::RPC::IIteratorType<IHDRProperties::HDRType, ID_HDR_ITERATOR>* _result{};
40
+ ::WPEFramework::RPC::IIteratorType<IHDRProperties::HDRType, ID_HDR_ITERATOR>* _result_{};
42
41
 
43
- _errorCode = _impl_->TVCapabilities(_result);
42
+ _errorCode__ = _implementation__->TVCapabilities(_result_);
44
43
 
45
- if (_errorCode == Core::ERROR_NONE) {
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result.Set(true);
46
46
 
47
- if (_result != nullptr) {
48
- Exchange::IHDRProperties::HDRType _resultItem_{};
49
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
50
- _result->Release();
47
+ if (_result_ != nullptr) {
48
+ Exchange::IHDRProperties::HDRType _resultItem__{};
49
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
50
+ _result_->Release();
51
51
  }
52
52
  }
53
53
 
54
- return (_errorCode);
54
+ return (_errorCode__);
55
55
  });
56
56
 
57
57
  // Property: 'stbcapabilities' - HDR formats supported by STB (r/o)
58
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>>(_T("stbcapabilities"),
59
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>& result) -> uint32_t {
60
- uint32_t _errorCode = Core::ERROR_NONE;
58
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>>(_T("stbcapabilities"),
59
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>& result) -> uint32_t {
60
+ uint32_t _errorCode__ = Core::ERROR_NONE;
61
61
 
62
- // read-only property get
63
- ::WPEFramework::RPC::IIteratorType<IHDRProperties::HDRType, ID_HDR_ITERATOR>* _result{};
62
+ ::WPEFramework::RPC::IIteratorType<IHDRProperties::HDRType, ID_HDR_ITERATOR>* _result_{};
64
63
 
65
- _errorCode = _impl_->STBCapabilities(_result);
64
+ _errorCode__ = _implementation__->STBCapabilities(_result_);
66
65
 
67
- if (_errorCode == Core::ERROR_NONE) {
66
+ if (_errorCode__ == Core::ERROR_NONE) {
67
+ result.Set(true);
68
68
 
69
- if (_result != nullptr) {
70
- Exchange::IHDRProperties::HDRType _resultItem_{};
71
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
72
- _result->Release();
69
+ if (_result_ != nullptr) {
70
+ Exchange::IHDRProperties::HDRType _resultItem__{};
71
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
72
+ _result_->Release();
73
73
  }
74
74
  }
75
75
 
76
- return (_errorCode);
76
+ return (_errorCode__);
77
77
  });
78
78
 
79
79
  // Property: 'hdrsetting' - HDR format in use (r/o)
80
- _module_.Register<void, Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>(_T("hdrsetting"),
81
- [_impl_](Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
80
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>>(_T("hdrsetting"),
81
+ [_implementation__](Core::JSON::EnumType<Exchange::IHDRProperties::HDRType>& result) -> uint32_t {
82
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
83
 
84
- // read-only property get
85
- Exchange::IHDRProperties::HDRType _result{};
84
+ Exchange::IHDRProperties::HDRType _result_{};
86
85
 
87
- _errorCode = _impl_->HDRSetting(_result);
86
+ _errorCode__ = _implementation__->HDRSetting(_result_);
88
87
 
89
- if (_errorCode == Core::ERROR_NONE) {
90
- result = _result;
88
+ if (_errorCode__ == Core::ERROR_NONE) {
89
+ result = _result_;
91
90
  }
92
91
 
93
- return (_errorCode);
92
+ return (_errorCode__);
94
93
  });
95
94
 
96
95
  }
97
96
 
98
- static void Unregister(JSONRPC& _module_)
97
+ template<typename MODULE>
98
+ static void Unregister(MODULE& _module__)
99
99
  {
100
100
  // Unregister methods and properties...
101
- _module_.Unregister(_T("tvcapabilities"));
102
- _module_.Unregister(_T("stbcapabilities"));
103
- _module_.Unregister(_T("hdrsetting"));
101
+ _module__.PluginHost::JSONRPC::Unregister(_T("tvcapabilities"));
102
+ _module__.PluginHost::JSONRPC::Unregister(_T("stbcapabilities"));
103
+ _module__.PluginHost::JSONRPC::Unregister(_T("hdrsetting"));
104
104
  }
105
105
 
106
106
  POP_WARNING()
107
+ POP_WARNING()
108
+ POP_WARNING()
107
109
 
108
110
  } // namespace JHDRProperties
109
111
 
110
112
  } // namespace Exchange
111
113
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JIOConnector.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IOConnector.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_IOConnector.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JIOConnector
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JIOControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IOControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_IOControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JIOControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JInputSwitch.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'InputSwitch.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_InputSwitch.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JInputSwitch
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLISA.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'LISA.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_LISA.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JLISA
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLanguageTag.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'ILanguageTag.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include <interfaces/ILanguageTag.h>
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -17,76 +16,81 @@ namespace Exchange {
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
21
20
 
22
- using JSONRPC = PluginHost::JSONRPC;
23
-
24
21
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
22
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
23
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
25
24
 
26
- static void Register(JSONRPC& _module_, ILanguageTag* _impl_)
25
+ template<typename MODULE>
26
+ static void Register(MODULE& _module__, ILanguageTag* _implementation__)
27
27
  {
28
- ASSERT(_impl_ != nullptr);
28
+ ASSERT(_implementation__ != nullptr);
29
29
 
30
- _module_.RegisterVersion(_T("JLanguageTag"), Version::Major, Version::Minor, Version::Patch);
30
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JLanguageTag"), Version::Major, Version::Minor, Version::Patch);
31
31
 
32
32
  // Register methods and properties...
33
33
 
34
34
  // Property: 'language' - Current application user interface language tag
35
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("language"),
36
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
37
- uint32_t _errorCode = Core::ERROR_NONE;
35
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("language"),
36
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
37
+ uint32_t _errorCode__ = Core::ERROR_NONE;
38
38
 
39
39
  if (params.IsSet() == false) {
40
- // property get
41
- string _result{};
40
+ string _result_{};
42
41
 
43
- _errorCode = (static_cast<const ILanguageTag*>(_impl_))->Language(_result);
42
+ _errorCode__ = (static_cast<const ILanguageTag*>(_implementation__))->Language(_result_);
44
43
 
45
- if (_errorCode == Core::ERROR_NONE) {
46
- result = _result;
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result = _result_;
47
46
  }
47
+ }
48
+ else {
49
+ const string _params_{params};
48
50
 
49
- } else {
50
- // property set
51
- const string _params{params};
52
-
53
- _errorCode = _impl_->Language(_params);
51
+ _errorCode__ = _implementation__->Language(_params_);
54
52
 
55
53
  result.Null(true);
56
54
  }
57
- return (_errorCode);
55
+
56
+ return (_errorCode__);
58
57
  });
59
58
 
60
59
  }
61
60
 
62
- static void Unregister(JSONRPC& _module_)
61
+ template<typename MODULE>
62
+ static void Unregister(MODULE& _module__)
63
63
  {
64
64
  // Unregister methods and properties...
65
- _module_.Unregister(_T("language"));
65
+ _module__.PluginHost::JSONRPC::Unregister(_T("language"));
66
66
  }
67
67
 
68
68
  namespace Event {
69
69
 
70
70
  // Event: 'languagechanged' - Notify that the Language tag has been changed
71
- static void LanguageChanged(const JSONRPC& _module_, const Core::JSON::String& language)
71
+ template<typename MODULE>
72
+ static void LanguageChanged(const MODULE& module_, const Core::JSON::String& language, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
72
73
  {
73
- _module_.Notify(_T("languagechanged"), language);
74
+ module_.Notify(_T("languagechanged"), language, sendIfMethod_);
74
75
  }
75
76
 
76
77
  // Event: 'languagechanged' - Notify that the Language tag has been changed
77
- static void LanguageChanged(const JSONRPC& _module_, const string& language)
78
+ template<typename MODULE>
79
+ static void LanguageChanged(const MODULE& module_, const string& language, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
78
80
  {
79
- Core::JSON::String _params_;
80
- _params_ = language;
81
+ Core::JSON::String params_;
82
+ params_ = language;
81
83
 
82
- LanguageChanged(_module_, _params_);
84
+ LanguageChanged(module_, params_, sendIfMethod_);
83
85
  }
84
86
 
85
87
  } // namespace Event
86
88
 
87
89
  POP_WARNING()
90
+ POP_WARNING()
91
+ POP_WARNING()
88
92
 
89
93
  } // namespace JLanguageTag
90
94
 
91
95
  } // namespace Exchange
92
96
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JLocationSync.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'LocationSync.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_LocationSync.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JLocationSync
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMath.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IMath.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Math.h"
7
6
  #include <interfaces/IMath.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,68 +17,82 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IMath* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IMath* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JMath"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JMath"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'add'
36
- _module_.Register<JsonData::Math::AddParamsInfo, Core::JSON::DecUInt16>(_T("add"),
37
- [_impl_](const JsonData::Math::AddParamsInfo& params, Core::JSON::DecUInt16& sum) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::Math::AddParamsInfo, Core::JSON::DecUInt16>(_T("add"),
37
+ [_implementation__](const JsonData::Math::AddParamsInfo& params, Core::JSON::DecUInt16& sum) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- const uint16_t _a{params.A};
41
- const uint16_t _b{params.B};
42
- uint16_t _sum{};
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const uint16_t _a_{params.A};
45
+ const uint16_t _b_{params.B};
46
+ uint16_t _sum_{};
43
47
 
44
- _errorCode = _impl_->Add(_a, _b, _sum);
48
+ _errorCode__ = _implementation__->Add(_a_, _b_, _sum_);
45
49
 
46
- if (_errorCode == Core::ERROR_NONE) {
47
- sum = _sum;
50
+ if (_errorCode__ == Core::ERROR_NONE) {
51
+ sum = _sum_;
52
+ }
48
53
  }
49
54
 
50
- return (_errorCode);
55
+ return (_errorCode__);
51
56
  });
52
57
 
53
58
  // Method: 'sub'
54
- _module_.Register<JsonData::Math::AddParamsInfo, Core::JSON::DecUInt16>(_T("sub"),
55
- [_impl_](const JsonData::Math::AddParamsInfo& params, Core::JSON::DecUInt16& sum) -> uint32_t {
56
- uint32_t _errorCode = Core::ERROR_NONE;
59
+ _module__.PluginHost::JSONRPC::Register<JsonData::Math::AddParamsInfo, Core::JSON::DecUInt16>(_T("sub"),
60
+ [_implementation__](const JsonData::Math::AddParamsInfo& params, Core::JSON::DecUInt16& sum) -> uint32_t {
61
+ uint32_t _errorCode__ = Core::ERROR_NONE;
57
62
 
58
- const uint16_t _a{params.A};
59
- const uint16_t _b{params.B};
60
- uint16_t _sum{};
63
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
64
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
65
+ }
66
+ else {
67
+ const uint16_t _a_{params.A};
68
+ const uint16_t _b_{params.B};
69
+ uint16_t _sum_{};
61
70
 
62
- _errorCode = _impl_->Sub(_a, _b, _sum);
71
+ _errorCode__ = _implementation__->Sub(_a_, _b_, _sum_);
63
72
 
64
- if (_errorCode == Core::ERROR_NONE) {
65
- sum = _sum;
73
+ if (_errorCode__ == Core::ERROR_NONE) {
74
+ sum = _sum_;
75
+ }
66
76
  }
67
77
 
68
- return (_errorCode);
78
+ return (_errorCode__);
69
79
  });
70
80
 
71
81
  }
72
82
 
73
- static void Unregister(JSONRPC& _module_)
83
+ template<typename MODULE>
84
+ static void Unregister(MODULE& _module__)
74
85
  {
75
86
  // Unregister methods and properties...
76
- _module_.Unregister(_T("add"));
77
- _module_.Unregister(_T("sub"));
87
+ _module__.PluginHost::JSONRPC::Unregister(_T("add"));
88
+ _module__.PluginHost::JSONRPC::Unregister(_T("sub"));
78
89
  }
79
90
 
80
91
  POP_WARNING()
92
+ POP_WARNING()
93
+ POP_WARNING()
81
94
 
82
95
  } // namespace JMath
83
96
 
84
97
  } // namespace Exchange
85
98
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMessageControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IMessageControl.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_MessageControl.h"
7
6
  #include <interfaces/IMessageControl.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,69 +17,79 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IMessageControl* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IMessageControl* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JMessageControl"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JMessageControl"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'enable' - Enables/disables a message control
36
- _module_.Register<JsonData::MessageControl::ControlInfo, void>(_T("enable"),
37
- [_impl_](const JsonData::MessageControl::ControlInfo& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::MessageControl::ControlInfo, void>(_T("enable"),
37
+ [_implementation__](const JsonData::MessageControl::ControlInfo& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- const Exchange::IMessageControl::messagetype _type{params.Type};
41
- const string _category{params.Category};
42
- const string _module{params.Module};
43
- const bool _enabled{params.Enabled};
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const Exchange::IMessageControl::messagetype _type_{params.Type};
45
+ const string _category_{params.Category};
46
+ const string _module_{params.Module};
47
+ const bool _enabled_{params.Enabled};
44
48
 
45
- _errorCode = _impl_->Enable(_type, _category, _module, _enabled);
49
+ _errorCode__ = _implementation__->Enable(_type_, _category_, _module_, _enabled_);
46
50
 
47
- return (_errorCode);
51
+ }
52
+
53
+ return (_errorCode__);
48
54
  });
49
55
 
50
56
  // Property: 'controls' - Retrieves a list of current message controls (r/o)
51
- _module_.Register<void, Core::JSON::ArrayType<JsonData::MessageControl::ControlInfo>>(_T("controls"),
52
- [_impl_](Core::JSON::ArrayType<JsonData::MessageControl::ControlInfo>& result) -> uint32_t {
53
- uint32_t _errorCode = Core::ERROR_NONE;
57
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<JsonData::MessageControl::ControlInfo>>(_T("controls"),
58
+ [_implementation__](Core::JSON::ArrayType<JsonData::MessageControl::ControlInfo>& result) -> uint32_t {
59
+ uint32_t _errorCode__ = Core::ERROR_NONE;
54
60
 
55
- // read-only property get
56
- ::WPEFramework::RPC::IIteratorType<IMessageControl::Control, ID_MESSAGE_CONTROL_ITERATOR>* _result{};
61
+ ::WPEFramework::RPC::IIteratorType<IMessageControl::Control, ID_MESSAGE_CONTROL_ITERATOR>* _result_{};
57
62
 
58
- _errorCode = _impl_->Controls(_result);
63
+ _errorCode__ = _implementation__->Controls(_result_);
59
64
 
60
- if (_errorCode == Core::ERROR_NONE) {
65
+ if (_errorCode__ == Core::ERROR_NONE) {
66
+ result.Set(true);
61
67
 
62
- if (_result != nullptr) {
63
- Exchange::IMessageControl::Control _resultItem_{};
64
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
65
- _result->Release();
68
+ if (_result_ != nullptr) {
69
+ Exchange::IMessageControl::Control _resultItem__{};
70
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
71
+ _result_->Release();
66
72
  }
67
73
  }
68
74
 
69
- return (_errorCode);
75
+ return (_errorCode__);
70
76
  });
71
77
 
72
78
  }
73
79
 
74
- static void Unregister(JSONRPC& _module_)
80
+ template<typename MODULE>
81
+ static void Unregister(MODULE& _module__)
75
82
  {
76
83
  // Unregister methods and properties...
77
- _module_.Unregister(_T("enable"));
78
- _module_.Unregister(_T("controls"));
84
+ _module__.PluginHost::JSONRPC::Unregister(_T("enable"));
85
+ _module__.PluginHost::JSONRPC::Unregister(_T("controls"));
79
86
  }
80
87
 
81
88
  POP_WARNING()
89
+ POP_WARNING()
90
+ POP_WARNING()
82
91
 
83
92
  } // namespace JMessageControl
84
93
 
85
94
  } // namespace Exchange
86
95
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMessenger.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Messenger.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Messenger.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JMessenger
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JMonitor.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Monitor.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Monitor.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JMonitor
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetflix.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Netflix.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Netflix.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JNetflix
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetworkControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'INetworkControl.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_NetworkControl.h"
7
6
  #include <interfaces/INetworkControl.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,235 +17,273 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, INetworkControl* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, INetworkControl* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JNetworkControl"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JNetworkControl"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'flush' - Flush and reload requested interface
36
- _module_.Register<JsonData::NetworkControl::FlushParamsData, void>(_T("flush"),
37
- [_impl_](const JsonData::NetworkControl::FlushParamsData& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkControl::FlushParamsData, void>(_T("flush"),
37
+ [_implementation__](const JsonData::NetworkControl::FlushParamsData& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- const string _interface{params.Interface};
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _interface_{params.Interface};
41
45
 
42
- _errorCode = _impl_->Flush(_interface);
46
+ _errorCode__ = _implementation__->Flush(_interface_);
47
+
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  // Property: 'interfaces' - Currently available interfaces (r/o)
48
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("interfaces"),
49
- [_impl_](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
50
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("interfaces"),
55
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
51
57
 
52
- // read-only property get
53
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
58
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
54
59
 
55
- _errorCode = _impl_->Interfaces(_result);
60
+ _errorCode__ = _implementation__->Interfaces(_result_);
56
61
 
57
- if (_errorCode == Core::ERROR_NONE) {
62
+ if (_errorCode__ == Core::ERROR_NONE) {
63
+ result.Set(true);
58
64
 
59
- if (_result != nullptr) {
60
- string _resultItem_{};
61
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
62
- _result->Release();
65
+ if (_result_ != nullptr) {
66
+ string _resultItem__{};
67
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
68
+ _result_->Release();
63
69
  }
64
70
  }
65
71
 
66
- return (_errorCode);
72
+ return (_errorCode__);
67
73
  });
68
74
 
69
75
  // Indexed Property: 'status' - Status of requested interface (r/o)
70
- _module_.Register<void, Core::JSON::EnumType<Exchange::INetworkControl::StatusType>, std::function<uint32_t(const string&,
71
- Core::JSON::EnumType<Exchange::INetworkControl::StatusType>&)>>(_T("status"),
72
- [_impl_](const string& _index_, Core::JSON::EnumType<Exchange::INetworkControl::StatusType>& result) -> uint32_t {
73
- uint32_t _errorCode = Core::ERROR_NONE;
76
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::INetworkControl::StatusType>, std::function<uint32_t(const string&, Core::JSON::EnumType<Exchange::INetworkControl::StatusType>&)>>(_T("status"),
77
+ [_implementation__](const string& interface, Core::JSON::EnumType<Exchange::INetworkControl::StatusType>& result) -> uint32_t {
78
+ uint32_t _errorCode__ = Core::ERROR_NONE;
74
79
 
75
- // read-only property get
76
- Exchange::INetworkControl::StatusType _result{};
80
+ if (interface.empty() == true) {
81
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
82
+ }
83
+
84
+ if (_errorCode__ == Core::ERROR_NONE) {
85
+ Exchange::INetworkControl::StatusType _result_{};
77
86
 
78
- _errorCode = _impl_->Status(_index_, _result);
87
+ _errorCode__ = _implementation__->Status(interface, _result_);
79
88
 
80
- if (_errorCode == Core::ERROR_NONE) {
81
- result = _result;
89
+ if (_errorCode__ == Core::ERROR_NONE) {
90
+ result = _result_;
91
+ }
82
92
  }
83
93
 
84
- return (_errorCode);
94
+ return (_errorCode__);
85
95
  });
86
96
 
87
97
  // Indexed Property: 'network' - Network info of requested interface
88
- _module_.Register<JsonData::NetworkControl::NetworkData, Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>,
89
- std::function<uint32_t(const string&, const JsonData::NetworkControl::NetworkData&,
90
- Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>&)>>(_T("network"),
91
- [_impl_](const string& _index_, const JsonData::NetworkControl::NetworkData& params,
92
- Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>& result) -> uint32_t {
93
- uint32_t _errorCode = Core::ERROR_NONE;
98
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkControl::NetworkData, Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>, std::function<uint32_t(const string&, const JsonData::NetworkControl::NetworkData&, Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>&)>>(_T("network"),
99
+ [_implementation__](const string& interface, const JsonData::NetworkControl::NetworkData& params, Core::JSON::ArrayType<JsonData::NetworkControl::NetworkInfoInfo>& result) -> uint32_t {
100
+ uint32_t _errorCode__ = Core::ERROR_NONE;
94
101
 
95
- if (params.IsSet() == false) {
96
- // property get
97
- ::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>* _result{};
102
+ if (interface.empty() == true) {
103
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
104
+ }
98
105
 
99
- _errorCode = (static_cast<const INetworkControl*>(_impl_))->Network(_index_, _result);
106
+ if (_errorCode__ == Core::ERROR_NONE) {
100
107
 
101
- if (_errorCode == Core::ERROR_NONE) {
108
+ if (params.IsSet() == false) {
109
+ ::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>* _result_{};
102
110
 
103
- if (_result != nullptr) {
104
- Exchange::INetworkControl::NetworkInfo _resultItem_{};
105
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
106
- _result->Release();
111
+ _errorCode__ = (static_cast<const INetworkControl*>(_implementation__))->Network(interface, _result_);
112
+
113
+ if (_errorCode__ == Core::ERROR_NONE) {
114
+ result.Set(true);
115
+
116
+ if (_result_ != nullptr) {
117
+ Exchange::INetworkControl::NetworkInfo _resultItem__{};
118
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
119
+ _result_->Release();
120
+ }
107
121
  }
108
122
  }
123
+ else {
109
124
 
110
- } else {
111
- // property set
112
- std::list<Exchange::INetworkControl::NetworkInfo> _elements;
113
- auto _Iterator = params.Value.Elements();
114
- while (_Iterator.Next() == true) { _elements.push_back(_Iterator.Current()); }
115
-
116
- ::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo,
117
- ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>* const _value{Core::Service<::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo,
118
- ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>>>::Create<::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo,
119
- ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>>(_elements)};
125
+ if (params.IsDataValid() == false) {
126
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
127
+ }
128
+ else {
129
+ ::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>* _value_{};
130
+ std::list<Exchange::INetworkControl::NetworkInfo> _valueElements_{};
131
+ auto _valueIterator_ = params.Value.Elements();
132
+ while (_valueIterator_.Next() == true) { _valueElements_.push_back(_valueIterator_.Current()); }
133
+ using _valueIteratorImplType_ = ::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>>;
134
+ _value_ = Core::ServiceType<_valueIteratorImplType_>::Create<::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>>(std::move(_valueElements_));
135
+ ASSERT(_value_ != nullptr);
136
+
137
+ _errorCode__ = _implementation__->Network(interface, static_cast<::WPEFramework::RPC::IIteratorType<INetworkControl::NetworkInfo, ID_NETWORKCONTROL_NETWORK_INFO_ITERATOR>* const&>(_value_));
138
+ if (_value_ != nullptr) {
139
+ _value_->Release();
140
+ }
120
141
 
121
- ASSERT(_value != nullptr);
142
+ }
122
143
 
123
- if ((_value != nullptr)) {
124
- _errorCode = _impl_->Network(_index_, _value);
125
- _value->Release();
126
- } else {
127
- _errorCode = Core::ERROR_GENERAL;
144
+ result.Null(true);
128
145
  }
129
-
130
- // result.Null(true);
131
146
  }
132
- return (_errorCode);
147
+
148
+ return (_errorCode__);
133
149
  });
134
150
 
135
151
  // Property: 'dns' - DNS list
136
- _module_.Register<JsonData::NetworkControl::DNSData, Core::JSON::ArrayType<Core::JSON::String>>(_T("dns"),
137
- [_impl_](const JsonData::NetworkControl::DNSData& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
138
- uint32_t _errorCode = Core::ERROR_NONE;
152
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkControl::DNSData, Core::JSON::ArrayType<Core::JSON::String>>(_T("dns"),
153
+ [_implementation__](const JsonData::NetworkControl::DNSData& params, Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
154
+ uint32_t _errorCode__ = Core::ERROR_NONE;
139
155
 
140
156
  if (params.IsSet() == false) {
141
- // property get
142
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
157
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
143
158
 
144
- _errorCode = (static_cast<const INetworkControl*>(_impl_))->DNS(_result);
159
+ _errorCode__ = (static_cast<const INetworkControl*>(_implementation__))->DNS(_result_);
145
160
 
146
- if (_errorCode == Core::ERROR_NONE) {
161
+ if (_errorCode__ == Core::ERROR_NONE) {
162
+ result.Set(true);
147
163
 
148
- if (_result != nullptr) {
149
- string _resultItem_{};
150
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
151
- _result->Release();
164
+ if (_result_ != nullptr) {
165
+ string _resultItem__{};
166
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
167
+ _result_->Release();
152
168
  }
153
169
  }
170
+ }
171
+ else {
154
172
 
155
- } else {
156
- // property set
157
- std::list<string> _elements;
158
- auto _Iterator = params.Value.Elements();
159
- while (_Iterator.Next() == true) { _elements.push_back(_Iterator.Current()); }
160
-
161
- ::WPEFramework::RPC::IIteratorType<string,
162
- RPC::ID_STRINGITERATOR>* const _value{Core::Service<::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>>>::Create<::WPEFramework::RPC::IIteratorType<string,
163
- RPC::ID_STRINGITERATOR>>(_elements)};
164
-
165
- ASSERT(_value != nullptr);
173
+ if (params.IsDataValid() == false) {
174
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
175
+ }
176
+ else {
177
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _value_{};
178
+ std::list<string> _valueElements_{};
179
+ auto _valueIterator_ = params.Value.Elements();
180
+ while (_valueIterator_.Next() == true) { _valueElements_.push_back(_valueIterator_.Current()); }
181
+ using _valueIteratorImplType_ = ::WPEFramework::RPC::IteratorType<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>;
182
+ _value_ = Core::ServiceType<_valueIteratorImplType_>::Create<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>>(std::move(_valueElements_));
183
+ ASSERT(_value_ != nullptr);
184
+
185
+ _errorCode__ = _implementation__->DNS(static_cast<::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* const&>(_value_));
186
+ if (_value_ != nullptr) {
187
+ _value_->Release();
188
+ }
166
189
 
167
- if ((_value != nullptr)) {
168
- _errorCode = _impl_->DNS(_value);
169
- _value->Release();
170
- } else {
171
- _errorCode = Core::ERROR_GENERAL;
172
190
  }
173
191
 
174
- // result.Null(true);
192
+ result.Null(true);
175
193
  }
176
- return (_errorCode);
194
+
195
+ return (_errorCode__);
177
196
  });
178
197
 
179
198
  // Indexed Property: 'up' - Provides given requested interface is up or not
180
- _module_.Register<JsonData::NetworkControl::UpData, Core::JSON::Boolean, std::function<uint32_t(const string&,
181
- const JsonData::NetworkControl::UpData&, Core::JSON::Boolean&)>>(_T("up"),
182
- [_impl_](const string& _index_, const JsonData::NetworkControl::UpData& params, Core::JSON::Boolean& result) -> uint32_t {
183
- uint32_t _errorCode = Core::ERROR_NONE;
199
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkControl::UpData, Core::JSON::Boolean, std::function<uint32_t(const string&, const JsonData::NetworkControl::UpData&, Core::JSON::Boolean&)>>(_T("up"),
200
+ [_implementation__](const string& interface, const JsonData::NetworkControl::UpData& params, Core::JSON::Boolean& result) -> uint32_t {
201
+ uint32_t _errorCode__ = Core::ERROR_NONE;
184
202
 
185
- if (params.IsSet() == false) {
186
- // property get
187
- bool _result{};
203
+ if (interface.empty() == true) {
204
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
205
+ }
206
+
207
+ if (_errorCode__ == Core::ERROR_NONE) {
208
+
209
+ if (params.IsSet() == false) {
210
+ bool _result_{};
188
211
 
189
- _errorCode = (static_cast<const INetworkControl*>(_impl_))->Up(_index_, _result);
212
+ _errorCode__ = (static_cast<const INetworkControl*>(_implementation__))->Up(interface, _result_);
190
213
 
191
- if (_errorCode == Core::ERROR_NONE) {
192
- result = _result;
214
+ if (_errorCode__ == Core::ERROR_NONE) {
215
+ result = _result_;
216
+ }
193
217
  }
218
+ else {
194
219
 
195
- } else {
196
- // property set
197
- const bool _value{params.Value};
220
+ if (params.IsDataValid() == false) {
221
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
222
+ }
223
+ else {
224
+ const bool _value_{params.Value};
198
225
 
199
- _errorCode = _impl_->Up(_index_, _value);
226
+ _errorCode__ = _implementation__->Up(interface, _value_);
200
227
 
201
- result.Null(true);
228
+ }
229
+
230
+ result.Null(true);
231
+ }
202
232
  }
203
- return (_errorCode);
233
+
234
+ return (_errorCode__);
204
235
  });
205
236
 
206
237
  }
207
238
 
208
- static void Unregister(JSONRPC& _module_)
239
+ template<typename MODULE>
240
+ static void Unregister(MODULE& _module__)
209
241
  {
210
242
  // Unregister methods and properties...
211
- _module_.Unregister(_T("flush"));
212
- _module_.Unregister(_T("interfaces"));
213
- _module_.Unregister(_T("status"));
214
- _module_.Unregister(_T("network"));
215
- _module_.Unregister(_T("dns"));
216
- _module_.Unregister(_T("up"));
243
+ _module__.PluginHost::JSONRPC::Unregister(_T("flush"));
244
+ _module__.PluginHost::JSONRPC::Unregister(_T("interfaces"));
245
+ _module__.PluginHost::JSONRPC::Unregister(_T("status"));
246
+ _module__.PluginHost::JSONRPC::Unregister(_T("network"));
247
+ _module__.PluginHost::JSONRPC::Unregister(_T("dns"));
248
+ _module__.PluginHost::JSONRPC::Unregister(_T("up"));
217
249
  }
218
250
 
219
251
  namespace Event {
220
252
 
221
253
  // Event: 'update'
222
- static void Update(const JSONRPC& _module_, const JsonData::NetworkControl::UpdateParamsData& params)
254
+ template<typename MODULE>
255
+ static void Update(const MODULE& module_, const JsonData::NetworkControl::UpdateParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
223
256
  {
224
- _module_.Notify(_T("update"), params);
257
+ module_.Notify(_T("update"), params, sendIfMethod_);
225
258
  }
226
259
 
227
260
  // Event: 'update'
228
- static void Update(const JSONRPC& _module_, const Core::JSON::String& interfaceName)
261
+ template<typename MODULE>
262
+ static void Update(const MODULE& module_, const Core::JSON::String& interfaceName, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
229
263
  {
230
- JsonData::NetworkControl::UpdateParamsData _params_;
231
- _params_.InterfaceName = interfaceName;
264
+ JsonData::NetworkControl::UpdateParamsData params_;
265
+ params_.InterfaceName = interfaceName;
232
266
 
233
- Update(_module_, _params_);
267
+ Update(module_, params_, sendIfMethod_);
234
268
  }
235
269
 
236
270
  // Event: 'update'
237
- static void Update(const JSONRPC& _module_, const string& interfaceName)
271
+ template<typename MODULE>
272
+ static void Update(const MODULE& module_, const string& interfaceName, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
238
273
  {
239
- JsonData::NetworkControl::UpdateParamsData _params_;
240
- _params_.InterfaceName = interfaceName;
274
+ JsonData::NetworkControl::UpdateParamsData params_;
275
+ params_.InterfaceName = interfaceName;
241
276
 
242
- Update(_module_, _params_);
277
+ Update(module_, params_, sendIfMethod_);
243
278
  }
244
279
 
245
280
  } // namespace Event
246
281
 
247
282
  POP_WARNING()
283
+ POP_WARNING()
284
+ POP_WARNING()
248
285
 
249
286
  } // namespace JNetworkControl
250
287
 
251
288
  } // namespace Exchange
252
289
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JNetworkTools.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'INetworkTools.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_NetworkTools.h"
7
6
  #include <interfaces/INetworkTools.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,89 +17,108 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, INetworkTools* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, INetworkTools* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JNetworkTools"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JNetworkTools"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'ping' - Ping the given destination with ICMP packages
36
- _module_.Register<JsonData::NetworkTools::PingParamsData, void>(_T("ping"),
37
- [_impl_](const JsonData::NetworkTools::PingParamsData& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkTools::PingParamsData, void>(_T("ping"),
37
+ [_implementation__](const JsonData::NetworkTools::PingParamsData& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _destination_{params.Destination};
45
+ const uint16_t _timeOutInSeconds_{params.TimeOutInSeconds};
46
+ const uint16_t _count_{params.Count};
39
47
 
40
- const string _destination{params.Destination};
41
- const uint16_t _timeOutInSeconds{params.TimeOutInSeconds};
42
- const uint16_t _count{params.Count};
48
+ _errorCode__ = _implementation__->Ping(_destination_, _timeOutInSeconds_, _count_);
43
49
 
44
- _errorCode = _impl_->Ping(_destination, _timeOutInSeconds, _count);
50
+ }
45
51
 
46
- return (_errorCode);
52
+ return (_errorCode__);
47
53
  });
48
54
 
49
55
  // Method: 'traceroute' - TraceRoute to the given destination with ICMP packages
50
- _module_.Register<JsonData::NetworkTools::TraceRouteParamsData, void>(_T("traceroute"),
51
- [_impl_](const JsonData::NetworkTools::TraceRouteParamsData& params) -> uint32_t {
52
- uint32_t _errorCode = Core::ERROR_NONE;
56
+ _module__.PluginHost::JSONRPC::Register<JsonData::NetworkTools::TraceRouteParamsData, void>(_T("traceroute"),
57
+ [_implementation__](const JsonData::NetworkTools::TraceRouteParamsData& params) -> uint32_t {
58
+ uint32_t _errorCode__ = Core::ERROR_NONE;
53
59
 
54
- const string _destination{params.Destination};
55
- const uint16_t _timeOutInSeconds{params.TimeOutInSeconds};
60
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
61
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
62
+ }
63
+ else {
64
+ const string _destination_{params.Destination};
65
+ const uint16_t _timeOutInSeconds_{params.TimeOutInSeconds};
56
66
 
57
- _errorCode = _impl_->TraceRoute(_destination, _timeOutInSeconds);
67
+ _errorCode__ = _implementation__->TraceRoute(_destination_, _timeOutInSeconds_);
58
68
 
59
- return (_errorCode);
69
+ }
70
+
71
+ return (_errorCode__);
60
72
  });
61
73
 
62
74
  }
63
75
 
64
- static void Unregister(JSONRPC& _module_)
76
+ template<typename MODULE>
77
+ static void Unregister(MODULE& _module__)
65
78
  {
66
79
  // Unregister methods and properties...
67
- _module_.Unregister(_T("ping"));
68
- _module_.Unregister(_T("traceroute"));
80
+ _module__.PluginHost::JSONRPC::Unregister(_T("ping"));
81
+ _module__.PluginHost::JSONRPC::Unregister(_T("traceroute"));
69
82
  }
70
83
 
71
84
  namespace Event {
72
85
 
73
86
  // Event: 'report' - Signals an message from a given host
74
- static void Report(const JSONRPC& _module_, const JsonData::NetworkTools::ReportParamsData& params)
87
+ template<typename MODULE>
88
+ static void Report(const MODULE& module_, const JsonData::NetworkTools::ReportParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
75
89
  {
76
- _module_.Notify(_T("report"), params);
90
+ module_.Notify(_T("report"), params, sendIfMethod_);
77
91
  }
78
92
 
79
93
  // Event: 'report' - Signals an message from a given host
80
- static void Report(const JSONRPC& _module_, const Core::JSON::String& source, const Core::JSON::String& metadata)
94
+ template<typename MODULE>
95
+ static void Report(const MODULE& module_, const Core::JSON::String& source, const Core::JSON::String& metadata, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
81
96
  {
82
- JsonData::NetworkTools::ReportParamsData _params_;
83
- _params_.Source = source;
84
- _params_.Metadata = metadata;
97
+ JsonData::NetworkTools::ReportParamsData params_;
98
+ params_.Source = source;
99
+ params_.Metadata = metadata;
85
100
 
86
- Report(_module_, _params_);
101
+ Report(module_, params_, sendIfMethod_);
87
102
  }
88
103
 
89
104
  // Event: 'report' - Signals an message from a given host
90
- static void Report(const JSONRPC& _module_, const string& source, const string& metadata)
105
+ template<typename MODULE>
106
+ static void Report(const MODULE& module_, const string& source, const string& metadata, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
91
107
  {
92
- JsonData::NetworkTools::ReportParamsData _params_;
93
- _params_.Source = source;
94
- _params_.Metadata = metadata;
108
+ JsonData::NetworkTools::ReportParamsData params_;
109
+ params_.Source = source;
110
+ params_.Metadata = metadata;
95
111
 
96
- Report(_module_, _params_);
112
+ Report(module_, params_, sendIfMethod_);
97
113
  }
98
114
 
99
115
  } // namespace Event
100
116
 
101
117
  POP_WARNING()
118
+ POP_WARNING()
119
+ POP_WARNING()
102
120
 
103
121
  } // namespace JNetworkTools
104
122
 
105
123
  } // namespace Exchange
106
124
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JOCDM.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'OCDM.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_OCDM.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JOCDM
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPackageManager.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IPackageManager.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_PackageManager.h"
7
6
  #include <interfaces/IPackageManager.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,358 +17,440 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IPackageManager* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IPackageManager* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JPackageManager"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JPackageManager"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'install' - Download the application bundle
36
- _module_.Register<JsonData::PackageManager::InstallParamsData, Core::JSON::String>(_T("install"),
37
- [_impl_](const JsonData::PackageManager::InstallParamsData& params, Core::JSON::String& handle) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
39
-
40
- const string _type{params.Type};
41
- const string _id{params.Id};
42
- const string _version{params.Version};
43
- const string _url{params.Url};
44
- const string _appName{params.AppName};
45
- const string _category{params.Category};
46
- string _handle{};
47
-
48
- _errorCode = _impl_->Install(_type, _id, _version, _url, _appName, _category, _handle);
49
-
50
- if (_errorCode == Core::ERROR_NONE) {
51
- handle = _handle;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::InstallParamsData, Core::JSON::String>(_T("install"),
37
+ [_implementation__](const JsonData::PackageManager::InstallParamsData& params, Core::JSON::String& handle) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _type_{params.Type};
45
+ const string _id_{params.Id};
46
+ const string _version_{params.Version};
47
+ const string _url_{params.Url};
48
+ const string _appName_{params.AppName};
49
+ const string _category_{params.Category};
50
+ string _handle_{};
51
+
52
+ _errorCode__ = _implementation__->Install(_type_, _id_, _version_, _url_, _appName_, _category_, _handle_);
53
+
54
+ if (_errorCode__ == Core::ERROR_NONE) {
55
+ handle = _handle_;
56
+ }
52
57
  }
53
58
 
54
- return (_errorCode);
59
+ return (_errorCode__);
55
60
  });
56
61
 
57
62
  // Method: 'uninstall' - Uninstall the application
58
- _module_.Register<JsonData::PackageManager::UninstallParamsData, Core::JSON::String>(_T("uninstall"),
59
- [_impl_](const JsonData::PackageManager::UninstallParamsData& params, Core::JSON::String& handle) -> uint32_t {
60
- uint32_t _errorCode = Core::ERROR_NONE;
63
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::UninstallParamsData, Core::JSON::String>(_T("uninstall"),
64
+ [_implementation__](const JsonData::PackageManager::UninstallParamsData& params, Core::JSON::String& handle) -> uint32_t {
65
+ uint32_t _errorCode__ = Core::ERROR_NONE;
61
66
 
62
- const string _type{params.Type};
63
- const string _id{params.Id};
64
- const string _version{params.Version};
65
- const string _uninstallType{params.UninstallType};
66
- string _handle{};
67
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
68
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
69
+ }
70
+ else {
71
+ const string _type_{params.Type};
72
+ const string _id_{params.Id};
73
+ const string _version_{params.Version};
74
+ const string _uninstallType_{params.UninstallType};
75
+ string _handle_{};
67
76
 
68
- _errorCode = _impl_->Uninstall(_type, _id, _version, _uninstallType, _handle);
77
+ _errorCode__ = _implementation__->Uninstall(_type_, _id_, _version_, _uninstallType_, _handle_);
69
78
 
70
- if (_errorCode == Core::ERROR_NONE) {
71
- handle = _handle;
79
+ if (_errorCode__ == Core::ERROR_NONE) {
80
+ handle = _handle_;
81
+ }
72
82
  }
73
83
 
74
- return (_errorCode);
84
+ return (_errorCode__);
75
85
  });
76
86
 
77
87
  // Method: 'download' - Download arbitrary application's resource file
78
- _module_.Register<JsonData::PackageManager::DownloadParamsData, Core::JSON::String>(_T("download"),
79
- [_impl_](const JsonData::PackageManager::DownloadParamsData& params, Core::JSON::String& handle) -> uint32_t {
80
- uint32_t _errorCode = Core::ERROR_NONE;
81
-
82
- const string _type{params.Type};
83
- const string _id{params.Id};
84
- const string _version{params.Version};
85
- const string _resKey{params.ResKey};
86
- const string _url{params.Url};
87
- string _handle{};
88
-
89
- _errorCode = _impl_->Download(_type, _id, _version, _resKey, _url, _handle);
88
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::DownloadParamsData, Core::JSON::String>(_T("download"),
89
+ [_implementation__](const JsonData::PackageManager::DownloadParamsData& params, Core::JSON::String& handle) -> uint32_t {
90
+ uint32_t _errorCode__ = Core::ERROR_NONE;
90
91
 
91
- if (_errorCode == Core::ERROR_NONE) {
92
- handle = _handle;
92
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
93
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
94
+ }
95
+ else {
96
+ const string _type_{params.Type};
97
+ const string _id_{params.Id};
98
+ const string _version_{params.Version};
99
+ const string _resKey_{params.ResKey};
100
+ const string _url_{params.Url};
101
+ string _handle_{};
102
+
103
+ _errorCode__ = _implementation__->Download(_type_, _id_, _version_, _resKey_, _url_, _handle_);
104
+
105
+ if (_errorCode__ == Core::ERROR_NONE) {
106
+ handle = _handle_;
107
+ }
93
108
  }
94
109
 
95
- return (_errorCode);
110
+ return (_errorCode__);
96
111
  });
97
112
 
98
113
  // Method: 'reset' - Delete persistent data stored locally
99
- _module_.Register<JsonData::PackageManager::ResetParamsData, void>(_T("reset"),
100
- [_impl_](const JsonData::PackageManager::ResetParamsData& params) -> uint32_t {
101
- uint32_t _errorCode = Core::ERROR_NONE;
114
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::ResetParamsData, void>(_T("reset"),
115
+ [_implementation__](const JsonData::PackageManager::ResetParamsData& params) -> uint32_t {
116
+ uint32_t _errorCode__ = Core::ERROR_NONE;
102
117
 
103
- const string _type{params.Type};
104
- const string _id{params.Id};
105
- const string _version{params.Version};
106
- const string _resetType{params.ResetType};
118
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
119
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
120
+ }
121
+ else {
122
+ const string _type_{params.Type};
123
+ const string _id_{params.Id};
124
+ const string _version_{params.Version};
125
+ const string _resetType_{params.ResetType};
126
+
127
+ _errorCode__ = _implementation__->Reset(_type_, _id_, _version_, _resetType_);
107
128
 
108
- _errorCode = _impl_->Reset(_type, _id, _version, _resetType);
129
+ }
109
130
 
110
- return (_errorCode);
131
+ return (_errorCode__);
111
132
  });
112
133
 
113
134
  // Method: 'getstoragedetails' - Information on the storage usage
114
- _module_.Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::StorageInfoData>(_T("getstoragedetails"),
115
- [_impl_](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params,
116
- JsonData::PackageManager::StorageInfoData& storageinfo) -> uint32_t {
117
- uint32_t _errorCode = Core::ERROR_NONE;
135
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::StorageInfoData>(_T("getstoragedetails"),
136
+ [_implementation__](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params, JsonData::PackageManager::StorageInfoData& storageinfo) -> uint32_t {
137
+ uint32_t _errorCode__ = Core::ERROR_NONE;
118
138
 
119
- const string _type{params.Type};
120
- const string _id{params.Id};
121
- const string _version{params.Version};
122
- Exchange::IPackageManager::StorageInfo _storageinfo{};
139
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
140
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
141
+ }
142
+ else {
143
+ const string _type_{params.Type};
144
+ const string _id_{params.Id};
145
+ const string _version_{params.Version};
146
+ Exchange::IPackageManager::StorageInfo _storageinfo_{};
123
147
 
124
- _errorCode = _impl_->GetStorageDetails(_type, _id, _version, _storageinfo);
148
+ _errorCode__ = _implementation__->GetStorageDetails(_type_, _id_, _version_, _storageinfo_);
125
149
 
126
- if (_errorCode == Core::ERROR_NONE) {
127
- storageinfo = _storageinfo;
150
+ if (_errorCode__ == Core::ERROR_NONE) {
151
+ storageinfo.Set(true);
152
+ storageinfo = _storageinfo_;
153
+ }
128
154
  }
129
155
 
130
- return (_errorCode);
156
+ return (_errorCode__);
131
157
  });
132
158
 
133
159
  // Method: 'setauxmetadata' - Set an arbitrary metadata
134
- _module_.Register<JsonData::PackageManager::SetAuxMetadataParamsData, void>(_T("setauxmetadata"),
135
- [_impl_](const JsonData::PackageManager::SetAuxMetadataParamsData& params) -> uint32_t {
136
- uint32_t _errorCode = Core::ERROR_NONE;
160
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::SetAuxMetadataParamsData, void>(_T("setauxmetadata"),
161
+ [_implementation__](const JsonData::PackageManager::SetAuxMetadataParamsData& params) -> uint32_t {
162
+ uint32_t _errorCode__ = Core::ERROR_NONE;
137
163
 
138
- const string _type{params.Type};
139
- const string _id{params.Id};
140
- const string _version{params.Version};
141
- const string _key{params.Key};
142
- const string _value{params.Value};
164
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
165
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
166
+ }
167
+ else {
168
+ const string _type_{params.Type};
169
+ const string _id_{params.Id};
170
+ const string _version_{params.Version};
171
+ const string _key_{params.Key};
172
+ const string _value_{params.Value};
173
+
174
+ _errorCode__ = _implementation__->SetAuxMetadata(_type_, _id_, _version_, _key_, _value_);
143
175
 
144
- _errorCode = _impl_->SetAuxMetadata(_type, _id, _version, _key, _value);
176
+ }
145
177
 
146
- return (_errorCode);
178
+ return (_errorCode__);
147
179
  });
148
180
 
149
181
  // Method: 'clearauxmetadata' - Clears an arbitrary metadata
150
- _module_.Register<JsonData::PackageManager::ClearAuxMetadataParamsData, void>(_T("clearauxmetadata"),
151
- [_impl_](const JsonData::PackageManager::ClearAuxMetadataParamsData& params) -> uint32_t {
152
- uint32_t _errorCode = Core::ERROR_NONE;
182
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::ClearAuxMetadataParamsData, void>(_T("clearauxmetadata"),
183
+ [_implementation__](const JsonData::PackageManager::ClearAuxMetadataParamsData& params) -> uint32_t {
184
+ uint32_t _errorCode__ = Core::ERROR_NONE;
185
+
186
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
187
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
188
+ }
189
+ else {
190
+ const string _type_{params.Type};
191
+ const string _id_{params.Id};
192
+ const string _version_{params.Version};
193
+ const string _key_{params.Key};
153
194
 
154
- const string _type{params.Type};
155
- const string _id{params.Id};
156
- const string _version{params.Version};
157
- const string _key{params.Key};
195
+ _errorCode__ = _implementation__->ClearAuxMetadata(_type_, _id_, _version_, _key_);
158
196
 
159
- _errorCode = _impl_->ClearAuxMetadata(_type, _id, _version, _key);
197
+ }
160
198
 
161
- return (_errorCode);
199
+ return (_errorCode__);
162
200
  });
163
201
 
164
202
  // Method: 'getmetadata' - Get application metadata
165
- _module_.Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::GetMetadataResultData>(_T("getmetadata"),
166
- [_impl_](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params,
167
- JsonData::PackageManager::GetMetadataResultData& result) -> uint32_t {
168
- uint32_t _errorCode = Core::ERROR_NONE;
169
-
170
- const string _type{params.Type};
171
- const string _id{params.Id};
172
- const string _version{params.Version};
173
- Exchange::IPackageManager::MetadataPayload _metadata{};
174
- ::WPEFramework::RPC::IIteratorType<IPackageManager::KeyValue, ID_PACKAGEMANAGER_KEY_VALUE_ITERATOR>* _resources{};
175
- ::WPEFramework::RPC::IIteratorType<IPackageManager::KeyValue, ID_PACKAGEMANAGER_KEY_VALUE_ITERATOR>* _auxMetadata{};
176
-
177
- _errorCode = _impl_->GetMetadata(_type, _id, _version, _metadata, _resources, _auxMetadata);
178
-
179
- if (_errorCode == Core::ERROR_NONE) {
180
- result.Metadata = _metadata;
181
-
182
- if (_resources != nullptr) {
183
- Exchange::IPackageManager::KeyValue _resourcesItem_{};
184
- while (_resources->Next(_resourcesItem_) == true) { result.Resources.Add() = _resourcesItem_; }
185
- _resources->Release();
186
- }
203
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::GetMetadataResultData>(_T("getmetadata"),
204
+ [_implementation__](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params, JsonData::PackageManager::GetMetadataResultData& result) -> uint32_t {
205
+ uint32_t _errorCode__ = Core::ERROR_NONE;
187
206
 
188
- if (_auxMetadata != nullptr) {
189
- Exchange::IPackageManager::KeyValue _auxmetadataItem_{};
190
- while (_auxMetadata->Next(_auxmetadataItem_) == true) { result.AuxMetadata.Add() = _auxmetadataItem_; }
191
- _auxMetadata->Release();
207
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
208
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
209
+ }
210
+ else {
211
+ const string _type_{params.Type};
212
+ const string _id_{params.Id};
213
+ const string _version_{params.Version};
214
+ Exchange::IPackageManager::MetadataPayload _metadata_{};
215
+ ::WPEFramework::RPC::IIteratorType<IPackageManager::KeyValue, ID_PACKAGEMANAGER_KEY_VALUE_ITERATOR>* _resources_{};
216
+ ::WPEFramework::RPC::IIteratorType<IPackageManager::KeyValue, ID_PACKAGEMANAGER_KEY_VALUE_ITERATOR>* _auxMetadata_{};
217
+
218
+ _errorCode__ = _implementation__->GetMetadata(_type_, _id_, _version_, _metadata_, _resources_, _auxMetadata_);
219
+
220
+ if (_errorCode__ == Core::ERROR_NONE) {
221
+ result.Metadata.Set(true);
222
+ result.Metadata = _metadata_;
223
+ result.Resources.Set(true);
224
+
225
+ if (_resources_ != nullptr) {
226
+ Exchange::IPackageManager::KeyValue _resourcesItem__{};
227
+ while (_resources_->Next(_resourcesItem__) == true) { result.Resources.Add() = _resourcesItem__; }
228
+ _resources_->Release();
229
+ }
230
+ result.AuxMetadata.Set(true);
231
+
232
+ if (_auxMetadata_ != nullptr) {
233
+ Exchange::IPackageManager::KeyValue _auxmetadataItem__{};
234
+ while (_auxMetadata_->Next(_auxmetadataItem__) == true) { result.AuxMetadata.Add() = _auxmetadataItem__; }
235
+ _auxMetadata_->Release();
236
+ }
192
237
  }
193
238
  }
194
239
 
195
- return (_errorCode);
240
+ return (_errorCode__);
196
241
  });
197
242
 
198
243
  // Method: 'cancel' - Cancel asynchronous request
199
- _module_.Register<JsonData::PackageManager::CancelParamsInfo, void>(_T("cancel"),
200
- [_impl_](const JsonData::PackageManager::CancelParamsInfo& params) -> uint32_t {
201
- uint32_t _errorCode = Core::ERROR_NONE;
244
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::CancelParamsInfo, void>(_T("cancel"),
245
+ [_implementation__](const JsonData::PackageManager::CancelParamsInfo& params) -> uint32_t {
246
+ uint32_t _errorCode__ = Core::ERROR_NONE;
202
247
 
203
- const string _handle{params.Handle};
248
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
249
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
250
+ }
251
+ else {
252
+ const string _handle_{params.Handle};
253
+
254
+ _errorCode__ = _implementation__->Cancel(_handle_);
204
255
 
205
- _errorCode = _impl_->Cancel(_handle);
256
+ }
206
257
 
207
- return (_errorCode);
258
+ return (_errorCode__);
208
259
  });
209
260
 
210
261
  // Method: 'getprogress' - Estimated progress of a request
211
- _module_.Register<JsonData::PackageManager::CancelParamsInfo, Core::JSON::DecUInt32>(_T("getprogress"),
212
- [_impl_](const JsonData::PackageManager::CancelParamsInfo& params, Core::JSON::DecUInt32& progress) -> uint32_t {
213
- uint32_t _errorCode = Core::ERROR_NONE;
262
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::CancelParamsInfo, Core::JSON::DecUInt32>(_T("getprogress"),
263
+ [_implementation__](const JsonData::PackageManager::CancelParamsInfo& params, Core::JSON::DecUInt32& progress) -> uint32_t {
264
+ uint32_t _errorCode__ = Core::ERROR_NONE;
214
265
 
215
- const string _handle{params.Handle};
216
- uint32_t _progress{};
266
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
267
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
268
+ }
269
+ else {
270
+ const string _handle_{params.Handle};
271
+ uint32_t _progress_{};
217
272
 
218
- _errorCode = _impl_->GetProgress(_handle, _progress);
273
+ _errorCode__ = _implementation__->GetProgress(_handle_, _progress_);
219
274
 
220
- if (_errorCode == Core::ERROR_NONE) {
221
- progress = _progress;
275
+ if (_errorCode__ == Core::ERROR_NONE) {
276
+ progress = _progress_;
277
+ }
222
278
  }
223
279
 
224
- return (_errorCode);
280
+ return (_errorCode__);
225
281
  });
226
282
 
227
283
  // Method: 'getlist' - List installed applications
228
- _module_.Register<JsonData::PackageManager::GetListParamsData, Core::JSON::ArrayType<JsonData::PackageManager::PackageKeyData>>(_T("getlist"),
229
- [_impl_](const JsonData::PackageManager::GetListParamsData& params,
230
- Core::JSON::ArrayType<JsonData::PackageManager::PackageKeyData>& installedIds) -> uint32_t {
231
- uint32_t _errorCode = Core::ERROR_NONE;
232
-
233
- const string _type{params.Type};
234
- const string _id{params.Id};
235
- const string _version{params.Version};
236
- const string _appName{params.AppName};
237
- const string _category{params.Category};
238
- ::WPEFramework::RPC::IIteratorType<IPackageManager::PackageKey, ID_PACKAGEMANAGER_PACKAGE_KEY_ITERATOR>* _installedIds{};
239
-
240
- _errorCode = _impl_->GetList(_type, _id, _version, _appName, _category, _installedIds);
241
-
242
- if (_errorCode == Core::ERROR_NONE) {
243
-
244
- if (_installedIds != nullptr) {
245
- Exchange::IPackageManager::PackageKey _resultItem_{};
246
- while (_installedIds->Next(_resultItem_) == true) { installedIds.Add() = _resultItem_; }
247
- _installedIds->Release();
284
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::GetListParamsData, Core::JSON::ArrayType<JsonData::PackageManager::PackageKeyData>>(_T("getlist"),
285
+ [_implementation__](const JsonData::PackageManager::GetListParamsData& params, Core::JSON::ArrayType<JsonData::PackageManager::PackageKeyData>& installedIds) -> uint32_t {
286
+ uint32_t _errorCode__ = Core::ERROR_NONE;
287
+
288
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
289
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
290
+ }
291
+ else {
292
+ const string _type_{params.Type};
293
+ const string _id_{params.Id};
294
+ const string _version_{params.Version};
295
+ const string _appName_{params.AppName};
296
+ const string _category_{params.Category};
297
+ ::WPEFramework::RPC::IIteratorType<IPackageManager::PackageKey, ID_PACKAGEMANAGER_PACKAGE_KEY_ITERATOR>* _installedIds_{};
298
+
299
+ _errorCode__ = _implementation__->GetList(_type_, _id_, _version_, _appName_, _category_, _installedIds_);
300
+
301
+ if (_errorCode__ == Core::ERROR_NONE) {
302
+ installedIds.Set(true);
303
+
304
+ if (_installedIds_ != nullptr) {
305
+ Exchange::IPackageManager::PackageKey _resultItem__{};
306
+ while (_installedIds_->Next(_resultItem__) == true) { installedIds.Add() = _resultItem__; }
307
+ _installedIds_->Release();
308
+ }
248
309
  }
249
310
  }
250
311
 
251
- return (_errorCode);
312
+ return (_errorCode__);
252
313
  });
253
314
 
254
315
  // Method: 'lock' - Lock the application
255
- _module_.Register<JsonData::PackageManager::LockParamsData, Core::JSON::String>(_T("lock"),
256
- [_impl_](const JsonData::PackageManager::LockParamsData& params, Core::JSON::String& handle) -> uint32_t {
257
- uint32_t _errorCode = Core::ERROR_NONE;
258
-
259
- const string _type{params.Type};
260
- const string _id{params.Id};
261
- const string _version{params.Version};
262
- const string _reason{params.Reason};
263
- const string _owner{params.Owner};
264
- string _handle{};
316
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::LockParamsData, Core::JSON::String>(_T("lock"),
317
+ [_implementation__](const JsonData::PackageManager::LockParamsData& params, Core::JSON::String& handle) -> uint32_t {
318
+ uint32_t _errorCode__ = Core::ERROR_NONE;
265
319
 
266
- _errorCode = _impl_->Lock(_type, _id, _version, _reason, _owner, _handle);
267
-
268
- if (_errorCode == Core::ERROR_NONE) {
269
- handle = _handle;
320
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
321
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
322
+ }
323
+ else {
324
+ const string _type_{params.Type};
325
+ const string _id_{params.Id};
326
+ const string _version_{params.Version};
327
+ const string _reason_{params.Reason};
328
+ const string _owner_{params.Owner};
329
+ string _handle_{};
330
+
331
+ _errorCode__ = _implementation__->Lock(_type_, _id_, _version_, _reason_, _owner_, _handle_);
332
+
333
+ if (_errorCode__ == Core::ERROR_NONE) {
334
+ handle = _handle_;
335
+ }
270
336
  }
271
337
 
272
- return (_errorCode);
338
+ return (_errorCode__);
273
339
  });
274
340
 
275
341
  // Method: 'unlock' - Unlock application
276
- _module_.Register<JsonData::PackageManager::CancelParamsInfo, void>(_T("unlock"),
277
- [_impl_](const JsonData::PackageManager::CancelParamsInfo& params) -> uint32_t {
278
- uint32_t _errorCode = Core::ERROR_NONE;
342
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::CancelParamsInfo, void>(_T("unlock"),
343
+ [_implementation__](const JsonData::PackageManager::CancelParamsInfo& params) -> uint32_t {
344
+ uint32_t _errorCode__ = Core::ERROR_NONE;
345
+
346
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
347
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
348
+ }
349
+ else {
350
+ const string _handle_{params.Handle};
279
351
 
280
- const string _handle{params.Handle};
352
+ _errorCode__ = _implementation__->Unlock(_handle_);
281
353
 
282
- _errorCode = _impl_->Unlock(_handle);
354
+ }
283
355
 
284
- return (_errorCode);
356
+ return (_errorCode__);
285
357
  });
286
358
 
287
359
  // Method: 'getlockinfo' - Get lock info
288
- _module_.Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::LockInfoData>(_T("getlockinfo"),
289
- [_impl_](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params, JsonData::PackageManager::LockInfoData& result) -> uint32_t {
290
- uint32_t _errorCode = Core::ERROR_NONE;
360
+ _module__.PluginHost::JSONRPC::Register<JsonData::PackageManager::GetStorageDetailsParamsInfo, JsonData::PackageManager::LockInfoData>(_T("getlockinfo"),
361
+ [_implementation__](const JsonData::PackageManager::GetStorageDetailsParamsInfo& params, JsonData::PackageManager::LockInfoData& result) -> uint32_t {
362
+ uint32_t _errorCode__ = Core::ERROR_NONE;
291
363
 
292
- const string _type{params.Type};
293
- const string _id{params.Id};
294
- const string _version{params.Version};
295
- Exchange::IPackageManager::LockInfo _result{};
364
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
365
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
366
+ }
367
+ else {
368
+ const string _type_{params.Type};
369
+ const string _id_{params.Id};
370
+ const string _version_{params.Version};
371
+ Exchange::IPackageManager::LockInfo _result_{};
296
372
 
297
- _errorCode = _impl_->GetLockInfo(_type, _id, _version, _result);
373
+ _errorCode__ = _implementation__->GetLockInfo(_type_, _id_, _version_, _result_);
298
374
 
299
- if (_errorCode == Core::ERROR_NONE) {
300
- result = _result;
375
+ if (_errorCode__ == Core::ERROR_NONE) {
376
+ result.Set(true);
377
+ result = _result_;
378
+ }
301
379
  }
302
380
 
303
- return (_errorCode);
381
+ return (_errorCode__);
304
382
  });
305
383
 
306
384
  }
307
385
 
308
- static void Unregister(JSONRPC& _module_)
386
+ template<typename MODULE>
387
+ static void Unregister(MODULE& _module__)
309
388
  {
310
389
  // Unregister methods and properties...
311
- _module_.Unregister(_T("install"));
312
- _module_.Unregister(_T("uninstall"));
313
- _module_.Unregister(_T("download"));
314
- _module_.Unregister(_T("reset"));
315
- _module_.Unregister(_T("getstoragedetails"));
316
- _module_.Unregister(_T("setauxmetadata"));
317
- _module_.Unregister(_T("clearauxmetadata"));
318
- _module_.Unregister(_T("getmetadata"));
319
- _module_.Unregister(_T("cancel"));
320
- _module_.Unregister(_T("getprogress"));
321
- _module_.Unregister(_T("getlist"));
322
- _module_.Unregister(_T("lock"));
323
- _module_.Unregister(_T("unlock"));
324
- _module_.Unregister(_T("getlockinfo"));
390
+ _module__.PluginHost::JSONRPC::Unregister(_T("install"));
391
+ _module__.PluginHost::JSONRPC::Unregister(_T("uninstall"));
392
+ _module__.PluginHost::JSONRPC::Unregister(_T("download"));
393
+ _module__.PluginHost::JSONRPC::Unregister(_T("reset"));
394
+ _module__.PluginHost::JSONRPC::Unregister(_T("getstoragedetails"));
395
+ _module__.PluginHost::JSONRPC::Unregister(_T("setauxmetadata"));
396
+ _module__.PluginHost::JSONRPC::Unregister(_T("clearauxmetadata"));
397
+ _module__.PluginHost::JSONRPC::Unregister(_T("getmetadata"));
398
+ _module__.PluginHost::JSONRPC::Unregister(_T("cancel"));
399
+ _module__.PluginHost::JSONRPC::Unregister(_T("getprogress"));
400
+ _module__.PluginHost::JSONRPC::Unregister(_T("getlist"));
401
+ _module__.PluginHost::JSONRPC::Unregister(_T("lock"));
402
+ _module__.PluginHost::JSONRPC::Unregister(_T("unlock"));
403
+ _module__.PluginHost::JSONRPC::Unregister(_T("getlockinfo"));
325
404
  }
326
405
 
327
406
  namespace Event {
328
407
 
329
408
  // Event: 'operationstatus' - Completion of asynchronous operation
330
- static void OperationStatus(const JSONRPC& _module_, const JsonData::PackageManager::OperationStatusParamsData& params)
409
+ template<typename MODULE>
410
+ static void OperationStatus(const MODULE& module_, const JsonData::PackageManager::OperationStatusParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
331
411
  {
332
- _module_.Notify(_T("operationstatus"), params);
412
+ module_.Notify(_T("operationstatus"), params, sendIfMethod_);
333
413
  }
334
414
 
335
415
  // Event: 'operationstatus' - Completion of asynchronous operation
336
- static void OperationStatus(const JSONRPC& _module_, const Core::JSON::String& handle, const Core::JSON::String& operation,
337
- const Core::JSON::String& type, const Core::JSON::String& id, const Core::JSON::String& version, const Core::JSON::String& status,
338
- const Core::JSON::String& details)
416
+ template<typename MODULE>
417
+ static void OperationStatus(const MODULE& module_, const Core::JSON::String& handle, const Core::JSON::String& operation, const Core::JSON::String& type, const Core::JSON::String& id, const Core::JSON::String& version, const Core::JSON::String& status, const Core::JSON::String& details, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
339
418
  {
340
- JsonData::PackageManager::OperationStatusParamsData _params_;
341
- _params_.Handle = handle;
342
- _params_.Operation = operation;
343
- _params_.Type = type;
344
- _params_.Id = id;
345
- _params_.Version = version;
346
- _params_.Status = status;
347
- _params_.Details = details;
348
-
349
- OperationStatus(_module_, _params_);
419
+ JsonData::PackageManager::OperationStatusParamsData params_;
420
+ params_.Handle = handle;
421
+ params_.Operation = operation;
422
+ params_.Type = type;
423
+ params_.Id = id;
424
+ params_.Version = version;
425
+ params_.Status = status;
426
+ params_.Details = details;
427
+
428
+ OperationStatus(module_, params_, sendIfMethod_);
350
429
  }
351
430
 
352
431
  // Event: 'operationstatus' - Completion of asynchronous operation
353
- static void OperationStatus(const JSONRPC& _module_, const string& handle, const string& operation, const string& type, const string& id,
354
- const string& version, const string& status, const string& details)
432
+ template<typename MODULE>
433
+ static void OperationStatus(const MODULE& module_, const string& handle, const string& operation, const string& type, const string& id, const string& version, const string& status, const string& details, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
355
434
  {
356
- JsonData::PackageManager::OperationStatusParamsData _params_;
357
- _params_.Handle = handle;
358
- _params_.Operation = operation;
359
- _params_.Type = type;
360
- _params_.Id = id;
361
- _params_.Version = version;
362
- _params_.Status = status;
363
- _params_.Details = details;
364
-
365
- OperationStatus(_module_, _params_);
435
+ JsonData::PackageManager::OperationStatusParamsData params_;
436
+ params_.Handle = handle;
437
+ params_.Operation = operation;
438
+ params_.Type = type;
439
+ params_.Id = id;
440
+ params_.Version = version;
441
+ params_.Status = status;
442
+ params_.Details = details;
443
+
444
+ OperationStatus(module_, params_, sendIfMethod_);
366
445
  }
367
446
 
368
447
  } // namespace Event
369
448
 
370
449
  POP_WARNING()
450
+ POP_WARNING()
451
+ POP_WARNING()
371
452
 
372
453
  } // namespace JPackageManager
373
454
 
374
455
  } // namespace Exchange
375
456
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPackager.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Packager.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Packager.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JPackager
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPerformanceMonitor.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'PerformanceMonitor.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_PerformanceMonitor.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JPerformanceMonitor
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPersistentStore.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'PersistentStore.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_PersistentStore.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JPersistentStore
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPlayerInfo.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'PlayerInfo.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_PlayerInfo.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JPlayerInfo
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPlayerProperties.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IPlayerInfo.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_PlayerProperties.h"
7
6
  #include <interfaces/IPlayerInfo.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,112 +17,114 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IPlayerProperties* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IPlayerProperties* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JPlayerProperties"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JPlayerProperties"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'audiocodecs' (r/o)
36
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::AudioCodec>>>(_T("audiocodecs"),
37
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::AudioCodec>>& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::AudioCodec>>>(_T("audiocodecs"),
37
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::AudioCodec>>& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- // read-only property get
41
- ::WPEFramework::RPC::IIteratorType<IPlayerProperties::AudioCodec, ID_PLAYER_PROPERTIES_AUDIO>* _result{};
40
+ ::WPEFramework::RPC::IIteratorType<IPlayerProperties::AudioCodec, ID_PLAYER_PROPERTIES_AUDIO>* _result_{};
42
41
 
43
- _errorCode = _impl_->AudioCodecs(_result);
42
+ _errorCode__ = _implementation__->AudioCodecs(_result_);
44
43
 
45
- if (_errorCode == Core::ERROR_NONE) {
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result.Set(true);
46
46
 
47
- if (_result != nullptr) {
48
- Exchange::IPlayerProperties::AudioCodec _resultItem_{};
49
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
50
- _result->Release();
47
+ if (_result_ != nullptr) {
48
+ Exchange::IPlayerProperties::AudioCodec _resultItem__{};
49
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
50
+ _result_->Release();
51
51
  }
52
52
  }
53
53
 
54
- return (_errorCode);
54
+ return (_errorCode__);
55
55
  });
56
56
 
57
57
  // Property: 'videocodecs' (r/o)
58
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::VideoCodec>>>(_T("videocodecs"),
59
- [_impl_](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::VideoCodec>>& result) -> uint32_t {
60
- uint32_t _errorCode = Core::ERROR_NONE;
58
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::VideoCodec>>>(_T("videocodecs"),
59
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::EnumType<Exchange::IPlayerProperties::VideoCodec>>& result) -> uint32_t {
60
+ uint32_t _errorCode__ = Core::ERROR_NONE;
61
61
 
62
- // read-only property get
63
- ::WPEFramework::RPC::IIteratorType<IPlayerProperties::VideoCodec, ID_PLAYER_PROPERTIES_VIDEO>* _result{};
62
+ ::WPEFramework::RPC::IIteratorType<IPlayerProperties::VideoCodec, ID_PLAYER_PROPERTIES_VIDEO>* _result_{};
64
63
 
65
- _errorCode = _impl_->VideoCodecs(_result);
64
+ _errorCode__ = _implementation__->VideoCodecs(_result_);
66
65
 
67
- if (_errorCode == Core::ERROR_NONE) {
66
+ if (_errorCode__ == Core::ERROR_NONE) {
67
+ result.Set(true);
68
68
 
69
- if (_result != nullptr) {
70
- Exchange::IPlayerProperties::VideoCodec _resultItem_{};
71
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
72
- _result->Release();
69
+ if (_result_ != nullptr) {
70
+ Exchange::IPlayerProperties::VideoCodec _resultItem__{};
71
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
72
+ _result_->Release();
73
73
  }
74
74
  }
75
75
 
76
- return (_errorCode);
76
+ return (_errorCode__);
77
77
  });
78
78
 
79
79
  // Property: 'resolution' - Current Video playback resolution (r/o)
80
- _module_.Register<void, Core::JSON::EnumType<Exchange::IPlayerProperties::PlaybackResolution>>(_T("resolution"),
81
- [_impl_](Core::JSON::EnumType<Exchange::IPlayerProperties::PlaybackResolution>& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
80
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::EnumType<Exchange::IPlayerProperties::PlaybackResolution>>(_T("resolution"),
81
+ [_implementation__](Core::JSON::EnumType<Exchange::IPlayerProperties::PlaybackResolution>& result) -> uint32_t {
82
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
83
 
84
- // read-only property get
85
- Exchange::IPlayerProperties::PlaybackResolution _result{};
84
+ Exchange::IPlayerProperties::PlaybackResolution _result_{};
86
85
 
87
- _errorCode = _impl_->Resolution(_result);
86
+ _errorCode__ = _implementation__->Resolution(_result_);
88
87
 
89
- if (_errorCode == Core::ERROR_NONE) {
90
- result = _result;
88
+ if (_errorCode__ == Core::ERROR_NONE) {
89
+ result = _result_;
91
90
  }
92
91
 
93
- return (_errorCode);
92
+ return (_errorCode__);
94
93
  });
95
94
 
96
95
  // Property: 'isaudioequivalenceenabled' - Checks Loudness Equivalence in platform (r/o)
97
- _module_.Register<void, Core::JSON::Boolean>(_T("isaudioequivalenceenabled"),
98
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
99
- uint32_t _errorCode = Core::ERROR_NONE;
96
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("isaudioequivalenceenabled"),
97
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
98
+ uint32_t _errorCode__ = Core::ERROR_NONE;
100
99
 
101
- // read-only property get
102
- bool _result{};
100
+ bool _result_{};
103
101
 
104
- _errorCode = _impl_->IsAudioEquivalenceEnabled(_result);
102
+ _errorCode__ = _implementation__->IsAudioEquivalenceEnabled(_result_);
105
103
 
106
- if (_errorCode == Core::ERROR_NONE) {
107
- result = _result;
104
+ if (_errorCode__ == Core::ERROR_NONE) {
105
+ result = _result_;
108
106
  }
109
107
 
110
- return (_errorCode);
108
+ return (_errorCode__);
111
109
  });
112
110
 
113
111
  }
114
112
 
115
- static void Unregister(JSONRPC& _module_)
113
+ template<typename MODULE>
114
+ static void Unregister(MODULE& _module__)
116
115
  {
117
116
  // Unregister methods and properties...
118
- _module_.Unregister(_T("audiocodecs"));
119
- _module_.Unregister(_T("videocodecs"));
120
- _module_.Unregister(_T("resolution"));
121
- _module_.Unregister(_T("isaudioequivalenceenabled"));
117
+ _module__.PluginHost::JSONRPC::Unregister(_T("audiocodecs"));
118
+ _module__.PluginHost::JSONRPC::Unregister(_T("videocodecs"));
119
+ _module__.PluginHost::JSONRPC::Unregister(_T("resolution"));
120
+ _module__.PluginHost::JSONRPC::Unregister(_T("isaudioequivalenceenabled"));
122
121
  }
123
122
 
124
123
  POP_WARNING()
124
+ POP_WARNING()
125
+ POP_WARNING()
125
126
 
126
127
  } // namespace JPlayerProperties
127
128
 
128
129
  } // namespace Exchange
129
130
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JPower.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Power.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Power.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JPower
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JProvisioning.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Provisioning.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Provisioning.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JProvisioning
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JRemoteControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'RemoteControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_RemoteControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JRemoteControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JScriptEngine.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IScriptEngine.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_ScriptEngine.h"
7
6
  #include <interfaces/IScriptEngine.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,85 +17,98 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IScriptEngine* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IScriptEngine* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JScriptEngine"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JScriptEngine"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'url' - Script to be loaded into the engine and to be executed
36
- _module_.Register<JsonData::ScriptEngine::URLData, Core::JSON::String>(_T("url"),
37
- [_impl_](const JsonData::ScriptEngine::URLData& params, Core::JSON::String& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::ScriptEngine::URLData, Core::JSON::String>(_T("url"),
37
+ [_implementation__](const JsonData::ScriptEngine::URLData& params, Core::JSON::String& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
40
  if (params.IsSet() == false) {
41
- // property get
42
- string _result{};
41
+ string _result_{};
43
42
 
44
- _errorCode = (static_cast<const IScriptEngine*>(_impl_))->URL(_result);
43
+ _errorCode__ = (static_cast<const IScriptEngine*>(_implementation__))->URL(_result_);
45
44
 
46
- if (_errorCode == Core::ERROR_NONE) {
47
- result = _result;
45
+ if (_errorCode__ == Core::ERROR_NONE) {
46
+ result = _result_;
48
47
  }
48
+ }
49
+ else {
49
50
 
50
- } else {
51
- // property set
52
- const string _value{params.Value};
51
+ if (params.IsDataValid() == false) {
52
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
53
+ }
54
+ else {
55
+ const string _value_{params.Value};
53
56
 
54
- _errorCode = _impl_->URL(_value);
57
+ _errorCode__ = _implementation__->URL(_value_);
58
+
59
+ }
55
60
 
56
61
  result.Null(true);
57
62
  }
58
- return (_errorCode);
63
+
64
+ return (_errorCode__);
59
65
  });
60
66
 
61
67
  }
62
68
 
63
- static void Unregister(JSONRPC& _module_)
69
+ template<typename MODULE>
70
+ static void Unregister(MODULE& _module__)
64
71
  {
65
72
  // Unregister methods and properties...
66
- _module_.Unregister(_T("url"));
73
+ _module__.PluginHost::JSONRPC::Unregister(_T("url"));
67
74
  }
68
75
 
69
76
  namespace Event {
70
77
 
71
78
  // Event: 'urlchanged'
72
- static void URLChanged(const JSONRPC& _module_, const JsonData::ScriptEngine::URLChangedParamsData& params)
79
+ template<typename MODULE>
80
+ static void URLChanged(const MODULE& module_, const JsonData::ScriptEngine::URLChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
73
81
  {
74
- _module_.Notify(_T("urlchanged"), params);
82
+ module_.Notify(_T("urlchanged"), params, sendIfMethod_);
75
83
  }
76
84
 
77
85
  // Event: 'urlchanged'
78
- static void URLChanged(const JSONRPC& _module_, const Core::JSON::String& URL)
86
+ template<typename MODULE>
87
+ static void URLChanged(const MODULE& module_, const Core::JSON::String& URL, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
79
88
  {
80
- JsonData::ScriptEngine::URLChangedParamsData _params_;
81
- _params_.URL = URL;
89
+ JsonData::ScriptEngine::URLChangedParamsData params_;
90
+ params_.URL = URL;
82
91
 
83
- URLChanged(_module_, _params_);
92
+ URLChanged(module_, params_, sendIfMethod_);
84
93
  }
85
94
 
86
95
  // Event: 'urlchanged'
87
- static void URLChanged(const JSONRPC& _module_, const string& URL)
96
+ template<typename MODULE>
97
+ static void URLChanged(const MODULE& module_, const string& URL, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
88
98
  {
89
- JsonData::ScriptEngine::URLChangedParamsData _params_;
90
- _params_.URL = URL;
99
+ JsonData::ScriptEngine::URLChangedParamsData params_;
100
+ params_.URL = URL;
91
101
 
92
- URLChanged(_module_, _params_);
102
+ URLChanged(module_, params_, sendIfMethod_);
93
103
  }
94
104
 
95
105
  } // namespace Event
96
106
 
97
107
  POP_WARNING()
108
+ POP_WARNING()
109
+ POP_WARNING()
98
110
 
99
111
  } // namespace JScriptEngine
100
112
 
101
113
  } // namespace Exchange
102
114
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSecureShellServer.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'SecureShellServer.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_SecureShellServer.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JSecureShellServer
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSecurityAgent.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'SecurityAgent.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_SecurityAgent.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JSecurityAgent
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSpark.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Spark.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
 
7
6
  namespace WPEFramework {
8
7
 
9
8
  namespace Exchange {
@@ -15,10 +14,11 @@ namespace Exchange {
15
14
  constexpr uint8_t Major = 1;
16
15
  constexpr uint8_t Minor = 0;
17
16
  constexpr uint8_t Patch = 0;
18
17
 
19
18
  } // namespace Version
19
+
20
20
  } // namespace JSpark
21
21
 
22
22
  } // namespace Exchange
23
23
 
24
24
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JStateControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'StateControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_StateControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JStateControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JStreamer.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'Streamer.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_Streamer.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JStreamer
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSubsystemControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'SubsystemControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_SubsystemControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JSubsystemControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JSystemCommands.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'SystemCommands.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_SystemCommands.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JSystemCommands
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTestController.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'TestController.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_TestController.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JTestController
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTestUtility.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'TestUtility.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_TestUtility.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JTestUtility
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTimeSync.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'TimeSync.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_TimeSync.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JTimeSync
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTimeZone.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'ITimeZone.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include <interfaces/ITimeZone.h>
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -17,76 +16,81 @@ namespace Exchange {
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
21
20
 
22
- using JSONRPC = PluginHost::JSONRPC;
23
-
24
21
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
22
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
23
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
25
24
 
26
- static void Register(JSONRPC& _module_, ITimeZone* _impl_)
25
+ template<typename MODULE>
26
+ static void Register(MODULE& _module__, ITimeZone* _implementation__)
27
27
  {
28
- ASSERT(_impl_ != nullptr);
28
+ ASSERT(_implementation__ != nullptr);
29
29
 
30
- _module_.RegisterVersion(_T("JTimeZone"), Version::Major, Version::Minor, Version::Patch);
30
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JTimeZone"), Version::Major, Version::Minor, Version::Patch);
31
31
 
32
32
  // Register methods and properties...
33
33
 
34
34
  // Property: 'timezone' - TimeZone for system
35
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("timezone"),
36
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
37
- uint32_t _errorCode = Core::ERROR_NONE;
35
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("timezone"),
36
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
37
+ uint32_t _errorCode__ = Core::ERROR_NONE;
38
38
 
39
39
  if (params.IsSet() == false) {
40
- // property get
41
- string _result{};
40
+ string _result_{};
42
41
 
43
- _errorCode = (static_cast<const ITimeZone*>(_impl_))->TimeZone(_result);
42
+ _errorCode__ = (static_cast<const ITimeZone*>(_implementation__))->TimeZone(_result_);
44
43
 
45
- if (_errorCode == Core::ERROR_NONE) {
46
- result = _result;
44
+ if (_errorCode__ == Core::ERROR_NONE) {
45
+ result = _result_;
47
46
  }
47
+ }
48
+ else {
49
+ const string _params_{params};
48
50
 
49
- } else {
50
- // property set
51
- const string _params{params};
52
-
53
- _errorCode = _impl_->TimeZone(_params);
51
+ _errorCode__ = _implementation__->TimeZone(_params_);
54
52
 
55
53
  result.Null(true);
56
54
  }
57
- return (_errorCode);
55
+
56
+ return (_errorCode__);
58
57
  });
59
58
 
60
59
  }
61
60
 
62
- static void Unregister(JSONRPC& _module_)
61
+ template<typename MODULE>
62
+ static void Unregister(MODULE& _module__)
63
63
  {
64
64
  // Unregister methods and properties...
65
- _module_.Unregister(_T("timezone"));
65
+ _module__.PluginHost::JSONRPC::Unregister(_T("timezone"));
66
66
  }
67
67
 
68
68
  namespace Event {
69
69
 
70
70
  // Event: 'timezonechanged' - TimeZone was set for the system
71
- static void TimeZoneChanged(const JSONRPC& _module_, const Core::JSON::String& timeZone)
71
+ template<typename MODULE>
72
+ static void TimeZoneChanged(const MODULE& module_, const Core::JSON::String& timeZone, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
72
73
  {
73
- _module_.Notify(_T("timezonechanged"), timeZone);
74
+ module_.Notify(_T("timezonechanged"), timeZone, sendIfMethod_);
74
75
  }
75
76
 
76
77
  // Event: 'timezonechanged' - TimeZone was set for the system
77
- static void TimeZoneChanged(const JSONRPC& _module_, const string& timeZone)
78
+ template<typename MODULE>
79
+ static void TimeZoneChanged(const MODULE& module_, const string& timeZone, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
78
80
  {
79
- Core::JSON::String _params_;
80
- _params_ = timeZone;
81
+ Core::JSON::String params_;
82
+ params_ = timeZone;
81
83
 
82
- TimeZoneChanged(_module_, _params_);
84
+ TimeZoneChanged(module_, params_, sendIfMethod_);
83
85
  }
84
86
 
85
87
  } // namespace Event
86
88
 
87
89
  POP_WARNING()
90
+ POP_WARNING()
91
+ POP_WARNING()
88
92
 
89
93
  } // namespace JTimeZone
90
94
 
91
95
  } // namespace Exchange
92
96
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JTraceControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'TraceControl.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_TraceControl.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JTraceControl
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JUserSettings.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IUserSettings.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_UserSettings.h"
7
6
  #include <interfaces/IUserSettings.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,430 +17,479 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IUserSettings* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IUserSettings* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JUserSettings"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JUserSettings"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'setaudiodescription' - Sets AudioDescription ON/OFF (w/o)
36
- _module_.Register<JsonData::UserSettings::SetAudioDescriptionInfo, void>(_T("setaudiodescription"),
37
- [_impl_](const JsonData::UserSettings::SetAudioDescriptionInfo& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetAudioDescriptionInfo, void>(_T("setaudiodescription"),
37
+ [_implementation__](const JsonData::UserSettings::SetAudioDescriptionInfo& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- // write-only property set
41
- const bool _value{params.Value};
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const bool _value_{params.Value};
42
45
 
43
- _errorCode = _impl_->SetAudioDescription(_value);
46
+ _errorCode__ = _implementation__->SetAudioDescription(_value_);
44
47
 
45
- return (_errorCode);
48
+ }
49
+
50
+ return (_errorCode__);
46
51
  });
47
52
 
48
53
  // Property: 'getaudiodescription' - Gets the current AudioDescription setting (r/o)
49
- _module_.Register<void, Core::JSON::Boolean>(_T("getaudiodescription"),
50
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
51
- uint32_t _errorCode = Core::ERROR_NONE;
54
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("getaudiodescription"),
55
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
56
+ uint32_t _errorCode__ = Core::ERROR_NONE;
52
57
 
53
- // read-only property get
54
- bool _result{};
58
+ bool _result_{};
55
59
 
56
- _errorCode = _impl_->GetAudioDescription(_result);
60
+ _errorCode__ = _implementation__->GetAudioDescription(_result_);
57
61
 
58
- if (_errorCode == Core::ERROR_NONE) {
59
- result = _result;
62
+ if (_errorCode__ == Core::ERROR_NONE) {
63
+ result = _result_;
60
64
  }
61
65
 
62
- return (_errorCode);
66
+ return (_errorCode__);
63
67
  });
64
68
 
65
- // Property: 'setpreferredaudiolanguages' - A prioritized list of ISO 639-2/B codes for the preferred audio languages,
66
- // expressed as a comma separated lists of languages of zero of more elements (w/o)
67
- _module_.Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredaudiolanguages"),
68
- [_impl_](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
69
- uint32_t _errorCode = Core::ERROR_NONE;
69
+ // Property: 'setpreferredaudiolanguages' - A prioritized list of ISO 639-2/B codes for the preferred audio languages, expressed as a comma separated lists of languages of zero of more elements (w/o)
70
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredaudiolanguages"),
71
+ [_implementation__](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
72
+ uint32_t _errorCode__ = Core::ERROR_NONE;
70
73
 
71
- // write-only property set
72
- const string _value{params.Value};
74
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
75
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
76
+ }
77
+ else {
78
+ const string _value_{params.Value};
73
79
 
74
- _errorCode = _impl_->SetPreferredAudioLanguages(_value);
80
+ _errorCode__ = _implementation__->SetPreferredAudioLanguages(_value_);
75
81
 
76
- return (_errorCode);
82
+ }
83
+
84
+ return (_errorCode__);
77
85
  });
78
86
 
79
87
  // Property: 'getpreferredaudiolanguages' - Gets the current PreferredAudioLanguages setting (r/o)
80
- _module_.Register<void, Core::JSON::String>(_T("getpreferredaudiolanguages"),
81
- [_impl_](Core::JSON::String& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
88
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("getpreferredaudiolanguages"),
89
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
90
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
91
 
84
- // read-only property get
85
- string _result{};
92
+ string _result_{};
86
93
 
87
- _errorCode = _impl_->GetPreferredAudioLanguages(_result);
94
+ _errorCode__ = _implementation__->GetPreferredAudioLanguages(_result_);
88
95
 
89
- if (_errorCode == Core::ERROR_NONE) {
90
- result = _result;
96
+ if (_errorCode__ == Core::ERROR_NONE) {
97
+ result = _result_;
91
98
  }
92
99
 
93
- return (_errorCode);
100
+ return (_errorCode__);
94
101
  });
95
102
 
96
103
  // Property: 'setpresentationlanguage' - Sets the presentationLanguages in a full BCP 47 value, including script, region, variant (w/o)
97
- _module_.Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpresentationlanguage"),
98
- [_impl_](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
99
- uint32_t _errorCode = Core::ERROR_NONE;
104
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpresentationlanguage"),
105
+ [_implementation__](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
106
+ uint32_t _errorCode__ = Core::ERROR_NONE;
107
+
108
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
109
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
110
+ }
111
+ else {
112
+ const string _value_{params.Value};
100
113
 
101
- // write-only property set
102
- const string _value{params.Value};
114
+ _errorCode__ = _implementation__->SetPresentationLanguage(_value_);
103
115
 
104
- _errorCode = _impl_->SetPresentationLanguage(_value);
116
+ }
105
117
 
106
- return (_errorCode);
118
+ return (_errorCode__);
107
119
  });
108
120
 
109
121
  // Property: 'getpresentationlanguage' - Gets the presentationLanguages (r/o)
110
- _module_.Register<void, Core::JSON::String>(_T("getpresentationlanguage"),
111
- [_impl_](Core::JSON::String& result) -> uint32_t {
112
- uint32_t _errorCode = Core::ERROR_NONE;
122
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("getpresentationlanguage"),
123
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
124
+ uint32_t _errorCode__ = Core::ERROR_NONE;
113
125
 
114
- // read-only property get
115
- string _result{};
126
+ string _result_{};
116
127
 
117
- _errorCode = _impl_->GetPresentationLanguage(_result);
128
+ _errorCode__ = _implementation__->GetPresentationLanguage(_result_);
118
129
 
119
- if (_errorCode == Core::ERROR_NONE) {
120
- result = _result;
130
+ if (_errorCode__ == Core::ERROR_NONE) {
131
+ result = _result_;
121
132
  }
122
133
 
123
- return (_errorCode);
134
+ return (_errorCode__);
124
135
  });
125
136
 
126
137
  // Property: 'setcaptions' - brief Sets Captions ON/OFF (w/o)
127
- _module_.Register<JsonData::UserSettings::SetAudioDescriptionInfo, void>(_T("setcaptions"),
128
- [_impl_](const JsonData::UserSettings::SetAudioDescriptionInfo& params) -> uint32_t {
129
- uint32_t _errorCode = Core::ERROR_NONE;
138
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetAudioDescriptionInfo, void>(_T("setcaptions"),
139
+ [_implementation__](const JsonData::UserSettings::SetAudioDescriptionInfo& params) -> uint32_t {
140
+ uint32_t _errorCode__ = Core::ERROR_NONE;
130
141
 
131
- // write-only property set
132
- const bool _value{params.Value};
142
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
143
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
144
+ }
145
+ else {
146
+ const bool _value_{params.Value};
133
147
 
134
- _errorCode = _impl_->SetCaptions(_value);
148
+ _errorCode__ = _implementation__->SetCaptions(_value_);
135
149
 
136
- return (_errorCode);
150
+ }
151
+
152
+ return (_errorCode__);
137
153
  });
138
154
 
139
155
  // Property: 'getcaptions' - Gets the Captions setting (r/o)
140
- _module_.Register<void, Core::JSON::Boolean>(_T("getcaptions"),
141
- [_impl_](Core::JSON::Boolean& result) -> uint32_t {
142
- uint32_t _errorCode = Core::ERROR_NONE;
156
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::Boolean>(_T("getcaptions"),
157
+ [_implementation__](Core::JSON::Boolean& result) -> uint32_t {
158
+ uint32_t _errorCode__ = Core::ERROR_NONE;
143
159
 
144
- // read-only property get
145
- bool _result{};
160
+ bool _result_{};
146
161
 
147
- _errorCode = _impl_->GetCaptions(_result);
162
+ _errorCode__ = _implementation__->GetCaptions(_result_);
148
163
 
149
- if (_errorCode == Core::ERROR_NONE) {
150
- result = _result;
164
+ if (_errorCode__ == Core::ERROR_NONE) {
165
+ result = _result_;
151
166
  }
152
167
 
153
- return (_errorCode);
168
+ return (_errorCode__);
154
169
  });
155
170
 
156
171
  // Property: 'setpreferredcaptionslanguages' - Set preferred languages for captions (w/o)
157
- _module_.Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredcaptionslanguages"),
158
- [_impl_](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
159
- uint32_t _errorCode = Core::ERROR_NONE;
172
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredcaptionslanguages"),
173
+ [_implementation__](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
174
+ uint32_t _errorCode__ = Core::ERROR_NONE;
175
+
176
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
177
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
178
+ }
179
+ else {
180
+ const string _value_{params.Value};
160
181
 
161
- // write-only property set
162
- const string _value{params.Value};
182
+ _errorCode__ = _implementation__->SetPreferredCaptionsLanguages(_value_);
163
183
 
164
- _errorCode = _impl_->SetPreferredCaptionsLanguages(_value);
184
+ }
165
185
 
166
- return (_errorCode);
186
+ return (_errorCode__);
167
187
  });
168
188
 
169
189
  // Property: 'getpreferredcaptionslanguages' - Gets the current PreferredCaptionsLanguages setting (r/o)
170
- _module_.Register<void, Core::JSON::String>(_T("getpreferredcaptionslanguages"),
171
- [_impl_](Core::JSON::String& result) -> uint32_t {
172
- uint32_t _errorCode = Core::ERROR_NONE;
190
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("getpreferredcaptionslanguages"),
191
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
192
+ uint32_t _errorCode__ = Core::ERROR_NONE;
173
193
 
174
- // read-only property get
175
- string _result{};
194
+ string _result_{};
176
195
 
177
- _errorCode = _impl_->GetPreferredCaptionsLanguages(_result);
196
+ _errorCode__ = _implementation__->GetPreferredCaptionsLanguages(_result_);
178
197
 
179
- if (_errorCode == Core::ERROR_NONE) {
180
- result = _result;
198
+ if (_errorCode__ == Core::ERROR_NONE) {
199
+ result = _result_;
181
200
  }
182
201
 
183
- return (_errorCode);
202
+ return (_errorCode__);
184
203
  });
185
204
 
186
205
  // Property: 'setpreferredclosedcaptionservice' - Sets the PreferredClosedCaptionService (w/o)
187
- _module_.Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredclosedcaptionservice"),
188
- [_impl_](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
189
- uint32_t _errorCode = Core::ERROR_NONE;
206
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setpreferredclosedcaptionservice"),
207
+ [_implementation__](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
208
+ uint32_t _errorCode__ = Core::ERROR_NONE;
209
+
210
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
211
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
212
+ }
213
+ else {
214
+ const string _value_{params.Value};
190
215
 
191
- // write-only property set
192
- const string _value{params.Value};
216
+ _errorCode__ = _implementation__->SetPreferredClosedCaptionService(_value_);
193
217
 
194
- _errorCode = _impl_->SetPreferredClosedCaptionService(_value);
218
+ }
195
219
 
196
- return (_errorCode);
220
+ return (_errorCode__);
197
221
  });
198
222
 
199
223
  // Property: 'getpreferredclosedcaptionservice' - Gets the current PreferredClosedCaptionService setting (r/o)
200
- _module_.Register<void, Core::JSON::String>(_T("getpreferredclosedcaptionservice"),
201
- [_impl_](Core::JSON::String& result) -> uint32_t {
202
- uint32_t _errorCode = Core::ERROR_NONE;
224
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("getpreferredclosedcaptionservice"),
225
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
226
+ uint32_t _errorCode__ = Core::ERROR_NONE;
203
227
 
204
- // read-only property get
205
- string _result{};
228
+ string _result_{};
206
229
 
207
- _errorCode = _impl_->GetPreferredClosedCaptionService(_result);
230
+ _errorCode__ = _implementation__->GetPreferredClosedCaptionService(_result_);
208
231
 
209
- if (_errorCode == Core::ERROR_NONE) {
210
- result = _result;
232
+ if (_errorCode__ == Core::ERROR_NONE) {
233
+ result = _result_;
211
234
  }
212
235
 
213
- return (_errorCode);
236
+ return (_errorCode__);
214
237
  });
215
238
 
216
239
  // Property: 'setprivacymode' - Sets the PrivacyMode (w/o)
217
- _module_.Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setprivacymode"),
218
- [_impl_](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
219
- uint32_t _errorCode = Core::ERROR_NONE;
240
+ _module__.PluginHost::JSONRPC::Register<JsonData::UserSettings::SetPreferredAudioLanguagesInfo, void>(_T("setprivacymode"),
241
+ [_implementation__](const JsonData::UserSettings::SetPreferredAudioLanguagesInfo& params) -> uint32_t {
242
+ uint32_t _errorCode__ = Core::ERROR_NONE;
243
+
244
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
245
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
246
+ }
247
+ else {
248
+ const string _value_{params.Value};
220
249
 
221
- // write-only property set
222
- const string _value{params.Value};
250
+ _errorCode__ = _implementation__->SetPrivacyMode(_value_);
223
251
 
224
- _errorCode = _impl_->SetPrivacyMode(_value);
252
+ }
225
253
 
226
- return (_errorCode);
254
+ return (_errorCode__);
227
255
  });
228
256
 
229
257
  // Property: 'getprivacymode' - Gets the current PrivacyMode setting (r/o)
230
- _module_.Register<void, Core::JSON::String>(_T("getprivacymode"),
231
- [_impl_](Core::JSON::String& result) -> uint32_t {
232
- uint32_t _errorCode = Core::ERROR_NONE;
258
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String>(_T("getprivacymode"),
259
+ [_implementation__](Core::JSON::String& result) -> uint32_t {
260
+ uint32_t _errorCode__ = Core::ERROR_NONE;
233
261
 
234
- // read-only property get
235
- string _result{};
262
+ string _result_{};
236
263
 
237
- _errorCode = _impl_->GetPrivacyMode(_result);
264
+ _errorCode__ = _implementation__->GetPrivacyMode(_result_);
238
265
 
239
- if (_errorCode == Core::ERROR_NONE) {
240
- result = _result;
266
+ if (_errorCode__ == Core::ERROR_NONE) {
267
+ result = _result_;
241
268
  }
242
269
 
243
- return (_errorCode);
270
+ return (_errorCode__);
244
271
  });
245
272
 
246
273
  }
247
274
 
248
- static void Unregister(JSONRPC& _module_)
275
+ template<typename MODULE>
276
+ static void Unregister(MODULE& _module__)
249
277
  {
250
278
  // Unregister methods and properties...
251
- _module_.Unregister(_T("setaudiodescription"));
252
- _module_.Unregister(_T("getaudiodescription"));
253
- _module_.Unregister(_T("setpreferredaudiolanguages"));
254
- _module_.Unregister(_T("getpreferredaudiolanguages"));
255
- _module_.Unregister(_T("setpresentationlanguage"));
256
- _module_.Unregister(_T("getpresentationlanguage"));
257
- _module_.Unregister(_T("setcaptions"));
258
- _module_.Unregister(_T("getcaptions"));
259
- _module_.Unregister(_T("setpreferredcaptionslanguages"));
260
- _module_.Unregister(_T("getpreferredcaptionslanguages"));
261
- _module_.Unregister(_T("setpreferredclosedcaptionservice"));
262
- _module_.Unregister(_T("getpreferredclosedcaptionservice"));
263
- _module_.Unregister(_T("setprivacymode"));
264
- _module_.Unregister(_T("getprivacymode"));
279
+ _module__.PluginHost::JSONRPC::Unregister(_T("setaudiodescription"));
280
+ _module__.PluginHost::JSONRPC::Unregister(_T("getaudiodescription"));
281
+ _module__.PluginHost::JSONRPC::Unregister(_T("setpreferredaudiolanguages"));
282
+ _module__.PluginHost::JSONRPC::Unregister(_T("getpreferredaudiolanguages"));
283
+ _module__.PluginHost::JSONRPC::Unregister(_T("setpresentationlanguage"));
284
+ _module__.PluginHost::JSONRPC::Unregister(_T("getpresentationlanguage"));
285
+ _module__.PluginHost::JSONRPC::Unregister(_T("setcaptions"));
286
+ _module__.PluginHost::JSONRPC::Unregister(_T("getcaptions"));
287
+ _module__.PluginHost::JSONRPC::Unregister(_T("setpreferredcaptionslanguages"));
288
+ _module__.PluginHost::JSONRPC::Unregister(_T("getpreferredcaptionslanguages"));
289
+ _module__.PluginHost::JSONRPC::Unregister(_T("setpreferredclosedcaptionservice"));
290
+ _module__.PluginHost::JSONRPC::Unregister(_T("getpreferredclosedcaptionservice"));
291
+ _module__.PluginHost::JSONRPC::Unregister(_T("setprivacymode"));
292
+ _module__.PluginHost::JSONRPC::Unregister(_T("getprivacymode"));
265
293
  }
266
294
 
267
295
  namespace Event {
268
296
 
269
297
  // Event: 'onaudiodescriptionchanged' - The AudioDescription setting has changed
270
- static void OnAudioDescriptionChanged(const JSONRPC& _module_, const JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo& params)
298
+ template<typename MODULE>
299
+ static void OnAudioDescriptionChanged(const MODULE& module_, const JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
271
300
  {
272
- _module_.Notify(_T("onaudiodescriptionchanged"), params);
301
+ module_.Notify(_T("onaudiodescriptionchanged"), params, sendIfMethod_);
273
302
  }
274
303
 
275
304
  // Event: 'onaudiodescriptionchanged' - The AudioDescription setting has changed
276
- static void OnAudioDescriptionChanged(const JSONRPC& _module_, const Core::JSON::Boolean& enabled)
305
+ template<typename MODULE>
306
+ static void OnAudioDescriptionChanged(const MODULE& module_, const Core::JSON::Boolean& enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
277
307
  {
278
- JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo _params_;
279
- _params_.Enabled = enabled;
308
+ JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo params_;
309
+ params_.Enabled = enabled;
280
310
 
281
- OnAudioDescriptionChanged(_module_, _params_);
311
+ OnAudioDescriptionChanged(module_, params_, sendIfMethod_);
282
312
  }
283
313
 
284
314
  // Event: 'onaudiodescriptionchanged' - The AudioDescription setting has changed
285
- static void OnAudioDescriptionChanged(const JSONRPC& _module_, const bool& enabled)
315
+ template<typename MODULE>
316
+ static void OnAudioDescriptionChanged(const MODULE& module_, const bool enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
286
317
  {
287
- JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo _params_;
288
- _params_.Enabled = enabled;
318
+ JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo params_;
319
+ params_.Enabled = enabled;
289
320
 
290
- OnAudioDescriptionChanged(_module_, _params_);
321
+ OnAudioDescriptionChanged(module_, params_, sendIfMethod_);
291
322
  }
292
323
 
293
324
  // Event: 'onpreferredaudiolanguageschanged' - The preferredLanguages setting has changed
294
- static void OnPreferredAudioLanguagesChanged(const JSONRPC& _module_,
295
- const JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo& params)
325
+ template<typename MODULE>
326
+ static void OnPreferredAudioLanguagesChanged(const MODULE& module_, const JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
296
327
  {
297
- _module_.Notify(_T("onpreferredaudiolanguageschanged"), params);
328
+ module_.Notify(_T("onpreferredaudiolanguageschanged"), params, sendIfMethod_);
298
329
  }
299
330
 
300
331
  // Event: 'onpreferredaudiolanguageschanged' - The preferredLanguages setting has changed
301
- static void OnPreferredAudioLanguagesChanged(const JSONRPC& _module_, const Core::JSON::String& preferredLanguages)
332
+ template<typename MODULE>
333
+ static void OnPreferredAudioLanguagesChanged(const MODULE& module_, const Core::JSON::String& preferredLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
302
334
  {
303
- JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo _params_;
304
- _params_.PreferredLanguages = preferredLanguages;
335
+ JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo params_;
336
+ params_.PreferredLanguages = preferredLanguages;
305
337
 
306
- OnPreferredAudioLanguagesChanged(_module_, _params_);
338
+ OnPreferredAudioLanguagesChanged(module_, params_, sendIfMethod_);
307
339
  }
308
340
 
309
341
  // Event: 'onpreferredaudiolanguageschanged' - The preferredLanguages setting has changed
310
- static void OnPreferredAudioLanguagesChanged(const JSONRPC& _module_, const string& preferredLanguages)
342
+ template<typename MODULE>
343
+ static void OnPreferredAudioLanguagesChanged(const MODULE& module_, const string& preferredLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
311
344
  {
312
- JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo _params_;
313
- _params_.PreferredLanguages = preferredLanguages;
345
+ JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo params_;
346
+ params_.PreferredLanguages = preferredLanguages;
314
347
 
315
- OnPreferredAudioLanguagesChanged(_module_, _params_);
348
+ OnPreferredAudioLanguagesChanged(module_, params_, sendIfMethod_);
316
349
  }
317
350
 
318
351
  // Event: 'onpresentationlanguagechanged' - The PresentationLanguages setting has changed
319
- static void OnPresentationLanguageChanged(const JSONRPC& _module_, const JsonData::UserSettings::OnPresentationLanguageChangedParamsData& params)
352
+ template<typename MODULE>
353
+ static void OnPresentationLanguageChanged(const MODULE& module_, const JsonData::UserSettings::OnPresentationLanguageChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
320
354
  {
321
- _module_.Notify(_T("onpresentationlanguagechanged"), params);
355
+ module_.Notify(_T("onpresentationlanguagechanged"), params, sendIfMethod_);
322
356
  }
323
357
 
324
358
  // Event: 'onpresentationlanguagechanged' - The PresentationLanguages setting has changed
325
- static void OnPresentationLanguageChanged(const JSONRPC& _module_, const Core::JSON::String& presentationLanguages)
359
+ template<typename MODULE>
360
+ static void OnPresentationLanguageChanged(const MODULE& module_, const Core::JSON::String& presentationLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
326
361
  {
327
- JsonData::UserSettings::OnPresentationLanguageChangedParamsData _params_;
328
- _params_.PresentationLanguages = presentationLanguages;
362
+ JsonData::UserSettings::OnPresentationLanguageChangedParamsData params_;
363
+ params_.PresentationLanguages = presentationLanguages;
329
364
 
330
- OnPresentationLanguageChanged(_module_, _params_);
365
+ OnPresentationLanguageChanged(module_, params_, sendIfMethod_);
331
366
  }
332
367
 
333
368
  // Event: 'onpresentationlanguagechanged' - The PresentationLanguages setting has changed
334
- static void OnPresentationLanguageChanged(const JSONRPC& _module_, const string& presentationLanguages)
369
+ template<typename MODULE>
370
+ static void OnPresentationLanguageChanged(const MODULE& module_, const string& presentationLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
335
371
  {
336
- JsonData::UserSettings::OnPresentationLanguageChangedParamsData _params_;
337
- _params_.PresentationLanguages = presentationLanguages;
372
+ JsonData::UserSettings::OnPresentationLanguageChangedParamsData params_;
373
+ params_.PresentationLanguages = presentationLanguages;
338
374
 
339
- OnPresentationLanguageChanged(_module_, _params_);
375
+ OnPresentationLanguageChanged(module_, params_, sendIfMethod_);
340
376
  }
341
377
 
342
378
  // Event: 'oncaptionschanged' - The Captions setting has changed
343
- static void OnCaptionsChanged(const JSONRPC& _module_, const JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo& params)
379
+ template<typename MODULE>
380
+ static void OnCaptionsChanged(const MODULE& module_, const JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
344
381
  {
345
- _module_.Notify(_T("oncaptionschanged"), params);
382
+ module_.Notify(_T("oncaptionschanged"), params, sendIfMethod_);
346
383
  }
347
384
 
348
385
  // Event: 'oncaptionschanged' - The Captions setting has changed
349
- static void OnCaptionsChanged(const JSONRPC& _module_, const Core::JSON::Boolean& enabled)
386
+ template<typename MODULE>
387
+ static void OnCaptionsChanged(const MODULE& module_, const Core::JSON::Boolean& enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
350
388
  {
351
- JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo _params_;
352
- _params_.Enabled = enabled;
389
+ JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo params_;
390
+ params_.Enabled = enabled;
353
391
 
354
- OnCaptionsChanged(_module_, _params_);
392
+ OnCaptionsChanged(module_, params_, sendIfMethod_);
355
393
  }
356
394
 
357
395
  // Event: 'oncaptionschanged' - The Captions setting has changed
358
- static void OnCaptionsChanged(const JSONRPC& _module_, const bool& enabled)
396
+ template<typename MODULE>
397
+ static void OnCaptionsChanged(const MODULE& module_, const bool enabled, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
359
398
  {
360
- JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo _params_;
361
- _params_.Enabled = enabled;
399
+ JsonData::UserSettings::OnAudioDescriptionChangedParamsInfo params_;
400
+ params_.Enabled = enabled;
362
401
 
363
- OnCaptionsChanged(_module_, _params_);
402
+ OnCaptionsChanged(module_, params_, sendIfMethod_);
364
403
  }
365
404
 
366
405
  // Event: 'onpreferredcaptionslanguageschanged' - The PreferredCaptionsLanguages setting has changed
367
- static void OnPreferredCaptionsLanguagesChanged(const JSONRPC& _module_,
368
- const JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo& params)
406
+ template<typename MODULE>
407
+ static void OnPreferredCaptionsLanguagesChanged(const MODULE& module_, const JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
369
408
  {
370
- _module_.Notify(_T("onpreferredcaptionslanguageschanged"), params);
409
+ module_.Notify(_T("onpreferredcaptionslanguageschanged"), params, sendIfMethod_);
371
410
  }
372
411
 
373
412
  // Event: 'onpreferredcaptionslanguageschanged' - The PreferredCaptionsLanguages setting has changed
374
- static void OnPreferredCaptionsLanguagesChanged(const JSONRPC& _module_, const Core::JSON::String& preferredLanguages)
413
+ template<typename MODULE>
414
+ static void OnPreferredCaptionsLanguagesChanged(const MODULE& module_, const Core::JSON::String& preferredLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
375
415
  {
376
- JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo _params_;
377
- _params_.PreferredLanguages = preferredLanguages;
416
+ JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo params_;
417
+ params_.PreferredLanguages = preferredLanguages;
378
418
 
379
- OnPreferredCaptionsLanguagesChanged(_module_, _params_);
419
+ OnPreferredCaptionsLanguagesChanged(module_, params_, sendIfMethod_);
380
420
  }
381
421
 
382
422
  // Event: 'onpreferredcaptionslanguageschanged' - The PreferredCaptionsLanguages setting has changed
383
- static void OnPreferredCaptionsLanguagesChanged(const JSONRPC& _module_, const string& preferredLanguages)
423
+ template<typename MODULE>
424
+ static void OnPreferredCaptionsLanguagesChanged(const MODULE& module_, const string& preferredLanguages, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
384
425
  {
385
- JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo _params_;
386
- _params_.PreferredLanguages = preferredLanguages;
426
+ JsonData::UserSettings::OnPreferredAudioLanguagesChangedParamsInfo params_;
427
+ params_.PreferredLanguages = preferredLanguages;
387
428
 
388
- OnPreferredCaptionsLanguagesChanged(_module_, _params_);
429
+ OnPreferredCaptionsLanguagesChanged(module_, params_, sendIfMethod_);
389
430
  }
390
431
 
391
432
  // Event: 'onpreferredclosedcaptionservicechanged' - The PreferredClosedCaptionService setting has changed
392
- static void OnPreferredClosedCaptionServiceChanged(const JSONRPC& _module_,
393
- const JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData& params)
433
+ template<typename MODULE>
434
+ static void OnPreferredClosedCaptionServiceChanged(const MODULE& module_, const JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
394
435
  {
395
- _module_.Notify(_T("onpreferredclosedcaptionservicechanged"), params);
436
+ module_.Notify(_T("onpreferredclosedcaptionservicechanged"), params, sendIfMethod_);
396
437
  }
397
438
 
398
439
  // Event: 'onpreferredclosedcaptionservicechanged' - The PreferredClosedCaptionService setting has changed
399
- static void OnPreferredClosedCaptionServiceChanged(const JSONRPC& _module_, const Core::JSON::String& service)
440
+ template<typename MODULE>
441
+ static void OnPreferredClosedCaptionServiceChanged(const MODULE& module_, const Core::JSON::String& service, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
400
442
  {
401
- JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData _params_;
402
- _params_.Service = service;
443
+ JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData params_;
444
+ params_.Service = service;
403
445
 
404
- OnPreferredClosedCaptionServiceChanged(_module_, _params_);
446
+ OnPreferredClosedCaptionServiceChanged(module_, params_, sendIfMethod_);
405
447
  }
406
448
 
407
449
  // Event: 'onpreferredclosedcaptionservicechanged' - The PreferredClosedCaptionService setting has changed
408
- static void OnPreferredClosedCaptionServiceChanged(const JSONRPC& _module_, const string& service)
450
+ template<typename MODULE>
451
+ static void OnPreferredClosedCaptionServiceChanged(const MODULE& module_, const string& service, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
409
452
  {
410
- JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData _params_;
411
- _params_.Service = service;
453
+ JsonData::UserSettings::OnPreferredClosedCaptionServiceChangedParamsData params_;
454
+ params_.Service = service;
412
455
 
413
- OnPreferredClosedCaptionServiceChanged(_module_, _params_);
456
+ OnPreferredClosedCaptionServiceChanged(module_, params_, sendIfMethod_);
414
457
  }
415
458
 
416
459
  // Event: 'onprivacymodechanged' - The PrivacyMode setting has changed
417
- static void OnPrivacyModeChanged(const JSONRPC& _module_, const JsonData::UserSettings::OnPrivacyModeChangedParamsData& params)
460
+ template<typename MODULE>
461
+ static void OnPrivacyModeChanged(const MODULE& module_, const JsonData::UserSettings::OnPrivacyModeChangedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
418
462
  {
419
- _module_.Notify(_T("onprivacymodechanged"), params);
463
+ module_.Notify(_T("onprivacymodechanged"), params, sendIfMethod_);
420
464
  }
421
465
 
422
466
  // Event: 'onprivacymodechanged' - The PrivacyMode setting has changed
423
- static void OnPrivacyModeChanged(const JSONRPC& _module_, const Core::JSON::String& privacyMode)
467
+ template<typename MODULE>
468
+ static void OnPrivacyModeChanged(const MODULE& module_, const Core::JSON::String& privacyMode, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
424
469
  {
425
- JsonData::UserSettings::OnPrivacyModeChangedParamsData _params_;
426
- _params_.PrivacyMode = privacyMode;
470
+ JsonData::UserSettings::OnPrivacyModeChangedParamsData params_;
471
+ params_.PrivacyMode = privacyMode;
427
472
 
428
- OnPrivacyModeChanged(_module_, _params_);
473
+ OnPrivacyModeChanged(module_, params_, sendIfMethod_);
429
474
  }
430
475
 
431
476
  // Event: 'onprivacymodechanged' - The PrivacyMode setting has changed
432
- static void OnPrivacyModeChanged(const JSONRPC& _module_, const string& privacyMode)
477
+ template<typename MODULE>
478
+ static void OnPrivacyModeChanged(const MODULE& module_, const string& privacyMode, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
433
479
  {
434
- JsonData::UserSettings::OnPrivacyModeChangedParamsData _params_;
435
- _params_.PrivacyMode = privacyMode;
480
+ JsonData::UserSettings::OnPrivacyModeChangedParamsData params_;
481
+ params_.PrivacyMode = privacyMode;
436
482
 
437
- OnPrivacyModeChanged(_module_, _params_);
483
+ OnPrivacyModeChanged(module_, params_, sendIfMethod_);
438
484
  }
439
485
 
440
486
  } // namespace Event
441
487
 
442
488
  POP_WARNING()
489
+ POP_WARNING()
490
+ POP_WARNING()
443
491
 
444
492
  } // namespace JUserSettings
445
493
 
446
494
  } // namespace Exchange
447
495
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JVolumeControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IVolumeControl.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_VolumeControl.h"
7
6
  #include <interfaces/IVolumeControl.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,136 +17,144 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IVolumeControl* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IVolumeControl* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JVolumeControl"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JVolumeControl"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Property: 'muted' - Audio mute state
36
- _module_.Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("muted"),
37
- [_impl_](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("muted"),
37
+ [_implementation__](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
40
  if (params.IsSet() == false) {
41
- // property get
42
- bool _result{};
41
+ bool _result_{};
43
42
 
44
- _errorCode = (static_cast<const IVolumeControl*>(_impl_))->Muted(_result);
43
+ _errorCode__ = (static_cast<const IVolumeControl*>(_implementation__))->Muted(_result_);
45
44
 
46
- if (_errorCode == Core::ERROR_NONE) {
47
- result = _result;
45
+ if (_errorCode__ == Core::ERROR_NONE) {
46
+ result = _result_;
48
47
  }
48
+ }
49
+ else {
50
+ const bool _params_{params};
49
51
 
50
- } else {
51
- // property set
52
- const bool _params{params};
53
-
54
- _errorCode = _impl_->Muted(_params);
52
+ _errorCode__ = _implementation__->Muted(_params_);
55
53
 
56
54
  result.Null(true);
57
55
  }
58
- return (_errorCode);
56
+
57
+ return (_errorCode__);
59
58
  });
60
59
 
61
60
  // Property: 'volume' - Audio volume level
62
- _module_.Register<Core::JSON::DecUInt8, Core::JSON::DecUInt8>(_T("volume"),
63
- [_impl_](const Core::JSON::DecUInt8& params, Core::JSON::DecUInt8& result) -> uint32_t {
64
- uint32_t _errorCode = Core::ERROR_NONE;
61
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::DecUInt8, Core::JSON::DecUInt8>(_T("volume"),
62
+ [_implementation__](const Core::JSON::DecUInt8& params, Core::JSON::DecUInt8& result) -> uint32_t {
63
+ uint32_t _errorCode__ = Core::ERROR_NONE;
65
64
 
66
65
  if (params.IsSet() == false) {
67
- // property get
68
- uint8_t _result{};
66
+ uint8_t _result_{};
69
67
 
70
- _errorCode = (static_cast<const IVolumeControl*>(_impl_))->Volume(_result);
68
+ _errorCode__ = (static_cast<const IVolumeControl*>(_implementation__))->Volume(_result_);
71
69
 
72
- if (_errorCode == Core::ERROR_NONE) {
73
- result = _result;
70
+ if (_errorCode__ == Core::ERROR_NONE) {
71
+ result = _result_;
74
72
  }
73
+ }
74
+ else {
75
+ const uint8_t _params_{params};
75
76
 
76
- } else {
77
- // property set
78
- const uint8_t _params{params};
79
-
80
- _errorCode = _impl_->Volume(_params);
77
+ _errorCode__ = _implementation__->Volume(_params_);
81
78
 
82
79
  result.Null(true);
83
80
  }
84
- return (_errorCode);
81
+
82
+ return (_errorCode__);
85
83
  });
86
84
 
87
85
  }
88
86
 
89
- static void Unregister(JSONRPC& _module_)
87
+ template<typename MODULE>
88
+ static void Unregister(MODULE& _module__)
90
89
  {
91
90
  // Unregister methods and properties...
92
- _module_.Unregister(_T("muted"));
93
- _module_.Unregister(_T("volume"));
91
+ _module__.PluginHost::JSONRPC::Unregister(_T("muted"));
92
+ _module__.PluginHost::JSONRPC::Unregister(_T("volume"));
94
93
  }
95
94
 
96
95
  namespace Event {
97
96
 
98
97
  // Event: 'volume' - Signals volume change
99
- static void Volume(const JSONRPC& _module_, const JsonData::VolumeControl::VolumeParamsData& params)
98
+ template<typename MODULE>
99
+ static void Volume(const MODULE& module_, const JsonData::VolumeControl::VolumeParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
100
100
  {
101
- _module_.Notify(_T("volume"), params);
101
+ module_.Notify(_T("volume"), params, sendIfMethod_);
102
102
  }
103
103
 
104
104
  // Event: 'volume' - Signals volume change
105
- static void Volume(const JSONRPC& _module_, const Core::JSON::DecUInt8& volume)
105
+ template<typename MODULE>
106
+ static void Volume(const MODULE& module_, const Core::JSON::DecUInt8& volume, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
106
107
  {
107
- JsonData::VolumeControl::VolumeParamsData _params_;
108
- _params_.Volume = volume;
108
+ JsonData::VolumeControl::VolumeParamsData params_;
109
+ params_.Volume = volume;
109
110
 
110
- Volume(_module_, _params_);
111
+ Volume(module_, params_, sendIfMethod_);
111
112
  }
112
113
 
113
114
  // Event: 'volume' - Signals volume change
114
- static void Volume(const JSONRPC& _module_, const uint8_t& volume)
115
+ template<typename MODULE>
116
+ static void Volume(const MODULE& module_, const uint8_t volume, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
115
117
  {
116
- JsonData::VolumeControl::VolumeParamsData _params_;
117
- _params_.Volume = volume;
118
+ JsonData::VolumeControl::VolumeParamsData params_;
119
+ params_.Volume = volume;
118
120
 
119
- Volume(_module_, _params_);
121
+ Volume(module_, params_, sendIfMethod_);
120
122
  }
121
123
 
122
124
  // Event: 'muted' - Signals mute state change
123
- static void Muted(const JSONRPC& _module_, const JsonData::VolumeControl::MutedParamsData& params)
125
+ template<typename MODULE>
126
+ static void Muted(const MODULE& module_, const JsonData::VolumeControl::MutedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
124
127
  {
125
- _module_.Notify(_T("muted"), params);
128
+ module_.Notify(_T("muted"), params, sendIfMethod_);
126
129
  }
127
130
 
128
131
  // Event: 'muted' - Signals mute state change
129
- static void Muted(const JSONRPC& _module_, const Core::JSON::Boolean& muted)
132
+ template<typename MODULE>
133
+ static void Muted(const MODULE& module_, const Core::JSON::Boolean& muted, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
130
134
  {
131
- JsonData::VolumeControl::MutedParamsData _params_;
132
- _params_.Muted = muted;
135
+ JsonData::VolumeControl::MutedParamsData params_;
136
+ params_.Muted = muted;
133
137
 
134
- Muted(_module_, _params_);
138
+ Muted(module_, params_, sendIfMethod_);
135
139
  }
136
140
 
137
141
  // Event: 'muted' - Signals mute state change
138
- static void Muted(const JSONRPC& _module_, const bool& muted)
142
+ template<typename MODULE>
143
+ static void Muted(const MODULE& module_, const bool muted, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
139
144
  {
140
- JsonData::VolumeControl::MutedParamsData _params_;
141
- _params_.Muted = muted;
145
+ JsonData::VolumeControl::MutedParamsData params_;
146
+ params_.Muted = muted;
142
147
 
143
- Muted(_module_, _params_);
148
+ Muted(module_, params_, sendIfMethod_);
144
149
  }
145
150
 
146
151
  } // namespace Event
147
152
 
148
153
  POP_WARNING()
154
+ POP_WARNING()
155
+ POP_WARNING()
149
156
 
150
157
  } // namespace JVolumeControl
151
158
 
152
159
  } // namespace Exchange
153
160
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWatchDog.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IWatchDog.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_WatchDog.h"
7
6
  #include <interfaces/IWatchDog.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,43 +17,53 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IWatchDog* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IWatchDog* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JWatchDog"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JWatchDog"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'touch' - Touch the watchdog as a sign of life
36
- _module_.Register<JsonData::WatchDog::TouchParamsData, void>(_T("touch"),
37
- [_impl_](const JsonData::WatchDog::TouchParamsData& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::WatchDog::TouchParamsData, void>(_T("touch"),
37
+ [_implementation__](const JsonData::WatchDog::TouchParamsData& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
+
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const string _callsign_{params.Callsign};
39
45
 
40
- const string _callsign{params.Callsign};
46
+ _errorCode__ = _implementation__->Touch(_callsign_);
41
47
 
42
- _errorCode = _impl_->Touch(_callsign);
48
+ }
43
49
 
44
- return (_errorCode);
50
+ return (_errorCode__);
45
51
  });
46
52
 
47
53
  }
48
54
 
49
- static void Unregister(JSONRPC& _module_)
55
+ template<typename MODULE>
56
+ static void Unregister(MODULE& _module__)
50
57
  {
51
58
  // Unregister methods and properties...
52
- _module_.Unregister(_T("touch"));
59
+ _module__.PluginHost::JSONRPC::Unregister(_T("touch"));
53
60
  }
54
61
 
55
62
  POP_WARNING()
63
+ POP_WARNING()
64
+ POP_WARNING()
56
65
 
57
66
  } // namespace JWatchDog
58
67
 
59
68
  } // namespace Exchange
60
69
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWebBrowser.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_WebBrowser.h"
7
6
  #include <interfaces/IBrowser.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,336 +17,353 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IWebBrowser* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IWebBrowser* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JWebBrowser"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JWebBrowser"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'collectgarbage' - Initiate garbage collection
36
- _module_.Register<void, void>(_T("collectgarbage"),
37
- [_impl_]() -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("collectgarbage"),
37
+ [_implementation__]() -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- _errorCode = _impl_->CollectGarbage();
40
+ _errorCode__ = _implementation__->CollectGarbage();
41
41
 
42
- return (_errorCode);
42
+ return (_errorCode__);
43
43
  });
44
44
 
45
45
  // Property: 'url' - Page loaded in the browser
46
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("url"),
47
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
48
- uint32_t _errorCode = Core::ERROR_NONE;
46
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("url"),
47
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
48
+ uint32_t _errorCode__ = Core::ERROR_NONE;
49
49
 
50
50
  if (params.IsSet() == false) {
51
- // property get
52
- string _result{};
51
+ string _result_{};
53
52
 
54
- _errorCode = (static_cast<const IWebBrowser*>(_impl_))->URL(_result);
53
+ _errorCode__ = (static_cast<const IWebBrowser*>(_implementation__))->URL(_result_);
55
54
 
56
- if (_errorCode == Core::ERROR_NONE) {
57
- result = _result;
55
+ if (_errorCode__ == Core::ERROR_NONE) {
56
+ result = _result_;
58
57
  }
58
+ }
59
+ else {
60
+ const string _params_{params};
59
61
 
60
- } else {
61
- // property set
62
- const string _params{params};
63
-
64
- _errorCode = _impl_->URL(_params);
62
+ _errorCode__ = _implementation__->URL(_params_);
65
63
 
66
64
  result.Null(true);
67
65
  }
68
- return (_errorCode);
66
+
67
+ return (_errorCode__);
69
68
  });
70
69
 
71
70
  // Property: 'visibility' - Browser window visibility state
72
- _module_.Register<Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>,
73
- Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>>(_T("visibility"),
74
- [_impl_](const Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>& params,
75
- Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>& result) -> uint32_t {
76
- uint32_t _errorCode = Core::ERROR_NONE;
71
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>, Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>>(_T("visibility"),
72
+ [_implementation__](const Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>& params, Core::JSON::EnumType<Exchange::IWebBrowser::VisibilityType>& result) -> uint32_t {
73
+ uint32_t _errorCode__ = Core::ERROR_NONE;
77
74
 
78
75
  if (params.IsSet() == false) {
79
- // property get
80
- Exchange::IWebBrowser::VisibilityType _result{};
76
+ Exchange::IWebBrowser::VisibilityType _result_{};
81
77
 
82
- _errorCode = (static_cast<const IWebBrowser*>(_impl_))->Visibility(_result);
78
+ _errorCode__ = (static_cast<const IWebBrowser*>(_implementation__))->Visibility(_result_);
83
79
 
84
- if (_errorCode == Core::ERROR_NONE) {
85
- result = _result;
80
+ if (_errorCode__ == Core::ERROR_NONE) {
81
+ result = _result_;
86
82
  }
83
+ }
84
+ else {
85
+ const Exchange::IWebBrowser::VisibilityType _params_{params};
87
86
 
88
- } else {
89
- // property set
90
- const Exchange::IWebBrowser::VisibilityType _params{params};
91
-
92
- _errorCode = _impl_->Visibility(_params);
87
+ _errorCode__ = _implementation__->Visibility(_params_);
93
88
 
94
89
  result.Null(true);
95
90
  }
96
- return (_errorCode);
91
+
92
+ return (_errorCode__);
97
93
  });
98
94
 
99
95
  // Property: 'fps' - Current framerate the browser is rendering at (r/o)
100
- _module_.Register<void, Core::JSON::DecUInt8>(_T("fps"),
101
- [_impl_](Core::JSON::DecUInt8& result) -> uint32_t {
102
- uint32_t _errorCode = Core::ERROR_NONE;
96
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::DecUInt8>(_T("fps"),
97
+ [_implementation__](Core::JSON::DecUInt8& result) -> uint32_t {
98
+ uint32_t _errorCode__ = Core::ERROR_NONE;
103
99
 
104
- // read-only property get
105
- uint8_t _result{};
100
+ uint8_t _result_{};
106
101
 
107
- _errorCode = _impl_->FPS(_result);
102
+ _errorCode__ = _implementation__->FPS(_result_);
108
103
 
109
- if (_errorCode == Core::ERROR_NONE) {
110
- result = _result;
104
+ if (_errorCode__ == Core::ERROR_NONE) {
105
+ result = _result_;
111
106
  }
112
107
 
113
- return (_errorCode);
108
+ return (_errorCode__);
114
109
  });
115
110
 
116
111
  // Property: 'useragent' - UserAgent string used by the browser
117
- _module_.Register<Core::JSON::String, Core::JSON::String>(_T("useragent"),
118
- [_impl_](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
119
- uint32_t _errorCode = Core::ERROR_NONE;
112
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, Core::JSON::String>(_T("useragent"),
113
+ [_implementation__](const Core::JSON::String& params, Core::JSON::String& result) -> uint32_t {
114
+ uint32_t _errorCode__ = Core::ERROR_NONE;
120
115
 
121
116
  if (params.IsSet() == false) {
122
- // property get
123
- string _result{};
117
+ string _result_{};
124
118
 
125
- _errorCode = (static_cast<const IWebBrowser*>(_impl_))->UserAgent(_result);
119
+ _errorCode__ = (static_cast<const IWebBrowser*>(_implementation__))->UserAgent(_result_);
126
120
 
127
- if (_errorCode == Core::ERROR_NONE) {
128
- result = _result;
121
+ if (_errorCode__ == Core::ERROR_NONE) {
122
+ result = _result_;
129
123
  }
124
+ }
125
+ else {
126
+ const string _params_{params};
130
127
 
131
- } else {
132
- // property set
133
- const string _params{params};
134
-
135
- _errorCode = _impl_->UserAgent(_params);
128
+ _errorCode__ = _implementation__->UserAgent(_params_);
136
129
 
137
130
  result.Null(true);
138
131
  }
139
- return (_errorCode);
132
+
133
+ return (_errorCode__);
140
134
  });
141
135
 
142
136
  // Property: 'localstorageenabled' - Controls the local storage availability
143
- _module_.Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("localstorageenabled"),
144
- [_impl_](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
145
- uint32_t _errorCode = Core::ERROR_NONE;
137
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::Boolean, Core::JSON::Boolean>(_T("localstorageenabled"),
138
+ [_implementation__](const Core::JSON::Boolean& params, Core::JSON::Boolean& result) -> uint32_t {
139
+ uint32_t _errorCode__ = Core::ERROR_NONE;
146
140
 
147
141
  if (params.IsSet() == false) {
148
- // property get
149
- bool _result{};
142
+ bool _result_{};
150
143
 
151
- _errorCode = (static_cast<const IWebBrowser*>(_impl_))->LocalStorageEnabled(_result);
144
+ _errorCode__ = (static_cast<const IWebBrowser*>(_implementation__))->LocalStorageEnabled(_result_);
152
145
 
153
- if (_errorCode == Core::ERROR_NONE) {
154
- result = _result;
146
+ if (_errorCode__ == Core::ERROR_NONE) {
147
+ result = _result_;
155
148
  }
149
+ }
150
+ else {
151
+ const bool _params_{params};
156
152
 
157
- } else {
158
- // property set
159
- const bool _params{params};
160
-
161
- _errorCode = _impl_->LocalStorageEnabled(_params);
153
+ _errorCode__ = _implementation__->LocalStorageEnabled(_params_);
162
154
 
163
155
  result.Null(true);
164
156
  }
165
- return (_errorCode);
157
+
158
+ return (_errorCode__);
166
159
  });
167
160
 
168
161
  // Property: 'httpcookieacceptpolicy' - HTTP cookies accept policy
169
- _module_.Register<Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>,
170
- Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>>(_T("httpcookieacceptpolicy"),
171
- [_impl_](const Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>& params,
172
- Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>& result) -> uint32_t {
173
- uint32_t _errorCode = Core::ERROR_NONE;
162
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>, Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>>(_T("httpcookieacceptpolicy"),
163
+ [_implementation__](const Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>& params, Core::JSON::EnumType<Exchange::IWebBrowser::HTTPCookieAcceptPolicyType>& result) -> uint32_t {
164
+ uint32_t _errorCode__ = Core::ERROR_NONE;
174
165
 
175
166
  if (params.IsSet() == false) {
176
- // property get
177
- Exchange::IWebBrowser::HTTPCookieAcceptPolicyType _result{};
167
+ Exchange::IWebBrowser::HTTPCookieAcceptPolicyType _result_{};
178
168
 
179
- _errorCode = (static_cast<const IWebBrowser*>(_impl_))->HTTPCookieAcceptPolicy(_result);
169
+ _errorCode__ = (static_cast<const IWebBrowser*>(_implementation__))->HTTPCookieAcceptPolicy(_result_);
180
170
 
181
- if (_errorCode == Core::ERROR_NONE) {
182
- result = _result;
171
+ if (_errorCode__ == Core::ERROR_NONE) {
172
+ result = _result_;
183
173
  }
174
+ }
175
+ else {
176
+ const Exchange::IWebBrowser::HTTPCookieAcceptPolicyType _params_{params};
184
177
 
185
- } else {
186
- // property set
187
- const Exchange::IWebBrowser::HTTPCookieAcceptPolicyType _params{params};
188
-
189
- _errorCode = _impl_->HTTPCookieAcceptPolicy(_params);
178
+ _errorCode__ = _implementation__->HTTPCookieAcceptPolicy(_params_);
190
179
 
191
180
  result.Null(true);
192
181
  }
193
- return (_errorCode);
182
+
183
+ return (_errorCode__);
194
184
  });
195
185
 
196
186
  // Property: 'bridgereply' - Response for legacy $badger (w/o)
197
- _module_.Register<Core::JSON::String, void>(_T("bridgereply"),
198
- [_impl_](const Core::JSON::String& params) -> uint32_t {
199
- uint32_t _errorCode = Core::ERROR_NONE;
187
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, void>(_T("bridgereply"),
188
+ [_implementation__](const Core::JSON::String& params) -> uint32_t {
189
+ uint32_t _errorCode__ = Core::ERROR_NONE;
200
190
 
201
- // write-only property set
202
- const string _params{params};
191
+ if (params.IsSet() == false) {
192
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
193
+ }
194
+ else {
195
+ const string _params_{params};
196
+
197
+ _errorCode__ = _implementation__->BridgeReply(_params_);
203
198
 
204
- _errorCode = _impl_->BridgeReply(_params);
199
+ }
205
200
 
206
- return (_errorCode);
201
+ return (_errorCode__);
207
202
  });
208
203
 
209
204
  // Property: 'bridgeevent' - Send legacy $badger event (w/o)
210
- _module_.Register<Core::JSON::String, void>(_T("bridgeevent"),
211
- [_impl_](const Core::JSON::String& params) -> uint32_t {
212
- uint32_t _errorCode = Core::ERROR_NONE;
205
+ _module__.PluginHost::JSONRPC::Register<Core::JSON::String, void>(_T("bridgeevent"),
206
+ [_implementation__](const Core::JSON::String& params) -> uint32_t {
207
+ uint32_t _errorCode__ = Core::ERROR_NONE;
213
208
 
214
- // write-only property set
215
- const string _params{params};
209
+ if (params.IsSet() == false) {
210
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
211
+ }
212
+ else {
213
+ const string _params_{params};
214
+
215
+ _errorCode__ = _implementation__->BridgeEvent(_params_);
216
216
 
217
- _errorCode = _impl_->BridgeEvent(_params);
217
+ }
218
218
 
219
- return (_errorCode);
219
+ return (_errorCode__);
220
220
  });
221
221
 
222
222
  }
223
223
 
224
- static void Unregister(JSONRPC& _module_)
224
+ template<typename MODULE>
225
+ static void Unregister(MODULE& _module__)
225
226
  {
226
227
  // Unregister methods and properties...
227
- _module_.Unregister(_T("collectgarbage"));
228
- _module_.Unregister(_T("url"));
229
- _module_.Unregister(_T("visibility"));
230
- _module_.Unregister(_T("fps"));
231
- _module_.Unregister(_T("useragent"));
232
- _module_.Unregister(_T("localstorageenabled"));
233
- _module_.Unregister(_T("httpcookieacceptpolicy"));
234
- _module_.Unregister(_T("bridgereply"));
235
- _module_.Unregister(_T("bridgeevent"));
228
+ _module__.PluginHost::JSONRPC::Unregister(_T("collectgarbage"));
229
+ _module__.PluginHost::JSONRPC::Unregister(_T("url"));
230
+ _module__.PluginHost::JSONRPC::Unregister(_T("visibility"));
231
+ _module__.PluginHost::JSONRPC::Unregister(_T("fps"));
232
+ _module__.PluginHost::JSONRPC::Unregister(_T("useragent"));
233
+ _module__.PluginHost::JSONRPC::Unregister(_T("localstorageenabled"));
234
+ _module__.PluginHost::JSONRPC::Unregister(_T("httpcookieacceptpolicy"));
235
+ _module__.PluginHost::JSONRPC::Unregister(_T("bridgereply"));
236
+ _module__.PluginHost::JSONRPC::Unregister(_T("bridgeevent"));
236
237
  }
237
238
 
238
239
  namespace Event {
239
240
 
240
241
  // Event: 'loadfinished' - Initial HTML document has been completely loaded and parsed
241
- static void LoadFinished(const JSONRPC& _module_, const JsonData::WebBrowser::LoadFinishedParamsData& params)
242
+ template<typename MODULE>
243
+ static void LoadFinished(const MODULE& module_, const JsonData::WebBrowser::LoadFinishedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
242
244
  {
243
- _module_.Notify(_T("loadfinished"), params);
245
+ module_.Notify(_T("loadfinished"), params, sendIfMethod_);
244
246
  }
245
247
 
246
248
  // Event: 'loadfinished' - Initial HTML document has been completely loaded and parsed
247
- static void LoadFinished(const JSONRPC& _module_, const Core::JSON::String& URL, const Core::JSON::DecSInt32& httpstatus)
249
+ template<typename MODULE>
250
+ static void LoadFinished(const MODULE& module_, const Core::JSON::String& URL, const Core::JSON::DecSInt32& httpstatus, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
248
251
  {
249
- JsonData::WebBrowser::LoadFinishedParamsData _params_;
250
- _params_.URL = URL;
251
- _params_.Httpstatus = httpstatus;
252
+ JsonData::WebBrowser::LoadFinishedParamsData params_;
253
+ params_.URL = URL;
254
+ params_.Httpstatus = httpstatus;
252
255
 
253
- LoadFinished(_module_, _params_);
256
+ LoadFinished(module_, params_, sendIfMethod_);
254
257
  }
255
258
 
256
259
  // Event: 'loadfinished' - Initial HTML document has been completely loaded and parsed
257
- static void LoadFinished(const JSONRPC& _module_, const string& URL, const int32_t& httpstatus)
260
+ template<typename MODULE>
261
+ static void LoadFinished(const MODULE& module_, const string& URL, const int32_t httpstatus, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
258
262
  {
259
- JsonData::WebBrowser::LoadFinishedParamsData _params_;
260
- _params_.URL = URL;
261
- _params_.Httpstatus = httpstatus;
263
+ JsonData::WebBrowser::LoadFinishedParamsData params_;
264
+ params_.URL = URL;
265
+ params_.Httpstatus = httpstatus;
262
266
 
263
- LoadFinished(_module_, _params_);
267
+ LoadFinished(module_, params_, sendIfMethod_);
264
268
  }
265
269
 
266
270
  // Event: 'loadfailed' - Browser failed to load page
267
- static void LoadFailed(const JSONRPC& _module_, const JsonData::WebBrowser::LoadFailedParamsData& params)
271
+ template<typename MODULE>
272
+ static void LoadFailed(const MODULE& module_, const JsonData::WebBrowser::LoadFailedParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
268
273
  {
269
- _module_.Notify(_T("loadfailed"), params);
274
+ module_.Notify(_T("loadfailed"), params, sendIfMethod_);
270
275
  }
271
276
 
272
277
  // Event: 'loadfailed' - Browser failed to load page
273
- static void LoadFailed(const JSONRPC& _module_, const Core::JSON::String& URL)
278
+ template<typename MODULE>
279
+ static void LoadFailed(const MODULE& module_, const Core::JSON::String& URL, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
274
280
  {
275
- JsonData::WebBrowser::LoadFailedParamsData _params_;
276
- _params_.URL = URL;
281
+ JsonData::WebBrowser::LoadFailedParamsData params_;
282
+ params_.URL = URL;
277
283
 
278
- LoadFailed(_module_, _params_);
284
+ LoadFailed(module_, params_, sendIfMethod_);
279
285
  }
280
286
 
281
287
  // Event: 'loadfailed' - Browser failed to load page
282
- static void LoadFailed(const JSONRPC& _module_, const string& URL)
288
+ template<typename MODULE>
289
+ static void LoadFailed(const MODULE& module_, const string& URL, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
283
290
  {
284
- JsonData::WebBrowser::LoadFailedParamsData _params_;
285
- _params_.URL = URL;
291
+ JsonData::WebBrowser::LoadFailedParamsData params_;
292
+ params_.URL = URL;
286
293
 
287
- LoadFailed(_module_, _params_);
294
+ LoadFailed(module_, params_, sendIfMethod_);
288
295
  }
289
296
 
290
297
  // Event: 'urlchange' - Signals a URL change in the browser
291
- static void URLChange(const JSONRPC& _module_, const JsonData::WebBrowser::URLChangeParamsData& params)
298
+ template<typename MODULE>
299
+ static void URLChange(const MODULE& module_, const JsonData::WebBrowser::URLChangeParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
292
300
  {
293
- _module_.Notify(_T("urlchange"), params);
301
+ module_.Notify(_T("urlchange"), params, sendIfMethod_);
294
302
  }
295
303
 
296
304
  // Event: 'urlchange' - Signals a URL change in the browser
297
- static void URLChange(const JSONRPC& _module_, const Core::JSON::String& URL, const Core::JSON::Boolean& loaded)
305
+ template<typename MODULE>
306
+ static void URLChange(const MODULE& module_, const Core::JSON::String& URL, const Core::JSON::Boolean& loaded, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
298
307
  {
299
- JsonData::WebBrowser::URLChangeParamsData _params_;
300
- _params_.URL = URL;
301
- _params_.Loaded = loaded;
308
+ JsonData::WebBrowser::URLChangeParamsData params_;
309
+ params_.URL = URL;
310
+ params_.Loaded = loaded;
302
311
 
303
- URLChange(_module_, _params_);
312
+ URLChange(module_, params_, sendIfMethod_);
304
313
  }
305
314
 
306
315
  // Event: 'urlchange' - Signals a URL change in the browser
307
- static void URLChange(const JSONRPC& _module_, const string& URL, const bool& loaded)
316
+ template<typename MODULE>
317
+ static void URLChange(const MODULE& module_, const string& URL, const bool loaded, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
308
318
  {
309
- JsonData::WebBrowser::URLChangeParamsData _params_;
310
- _params_.URL = URL;
311
- _params_.Loaded = loaded;
319
+ JsonData::WebBrowser::URLChangeParamsData params_;
320
+ params_.URL = URL;
321
+ params_.Loaded = loaded;
312
322
 
313
- URLChange(_module_, _params_);
323
+ URLChange(module_, params_, sendIfMethod_);
314
324
  }
315
325
 
316
326
  // Event: 'visibilitychange' - Signals a visibility change of the browser
317
- static void VisibilityChange(const JSONRPC& _module_, const JsonData::WebBrowser::VisibilityChangeParamsData& params)
327
+ template<typename MODULE>
328
+ static void VisibilityChange(const MODULE& module_, const JsonData::WebBrowser::VisibilityChangeParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
318
329
  {
319
- _module_.Notify(_T("visibilitychange"), params);
330
+ module_.Notify(_T("visibilitychange"), params, sendIfMethod_);
320
331
  }
321
332
 
322
333
  // Event: 'visibilitychange' - Signals a visibility change of the browser
323
- static void VisibilityChange(const JSONRPC& _module_, const Core::JSON::Boolean& hidden)
334
+ template<typename MODULE>
335
+ static void VisibilityChange(const MODULE& module_, const Core::JSON::Boolean& hidden, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
324
336
  {
325
- JsonData::WebBrowser::VisibilityChangeParamsData _params_;
326
- _params_.Hidden = hidden;
337
+ JsonData::WebBrowser::VisibilityChangeParamsData params_;
338
+ params_.Hidden = hidden;
327
339
 
328
- VisibilityChange(_module_, _params_);
340
+ VisibilityChange(module_, params_, sendIfMethod_);
329
341
  }
330
342
 
331
343
  // Event: 'visibilitychange' - Signals a visibility change of the browser
332
- static void VisibilityChange(const JSONRPC& _module_, const bool& hidden)
344
+ template<typename MODULE>
345
+ static void VisibilityChange(const MODULE& module_, const bool hidden, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
333
346
  {
334
- JsonData::WebBrowser::VisibilityChangeParamsData _params_;
335
- _params_.Hidden = hidden;
347
+ JsonData::WebBrowser::VisibilityChangeParamsData params_;
348
+ params_.Hidden = hidden;
336
349
 
337
- VisibilityChange(_module_, _params_);
350
+ VisibilityChange(module_, params_, sendIfMethod_);
338
351
  }
339
352
 
340
353
  // Event: 'pageclosure' - Notifies that the web page requests to close its window
341
- static void PageClosure(const JSONRPC& _module_)
354
+ template<typename MODULE>
355
+ static void PageClosure(const MODULE& module_, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
342
356
  {
343
- _module_.Notify(_T("pageclosure"));
357
+ module_.Notify(_T("pageclosure"), sendIfMethod_);
344
358
  }
345
359
 
346
360
  } // namespace Event
347
361
 
348
362
  POP_WARNING()
363
+ POP_WARNING()
364
+ POP_WARNING()
349
365
 
350
366
  } // namespace JWebBrowser
351
367
 
352
368
  } // namespace Exchange
353
369
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWebKitBrowser.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'WebKitBrowser.json'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_WebKitBrowser.h"
7
6
 
8
7
  namespace WPEFramework {
9
8
 
@@ -16,10 +15,11 @@ namespace Exchange {
16
15
  constexpr uint8_t Major = 1;
17
16
  constexpr uint8_t Minor = 0;
18
17
  constexpr uint8_t Patch = 0;
19
18
 
20
19
  } // namespace Version
20
+
21
21
  } // namespace JWebKitBrowser
22
22
 
23
23
  } // namespace Exchange
24
24
 
25
25
  } // namespace WPEFramework
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JWifiControl.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IWifiControl.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_WifiControl.h"
7
6
  #include <interfaces/IWifiControl.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,229 +17,267 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IWifiControl* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IWifiControl* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JWifiControl"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JWifiControl"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'scan' - Trigger Scanning
36
- _module_.Register<void, void>(_T("scan"),
37
- [_impl_]() -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("scan"),
37
+ [_implementation__]() -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- _errorCode = _impl_->Scan();
40
+ _errorCode__ = _implementation__->Scan();
41
41
 
42
- return (_errorCode);
42
+ return (_errorCode__);
43
43
  });
44
44
 
45
45
  // Method: 'abortscan' - Abort Currentlt running scan
46
- _module_.Register<void, void>(_T("abortscan"),
47
- [_impl_]() -> uint32_t {
48
- uint32_t _errorCode = Core::ERROR_NONE;
46
+ _module__.PluginHost::JSONRPC::Register<void, void>(_T("abortscan"),
47
+ [_implementation__]() -> uint32_t {
48
+ uint32_t _errorCode__ = Core::ERROR_NONE;
49
49
 
50
- _errorCode = _impl_->AbortScan();
50
+ _errorCode__ = _implementation__->AbortScan();
51
51
 
52
- return (_errorCode);
52
+ return (_errorCode__);
53
53
  });
54
54
 
55
55
  // Method: 'connect' - Connect device to requested SSID
56
- _module_.Register<JsonData::WifiControl::ConnectParamsInfo, void>(_T("connect"),
57
- [_impl_](const JsonData::WifiControl::ConnectParamsInfo& params) -> uint32_t {
58
- uint32_t _errorCode = Core::ERROR_NONE;
56
+ _module__.PluginHost::JSONRPC::Register<JsonData::WifiControl::ConnectParamsInfo, void>(_T("connect"),
57
+ [_implementation__](const JsonData::WifiControl::ConnectParamsInfo& params) -> uint32_t {
58
+ uint32_t _errorCode__ = Core::ERROR_NONE;
59
59
 
60
- const string _configSSID{params.ConfigSSID};
60
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
61
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
62
+ }
63
+ else {
64
+ const string _configSSID_{params.ConfigSSID};
61
65
 
62
- _errorCode = _impl_->Connect(_configSSID);
66
+ _errorCode__ = _implementation__->Connect(_configSSID_);
67
+
68
+ }
63
69
 
64
- return (_errorCode);
70
+ return (_errorCode__);
65
71
  });
66
72
 
67
73
  // Method: 'disconnect' - Disconnect device from requested SSID
68
- _module_.Register<JsonData::WifiControl::ConnectParamsInfo, void>(_T("disconnect"),
69
- [_impl_](const JsonData::WifiControl::ConnectParamsInfo& params) -> uint32_t {
70
- uint32_t _errorCode = Core::ERROR_NONE;
74
+ _module__.PluginHost::JSONRPC::Register<JsonData::WifiControl::ConnectParamsInfo, void>(_T("disconnect"),
75
+ [_implementation__](const JsonData::WifiControl::ConnectParamsInfo& params) -> uint32_t {
76
+ uint32_t _errorCode__ = Core::ERROR_NONE;
71
77
 
72
- const string _configSSID{params.ConfigSSID};
78
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
79
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
80
+ }
81
+ else {
82
+ const string _configSSID_{params.ConfigSSID};
83
+
84
+ _errorCode__ = _implementation__->Disconnect(_configSSID_);
73
85
 
74
- _errorCode = _impl_->Disconnect(_configSSID);
86
+ }
75
87
 
76
- return (_errorCode);
88
+ return (_errorCode__);
77
89
  });
78
90
 
79
91
  // Method: 'status' - Status of current device, like which SSID is connected and it is in scanning state or not
80
- _module_.Register<void, JsonData::WifiControl::StatusResultData>(_T("status"),
81
- [_impl_](JsonData::WifiControl::StatusResultData& result) -> uint32_t {
82
- uint32_t _errorCode = Core::ERROR_NONE;
92
+ _module__.PluginHost::JSONRPC::Register<void, JsonData::WifiControl::StatusResultData>(_T("status"),
93
+ [_implementation__](JsonData::WifiControl::StatusResultData& result) -> uint32_t {
94
+ uint32_t _errorCode__ = Core::ERROR_NONE;
83
95
 
84
- string _connectedSsid{};
85
- bool _isScanning{};
96
+ string _connectedSsid_{};
97
+ bool _isScanning_{};
86
98
 
87
- _errorCode = _impl_->Status(_connectedSsid, _isScanning);
99
+ _errorCode__ = _implementation__->Status(_connectedSsid_, _isScanning_);
88
100
 
89
- if (_errorCode == Core::ERROR_NONE) {
90
- result.ConnectedSsid = _connectedSsid;
91
- result.IsScanning = _isScanning;
101
+ if (_errorCode__ == Core::ERROR_NONE) {
102
+ result.ConnectedSsid = _connectedSsid_;
103
+ result.IsScanning = _isScanning_;
92
104
  }
93
105
 
94
- return (_errorCode);
106
+ return (_errorCode__);
95
107
  });
96
108
 
97
109
  // Property: 'networks' - Provides available networks information (r/o)
98
- _module_.Register<void, Core::JSON::ArrayType<JsonData::WifiControl::NetworkInfoData>>(_T("networks"),
99
- [_impl_](Core::JSON::ArrayType<JsonData::WifiControl::NetworkInfoData>& result) -> uint32_t {
100
- uint32_t _errorCode = Core::ERROR_NONE;
110
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<JsonData::WifiControl::NetworkInfoData>>(_T("networks"),
111
+ [_implementation__](Core::JSON::ArrayType<JsonData::WifiControl::NetworkInfoData>& result) -> uint32_t {
112
+ uint32_t _errorCode__ = Core::ERROR_NONE;
101
113
 
102
- // read-only property get
103
- ::WPEFramework::RPC::IIteratorType<IWifiControl::NetworkInfo, ID_WIFICONTROL_NETWORK_INFO_ITERATOR>* _result{};
114
+ ::WPEFramework::RPC::IIteratorType<IWifiControl::NetworkInfo, ID_WIFICONTROL_NETWORK_INFO_ITERATOR>* _result_{};
104
115
 
105
- _errorCode = _impl_->Networks(_result);
116
+ _errorCode__ = _implementation__->Networks(_result_);
106
117
 
107
- if (_errorCode == Core::ERROR_NONE) {
118
+ if (_errorCode__ == Core::ERROR_NONE) {
119
+ result.Set(true);
108
120
 
109
- if (_result != nullptr) {
110
- Exchange::IWifiControl::NetworkInfo _resultItem_{};
111
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
112
- _result->Release();
121
+ if (_result_ != nullptr) {
122
+ Exchange::IWifiControl::NetworkInfo _resultItem__{};
123
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
124
+ _result_->Release();
113
125
  }
114
126
  }
115
127
 
116
- return (_errorCode);
128
+ return (_errorCode__);
117
129
  });
118
130
 
119
131
  // Indexed Property: 'securities' - Provides security method of requested SSID (r/o)
120
- _module_.Register<void, Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>, std::function<uint32_t(const string&,
121
- Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>&)>>(_T("securities"),
122
- [_impl_](const string& _index_, Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>& result) -> uint32_t {
123
- uint32_t _errorCode = Core::ERROR_NONE;
132
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>, std::function<uint32_t(const string&, Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>&)>>(_T("securities"),
133
+ [_implementation__](const string& ssid, Core::JSON::ArrayType<JsonData::WifiControl::SecurityInfoData>& result) -> uint32_t {
134
+ uint32_t _errorCode__ = Core::ERROR_NONE;
135
+
136
+ if (ssid.empty() == true) {
137
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
138
+ }
124
139
 
125
- // read-only property get
126
- ::WPEFramework::RPC::IIteratorType<IWifiControl::SecurityInfo, ID_WIFICONTROL_SECURITY_INFO_ITERATOR>* _result{};
140
+ if (_errorCode__ == Core::ERROR_NONE) {
141
+ ::WPEFramework::RPC::IIteratorType<IWifiControl::SecurityInfo, ID_WIFICONTROL_SECURITY_INFO_ITERATOR>* _result_{};
127
142
 
128
- _errorCode = _impl_->Securities(_index_, _result);
143
+ _errorCode__ = _implementation__->Securities(ssid, _result_);
129
144
 
130
- if (_errorCode == Core::ERROR_NONE) {
145
+ if (_errorCode__ == Core::ERROR_NONE) {
146
+ result.Set(true);
131
147
 
132
- if (_result != nullptr) {
133
- Exchange::IWifiControl::SecurityInfo _resultItem_{};
134
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
135
- _result->Release();
148
+ if (_result_ != nullptr) {
149
+ Exchange::IWifiControl::SecurityInfo _resultItem__{};
150
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
151
+ _result_->Release();
152
+ }
136
153
  }
137
154
  }
138
155
 
139
- return (_errorCode);
156
+ return (_errorCode__);
140
157
  });
141
158
 
142
159
  // Property: 'configs' - Provides configs list (r/o)
143
- _module_.Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("configs"),
144
- [_impl_](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
145
- uint32_t _errorCode = Core::ERROR_NONE;
160
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::ArrayType<Core::JSON::String>>(_T("configs"),
161
+ [_implementation__](Core::JSON::ArrayType<Core::JSON::String>& result) -> uint32_t {
162
+ uint32_t _errorCode__ = Core::ERROR_NONE;
146
163
 
147
- // read-only property get
148
- ::WPEFramework::RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>* _result{};
164
+ ::WPEFramework::RPC::IIteratorType<string, ::WPEFramework::RPC::ID_STRINGITERATOR>* _result_{};
149
165
 
150
- _errorCode = _impl_->Configs(_result);
166
+ _errorCode__ = _implementation__->Configs(_result_);
151
167
 
152
- if (_errorCode == Core::ERROR_NONE) {
168
+ if (_errorCode__ == Core::ERROR_NONE) {
169
+ result.Set(true);
153
170
 
154
- if (_result != nullptr) {
155
- string _resultItem_{};
156
- while (_result->Next(_resultItem_) == true) { result.Add() = _resultItem_; }
157
- _result->Release();
171
+ if (_result_ != nullptr) {
172
+ string _resultItem__{};
173
+ while (_result_->Next(_resultItem__) == true) { result.Add() = _resultItem__; }
174
+ _result_->Release();
158
175
  }
159
176
  }
160
177
 
161
- return (_errorCode);
178
+ return (_errorCode__);
162
179
  });
163
180
 
164
181
  // Indexed Property: 'config' - Provide config details for requested SSID
165
- _module_.Register<JsonData::WifiControl::ConfigData, JsonData::WifiControl::ConfigInfoInfo, std::function<uint32_t(const string&,
166
- const JsonData::WifiControl::ConfigData&, JsonData::WifiControl::ConfigInfoInfo&)>>(_T("config"),
167
- [_impl_](const string& _index_, const JsonData::WifiControl::ConfigData& params, JsonData::WifiControl::ConfigInfoInfo& result) -> uint32_t {
168
- uint32_t _errorCode = Core::ERROR_NONE;
182
+ _module__.PluginHost::JSONRPC::Register<JsonData::WifiControl::ConfigData, JsonData::WifiControl::ConfigInfoInfo, std::function<uint32_t(const string&, const JsonData::WifiControl::ConfigData&, JsonData::WifiControl::ConfigInfoInfo&)>>(_T("config"),
183
+ [_implementation__](const string& ssid, const JsonData::WifiControl::ConfigData& params, JsonData::WifiControl::ConfigInfoInfo& result) -> uint32_t {
184
+ uint32_t _errorCode__ = Core::ERROR_NONE;
185
+
186
+ if (ssid.empty() == true) {
187
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
188
+ }
169
189
 
170
- if (params.IsSet() == false) {
171
- // property get
172
- Exchange::IWifiControl::ConfigInfo _result{};
190
+ if (_errorCode__ == Core::ERROR_NONE) {
173
191
 
174
- _errorCode = (static_cast<const IWifiControl*>(_impl_))->Config(_index_, _result);
192
+ if (params.IsSet() == false) {
193
+ Exchange::IWifiControl::ConfigInfo _result_{};
175
194
 
176
- if (_errorCode == Core::ERROR_NONE) {
177
- result = _result;
195
+ _errorCode__ = (static_cast<const IWifiControl*>(_implementation__))->Config(ssid, _result_);
196
+
197
+ if (_errorCode__ == Core::ERROR_NONE) {
198
+ result.Set(true);
199
+ result = _result_;
200
+ }
178
201
  }
202
+ else {
203
+
204
+ if (params.IsDataValid() == false) {
205
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
206
+ }
207
+ else {
208
+ const Exchange::IWifiControl::ConfigInfo _value_(params.Value);
179
209
 
180
- } else {
181
- // property set
182
- const Exchange::IWifiControl::ConfigInfo _value(params.Value);
210
+ _errorCode__ = _implementation__->Config(ssid, _value_);
183
211
 
184
- _errorCode = _impl_->Config(_index_, _value);
212
+ }
185
213
 
186
- // result.Null(true);
214
+ result.Null(true);
215
+ }
187
216
  }
188
- return (_errorCode);
217
+
218
+ return (_errorCode__);
189
219
  });
190
220
 
191
221
  }
192
222
 
193
- static void Unregister(JSONRPC& _module_)
223
+ template<typename MODULE>
224
+ static void Unregister(MODULE& _module__)
194
225
  {
195
226
  // Unregister methods and properties...
196
- _module_.Unregister(_T("scan"));
197
- _module_.Unregister(_T("abortscan"));
198
- _module_.Unregister(_T("connect"));
199
- _module_.Unregister(_T("disconnect"));
200
- _module_.Unregister(_T("status"));
201
- _module_.Unregister(_T("networks"));
202
- _module_.Unregister(_T("securities"));
203
- _module_.Unregister(_T("configs"));
204
- _module_.Unregister(_T("config"));
227
+ _module__.PluginHost::JSONRPC::Unregister(_T("scan"));
228
+ _module__.PluginHost::JSONRPC::Unregister(_T("abortscan"));
229
+ _module__.PluginHost::JSONRPC::Unregister(_T("connect"));
230
+ _module__.PluginHost::JSONRPC::Unregister(_T("disconnect"));
231
+ _module__.PluginHost::JSONRPC::Unregister(_T("status"));
232
+ _module__.PluginHost::JSONRPC::Unregister(_T("networks"));
233
+ _module__.PluginHost::JSONRPC::Unregister(_T("securities"));
234
+ _module__.PluginHost::JSONRPC::Unregister(_T("configs"));
235
+ _module__.PluginHost::JSONRPC::Unregister(_T("config"));
205
236
  }
206
237
 
207
238
  namespace Event {
208
239
 
209
240
  // Event: 'networkchange' - Notifies that Network were added, removed or modified
210
- static void NetworkChange(const JSONRPC& _module_)
241
+ template<typename MODULE>
242
+ static void NetworkChange(const MODULE& module_, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
211
243
  {
212
- _module_.Notify(_T("networkchange"));
244
+ module_.Notify(_T("networkchange"), sendIfMethod_);
213
245
  }
214
246
 
215
247
  // Event: 'connectionchange' - Notifies that wifi connection changes
216
- static void ConnectionChange(const JSONRPC& _module_, const JsonData::WifiControl::ConnectionChangeParamsData& params)
248
+ template<typename MODULE>
249
+ static void ConnectionChange(const MODULE& module_, const JsonData::WifiControl::ConnectionChangeParamsData& params, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
217
250
  {
218
- _module_.Notify(_T("connectionchange"), params);
251
+ module_.Notify(_T("connectionchange"), params, sendIfMethod_);
219
252
  }
220
253
 
221
254
  // Event: 'connectionchange' - Notifies that wifi connection changes
222
- static void ConnectionChange(const JSONRPC& _module_, const Core::JSON::String& ssid)
255
+ template<typename MODULE>
256
+ static void ConnectionChange(const MODULE& module_, const Core::JSON::String& ssid, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
223
257
  {
224
- JsonData::WifiControl::ConnectionChangeParamsData _params_;
225
- _params_.Ssid = ssid;
258
+ JsonData::WifiControl::ConnectionChangeParamsData params_;
259
+ params_.Ssid = ssid;
226
260
 
227
- ConnectionChange(_module_, _params_);
261
+ ConnectionChange(module_, params_, sendIfMethod_);
228
262
  }
229
263
 
230
264
  // Event: 'connectionchange' - Notifies that wifi connection changes
231
- static void ConnectionChange(const JSONRPC& _module_, const string& ssid)
265
+ template<typename MODULE>
266
+ static void ConnectionChange(const MODULE& module_, const string& ssid, typename MODULE::SendIfMethod sendIfMethod_ = nullptr)
232
267
  {
233
- JsonData::WifiControl::ConnectionChangeParamsData _params_;
234
- _params_.Ssid = ssid;
268
+ JsonData::WifiControl::ConnectionChangeParamsData params_;
269
+ params_.Ssid = ssid;
235
270
 
236
- ConnectionChange(_module_, _params_);
271
+ ConnectionChange(module_, params_, sendIfMethod_);
237
272
  }
238
273
 
239
274
  } // namespace Event
240
275
 
241
276
  POP_WARNING()
277
+ POP_WARNING()
278
+ POP_WARNING()
242
279
 
243
280
  } // namespace JWifiControl
244
281
 
245
282
  } // namespace Exchange
246
283
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JZigWave.h RENAMED
@@ -1,9 +1,8 @@
1
1
  // Generated automatically from 'IZigWave.h'. DO NOT EDIT.
2
2
 
3
3
  #pragma once
4
-
5
4
  #include "Module.h"
6
5
  #include "JsonData_ZigWave.h"
7
6
  #include <interfaces/IZigWave.h>
8
7
 
9
8
  namespace WPEFramework {
@@ -18,152 +17,204 @@ namespace Exchange {
18
17
  constexpr uint8_t Minor = 0;
19
18
  constexpr uint8_t Patch = 0;
20
19
 
21
20
  } // namespace Version
22
21
 
23
- using JSONRPC = PluginHost::JSONRPC;
24
-
25
22
  PUSH_WARNING(DISABLE_WARNING_UNUSED_FUNCTIONS)
23
+ PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
24
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
26
25
 
27
- static void Register(JSONRPC& _module_, IZigWave* _impl_)
26
+ template<typename MODULE>
27
+ static void Register(MODULE& _module__, IZigWave* _implementation__)
28
28
  {
29
- ASSERT(_impl_ != nullptr);
29
+ ASSERT(_implementation__ != nullptr);
30
30
 
31
- _module_.RegisterVersion(_T("JZigWave"), Version::Major, Version::Minor, Version::Patch);
31
+ _module__.PluginHost::JSONRPC::RegisterVersion(_T("JZigWave"), Version::Major, Version::Minor, Version::Patch);
32
32
 
33
33
  // Register methods and properties...
34
34
 
35
35
  // Method: 'bind' - Bind the *out* from the soure to the *in* of the destination
36
- _module_.Register<JsonData::ZigWave::BindParamsInfo, void>(_T("bind"),
37
- [_impl_](const JsonData::ZigWave::BindParamsInfo& params) -> uint32_t {
38
- uint32_t _errorCode = Core::ERROR_NONE;
36
+ _module__.PluginHost::JSONRPC::Register<JsonData::ZigWave::BindParamsInfo, void>(_T("bind"),
37
+ [_implementation__](const JsonData::ZigWave::BindParamsInfo& params) -> uint32_t {
38
+ uint32_t _errorCode__ = Core::ERROR_NONE;
39
39
 
40
- const uint32_t _source{params.Source};
41
- const uint32_t _destination{params.Destination};
40
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
41
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
42
+ }
43
+ else {
44
+ const uint32_t _source_{params.Source};
45
+ const uint32_t _destination_{params.Destination};
42
46
 
43
- _errorCode = _impl_->Bind(_source, _destination);
47
+ _errorCode__ = _implementation__->Bind(_source_, _destination_);
48
+
49
+ }
44
50
 
45
- return (_errorCode);
51
+ return (_errorCode__);
46
52
  });
47
53
 
48
54
  // Method: 'unbind' - Unbind the *out* from the soure to the *in* of the destination
49
- _module_.Register<JsonData::ZigWave::BindParamsInfo, void>(_T("unbind"),
50
- [_impl_](const JsonData::ZigWave::BindParamsInfo& params) -> uint32_t {
51
- uint32_t _errorCode = Core::ERROR_NONE;
55
+ _module__.PluginHost::JSONRPC::Register<JsonData::ZigWave::BindParamsInfo, void>(_T("unbind"),
56
+ [_implementation__](const JsonData::ZigWave::BindParamsInfo& params) -> uint32_t {
57
+ uint32_t _errorCode__ = Core::ERROR_NONE;
52
58
 
53
- const uint32_t _source{params.Source};
54
- const uint32_t _destination{params.Destination};
59
+ if ((params.IsSet() == false) || (params.IsDataValid() == false)) {
60
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
61
+ }
62
+ else {
63
+ const uint32_t _source_{params.Source};
64
+ const uint32_t _destination_{params.Destination};
65
+
66
+ _errorCode__ = _implementation__->Unbind(_source_, _destination_);
55
67
 
56
- _errorCode = _impl_->Unbind(_source, _destination);
68
+ }
57
69
 
58
- return (_errorCode);
70
+ return (_errorCode__);
59
71
  });
60
72
 
61
73
  // Indexed Property: 'permutable' - To allow new devices to the network, the controller should be placed into an accepting mode
62
- _module_.Register<JsonData::ZigWave::PermutableInfo, Core::JSON::Boolean, std::function<uint32_t(const string&,
63
- const JsonData::ZigWave::PermutableInfo&, Core::JSON::Boolean&)>>(_T("permutable"),
64
- [_impl_](const string& _index_, const JsonData::ZigWave::PermutableInfo& params, Core::JSON::Boolean& result) -> uint32_t {
65
- uint32_t _errorCode = Core::ERROR_NONE;
74
+ _module__.PluginHost::JSONRPC::Register<JsonData::ZigWave::PermutableInfo, Core::JSON::Boolean, std::function<uint32_t(const string&, const JsonData::ZigWave::PermutableInfo&, Core::JSON::Boolean&)>>(_T("permutable"),
75
+ [_implementation__](const string& address, const JsonData::ZigWave::PermutableInfo& params, Core::JSON::Boolean& result) -> uint32_t {
76
+ uint32_t _errorCode__ = Core::ERROR_NONE;
77
+
78
+ uint32_t _addressConv__{};
79
+
80
+ if (address.empty() == true) {
81
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
82
+ }
83
+ else {
84
+ const bool _addressConvResult__ = Core::FromString(address, _addressConv__);
66
85
 
67
- uint32_t _indexConverted_{};
86
+ if (_addressConvResult__ == false) {
87
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
88
+ }
89
+ }
90
+
91
+ if (_errorCode__ == Core::ERROR_NONE) {
68
92
 
69
- if ((_index_.empty() == true) || (Core::FromString(_index_, _indexConverted_) == false)) {
70
- _errorCode = Core::ERROR_UNKNOWN_KEY;
71
- result.Null(true);
72
- } else {
73
93
  if (params.IsSet() == false) {
74
- // property get
75
- bool _result{};
94
+ bool _result_{};
95
+
96
+ _errorCode__ = (static_cast<const IZigWave*>(_implementation__))->Permutable(_addressConv__, _result_);
76
97
 
77
- _errorCode = (static_cast<const IZigWave*>(_impl_))->Permutable(_indexConverted_, _result);
98
+ if (_errorCode__ == Core::ERROR_NONE) {
99
+ result = _result_;
100
+ }
101
+ }
102
+ else {
78
103
 
79
- if (_errorCode == Core::ERROR_NONE) {
80
- result = _result;
104
+ if (params.IsDataValid() == false) {
105
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
81
106
  }
107
+ else {
108
+ const bool _value_{params.Value};
82
109
 
83
- } else {
84
- // property set
85
- const bool _value{params.Value};
110
+ _errorCode__ = _implementation__->Permutable(_addressConv__, _value_);
86
111
 
87
- _errorCode = _impl_->Permutable(_indexConverted_, _value);
112
+ }
88
113
 
89
114
  result.Null(true);
90
115
  }
91
116
  }
92
- return (_errorCode);
117
+
118
+ return (_errorCode__);
93
119
  });
94
120
 
95
121
  // Indexed Property: 'accept' - To allow new devices to the network, the controller should be placed into an accepting mode
96
- _module_.Register<JsonData::ZigWave::PermutableInfo, Core::JSON::Boolean, std::function<uint32_t(const string&,
97
- const JsonData::ZigWave::PermutableInfo&, Core::JSON::Boolean&)>>(_T("accept"),
98
- [_impl_](const string& _index_, const JsonData::ZigWave::PermutableInfo& params, Core::JSON::Boolean& result) -> uint32_t {
99
- uint32_t _errorCode = Core::ERROR_NONE;
122
+ _module__.PluginHost::JSONRPC::Register<JsonData::ZigWave::PermutableInfo, Core::JSON::Boolean, std::function<uint32_t(const string&, const JsonData::ZigWave::PermutableInfo&, Core::JSON::Boolean&)>>(_T("accept"),
123
+ [_implementation__](const string& address, const JsonData::ZigWave::PermutableInfo& params, Core::JSON::Boolean& result) -> uint32_t {
124
+ uint32_t _errorCode__ = Core::ERROR_NONE;
100
125
 
101
- uint32_t _indexConverted_{};
126
+ uint32_t _addressConv__{};
127
+
128
+ if (address.empty() == true) {
129
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
130
+ }
131
+ else {
132
+ const bool _addressConvResult__ = Core::FromString(address, _addressConv__);
133
+
134
+ if (_addressConvResult__ == false) {
135
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
136
+ }
137
+ }
138
+
139
+ if (_errorCode__ == Core::ERROR_NONE) {
102
140
 
103
- if ((_index_.empty() == true) || (Core::FromString(_index_, _indexConverted_) == false)) {
104
- _errorCode = Core::ERROR_UNKNOWN_KEY;
105
- result.Null(true);
106
- } else {
107
141
  if (params.IsSet() == false) {
108
- // property get
109
- bool _result{};
142
+ bool _result_{};
110
143
 
111
- _errorCode = (static_cast<const IZigWave*>(_impl_))->Permutable(_indexConverted_, _result);
144
+ _errorCode__ = (static_cast<const IZigWave*>(_implementation__))->Permutable(_addressConv__, _result_);
112
145
 
113
- if (_errorCode == Core::ERROR_NONE) {
114
- result = _result;
146
+ if (_errorCode__ == Core::ERROR_NONE) {
147
+ result = _result_;
115
148
  }
149
+ }
150
+ else {
116
151
 
117
- } else {
118
- // property set
119
- const bool _value{params.Value};
152
+ if (params.IsDataValid() == false) {
153
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
154
+ }
155
+ else {
156
+ const bool _value_{params.Value};
120
157
 
121
- _errorCode = _impl_->Permutable(_indexConverted_, _value);
158
+ _errorCode__ = _implementation__->Permutable(_addressConv__, _value_);
159
+
160
+ }
122
161
 
123
162
  result.Null(true);
124
163
  }
125
164
  }
126
- return (_errorCode);
165
+
166
+ return (_errorCode__);
127
167
  });
128
168
 
129
169
  // Indexed Property: 'device' - To allow new devices to the network, the controller should be placed into an accepting mode (r/o)
130
- _module_.Register<void, Core::JSON::String, std::function<uint32_t(const string&, Core::JSON::String&)>>(_T("device"),
131
- [_impl_](const string& _index_, Core::JSON::String& result) -> uint32_t {
132
- uint32_t _errorCode = Core::ERROR_NONE;
170
+ _module__.PluginHost::JSONRPC::Register<void, Core::JSON::String, std::function<uint32_t(const string&, Core::JSON::String&)>>(_T("device"),
171
+ [_implementation__](const string& id, Core::JSON::String& result) -> uint32_t {
172
+ uint32_t _errorCode__ = Core::ERROR_NONE;
133
173
 
134
- uint32_t _indexConverted_{};
174
+ uint32_t _idConv__{};
135
175
 
136
- if ((_index_.empty() == true) || (Core::FromString(_index_, _indexConverted_) == false)) {
137
- _errorCode = Core::ERROR_UNKNOWN_KEY;
138
- } else {
139
- // read-only property get
140
- string _result{};
141
-
142
- _errorCode = _impl_->Device(_indexConverted_, _result);
176
+ if (id.empty() == true) {
177
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
178
+ }
179
+ else {
180
+ const bool _idConvResult__ = Core::FromString(id, _idConv__);
143
181
 
144
- if (_errorCode == Core::ERROR_NONE) {
145
- result = _result;
182
+ if (_idConvResult__ == false) {
183
+ _errorCode__ = Core::ERROR_BAD_REQUEST;
146
184
  }
185
+ }
186
+
187
+ if (_errorCode__ == Core::ERROR_NONE) {
188
+ string _result_{};
189
+
190
+ _errorCode__ = _implementation__->Device(_idConv__, _result_);
147
191
 
192
+ if (_errorCode__ == Core::ERROR_NONE) {
193
+ result = _result_;
194
+ }
148
195
  }
149
- return (_errorCode);
196
+
197
+ return (_errorCode__);
150
198
  });
151
199
 
152
200
  }
153
201
 
154
- static void Unregister(JSONRPC& _module_)
202
+ template<typename MODULE>
203
+ static void Unregister(MODULE& _module__)
155
204
  {
156
205
  // Unregister methods and properties...
157
- _module_.Unregister(_T("bind"));
158
- _module_.Unregister(_T("unbind"));
159
- _module_.Unregister(_T("permutable"));
160
- _module_.Unregister(_T("accept"));
161
- _module_.Unregister(_T("device"));
206
+ _module__.PluginHost::JSONRPC::Unregister(_T("bind"));
207
+ _module__.PluginHost::JSONRPC::Unregister(_T("unbind"));
208
+ _module__.PluginHost::JSONRPC::Unregister(_T("permutable"));
209
+ _module__.PluginHost::JSONRPC::Unregister(_T("accept"));
210
+ _module__.PluginHost::JSONRPC::Unregister(_T("device"));
162
211
  }
163
212
 
164
213
  POP_WARNING()
214
+ POP_WARNING()
215
+ POP_WARNING()
165
216
 
166
217
  } // namespace JZigWave
167
218
 
168
219
  } // namespace Exchange
169
220
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_AVSController.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for AVSController API JSON-RPC API.
1
+ // C++ types for AVSController API.
2
2
  // Generated automatically from 'IAVSClient.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace AVSController {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace AVSController
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IAVSController::INotification::dialoguestate)
26
30
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_AppManager.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for AppManager API JSON-RPC API.
1
+ // C++ types for AppManager API.
2
2
  // Generated automatically from 'IAppManager.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace AppManager {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -24,17 +26,23 @@ namespace JsonData {
24
26
  {
25
27
  Add(_T("appId"), &AppId);
26
28
  Add(_T("key"), &Key);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  GetAppMetaInfoParamsInfo(const GetAppMetaInfoParamsInfo&) = delete;
32
+ GetAppMetaInfoParamsInfo(GetAppMetaInfoParamsInfo&&) noexcept = delete;
33
+
35
34
  GetAppMetaInfoParamsInfo& operator=(const GetAppMetaInfoParamsInfo&) = delete;
35
+ GetAppMetaInfoParamsInfo& operator=(GetAppMetaInfoParamsInfo&&) noexcept = delete;
36
+
37
+ ~GetAppMetaInfoParamsInfo() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((AppId.IsSet() == true) && (Key.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::String AppId;
39
47
  Core::JSON::String Key;
40
48
  }; // class GetAppMetaInfoParamsInfo
@@ -47,17 +55,23 @@ namespace JsonData {
47
55
  Add(_T("appId"), &AppId);
48
56
  Add(_T("intent"), &Intent);
49
57
  Add(_T("launchArgs"), &LaunchArgs);
50
58
  }
51
59
 
52
- bool IsValid() const
53
- {
54
- return (true);
55
- }
56
-
57
60
  LaunchAppParamsInfo(const LaunchAppParamsInfo&) = delete;
61
+ LaunchAppParamsInfo(LaunchAppParamsInfo&&) noexcept = delete;
62
+
58
63
  LaunchAppParamsInfo& operator=(const LaunchAppParamsInfo&) = delete;
64
+ LaunchAppParamsInfo& operator=(LaunchAppParamsInfo&&) noexcept = delete;
65
+
66
+ ~LaunchAppParamsInfo() = default;
67
+
68
+ public:
69
+ bool IsDataValid() const
70
+ {
71
+ return ((AppId.IsSet() == true) && (Intent.IsSet() == true) && (LaunchArgs.IsSet() == true));
72
+ }
59
73
 
60
74
  public:
61
75
  Core::JSON::String AppId;
62
76
  Core::JSON::String Intent;
63
77
  Core::JSON::String LaunchArgs;
@@ -69,17 +83,23 @@ namespace JsonData {
69
83
  : Core::JSON::Container()
70
84
  {
71
85
  Add(_T("appId"), &AppId);
72
86
  }
73
87
 
74
- bool IsValid() const
75
- {
76
- return (true);
77
- }
78
-
79
88
  PrepareAppParamsInfo(const PrepareAppParamsInfo&) = delete;
89
+ PrepareAppParamsInfo(PrepareAppParamsInfo&&) noexcept = delete;
90
+
80
91
  PrepareAppParamsInfo& operator=(const PrepareAppParamsInfo&) = delete;
92
+ PrepareAppParamsInfo& operator=(PrepareAppParamsInfo&&) noexcept = delete;
93
+
94
+ ~PrepareAppParamsInfo() = default;
95
+
96
+ public:
97
+ bool IsDataValid() const
98
+ {
99
+ return (AppId.IsSet() == true);
100
+ }
81
101
 
82
102
  public:
83
103
  Core::JSON::String AppId;
84
104
  }; // class PrepareAppParamsInfo
85
105
 
@@ -93,17 +113,23 @@ namespace JsonData {
93
113
  {
94
114
  Add(_T("appId"), &AppId);
95
115
  Add(_T("version"), &Version);
96
116
  }
97
117
 
98
- bool IsValid() const
99
- {
100
- return (true);
101
- }
102
-
103
118
  OnAppInstalledParamsData(const OnAppInstalledParamsData&) = delete;
119
+ OnAppInstalledParamsData(OnAppInstalledParamsData&&) noexcept = delete;
120
+
104
121
  OnAppInstalledParamsData& operator=(const OnAppInstalledParamsData&) = delete;
122
+ OnAppInstalledParamsData& operator=(OnAppInstalledParamsData&&) noexcept = delete;
123
+
124
+ ~OnAppInstalledParamsData() = default;
125
+
126
+ public:
127
+ bool IsDataValid() const
128
+ {
129
+ return ((AppId.IsSet() == true) && (Version.IsSet() == true));
130
+ }
105
131
 
106
132
  public:
107
133
  Core::JSON::String AppId; // id of the application
108
134
  Core::JSON::String Version; // The version string of the app. This is a free form non-empty string
109
135
  }; // class OnAppInstalledParamsData
@@ -116,17 +142,23 @@ namespace JsonData {
116
142
  Add(_T("appId"), &AppId);
117
143
  Add(_T("intent"), &Intent);
118
144
  Add(_T("source"), &Source);
119
145
  }
120
146
 
121
- bool IsValid() const
122
- {
123
- return (true);
124
- }
125
-
126
147
  OnAppLaunchRequestParamsData(const OnAppLaunchRequestParamsData&) = delete;
148
+ OnAppLaunchRequestParamsData(OnAppLaunchRequestParamsData&&) noexcept = delete;
149
+
127
150
  OnAppLaunchRequestParamsData& operator=(const OnAppLaunchRequestParamsData&) = delete;
151
+ OnAppLaunchRequestParamsData& operator=(OnAppLaunchRequestParamsData&&) noexcept = delete;
152
+
153
+ ~OnAppLaunchRequestParamsData() = default;
154
+
155
+ public:
156
+ bool IsDataValid() const
157
+ {
158
+ return ((AppId.IsSet() == true) && (Intent.IsSet() == true) && (Source.IsSet() == true));
159
+ }
128
160
 
129
161
  public:
130
162
  Core::JSON::String AppId; // The source of the launch request
131
163
  Core::JSON::String Intent; // intent object (JSON format)
132
164
  Core::JSON::String Source; // This event is a stop-gap and expected to be deprecated in the future. Triggered when an app launch request is received from an external component. For example DIAL launch request, or app to app launch requested from a running Firebolt app.
@@ -139,17 +171,23 @@ namespace JsonData {
139
171
  {
140
172
  Add(_T("appId"), &AppId);
141
173
  Add(_T("state"), &State);
142
174
  }
143
175
 
144
- bool IsValid() const
145
- {
146
- return (true);
147
- }
148
-
149
176
  OnAppStateChangedParamsData(const OnAppStateChangedParamsData&) = delete;
177
+ OnAppStateChangedParamsData(OnAppStateChangedParamsData&&) noexcept = delete;
178
+
150
179
  OnAppStateChangedParamsData& operator=(const OnAppStateChangedParamsData&) = delete;
180
+ OnAppStateChangedParamsData& operator=(OnAppStateChangedParamsData&&) noexcept = delete;
181
+
182
+ ~OnAppStateChangedParamsData() = default;
183
+
184
+ public:
185
+ bool IsDataValid() const
186
+ {
187
+ return ((AppId.IsSet() == true) && (State.IsSet() == true));
188
+ }
151
189
 
152
190
  public:
153
191
  Core::JSON::String AppId; // id of the application
154
192
  Core::JSON::String State; // Triggered whenever there is a change in the lifecycle state of a running app.
155
193
  }; // class OnAppStateChangedParamsData
@@ -161,17 +199,23 @@ namespace JsonData {
161
199
  {
162
200
  Add(_T("appId"), &AppId);
163
201
  Add(_T("messagae"), &Messagae);
164
202
  }
165
203
 
166
- bool IsValid() const
167
- {
168
- return (true);
169
- }
170
-
171
204
  SendMessageParamsData(const SendMessageParamsData&) = delete;
205
+ SendMessageParamsData(SendMessageParamsData&&) noexcept = delete;
206
+
172
207
  SendMessageParamsData& operator=(const SendMessageParamsData&) = delete;
208
+ SendMessageParamsData& operator=(SendMessageParamsData&&) noexcept = delete;
209
+
210
+ ~SendMessageParamsData() = default;
211
+
212
+ public:
213
+ bool IsDataValid() const
214
+ {
215
+ return ((AppId.IsSet() == true) && (Messagae.IsSet() == true));
216
+ }
173
217
 
174
218
  public:
175
219
  Core::JSON::String AppId;
176
220
  Core::JSON::String Messagae;
177
221
  }; // class SendMessageParamsData
@@ -184,17 +228,23 @@ namespace JsonData {
184
228
  Add(_T("appId"), &AppId);
185
229
  Add(_T("key"), &Key);
186
230
  Add(_T("value"), &Value);
187
231
  }
188
232
 
189
- bool IsValid() const
190
- {
191
- return (true);
192
- }
193
-
194
233
  SetAppPropertyParamsData(const SetAppPropertyParamsData&) = delete;
234
+ SetAppPropertyParamsData(SetAppPropertyParamsData&&) noexcept = delete;
235
+
195
236
  SetAppPropertyParamsData& operator=(const SetAppPropertyParamsData&) = delete;
237
+ SetAppPropertyParamsData& operator=(SetAppPropertyParamsData&&) noexcept = delete;
238
+
239
+ ~SetAppPropertyParamsData() = default;
240
+
241
+ public:
242
+ bool IsDataValid() const
243
+ {
244
+ return ((AppId.IsSet() == true) && (Key.IsSet() == true) && (Value.IsSet() == true));
245
+ }
196
246
 
197
247
  public:
198
248
  Core::JSON::String AppId;
199
249
  Core::JSON::String Key;
200
250
  Core::JSON::String Value;
@@ -206,17 +256,23 @@ namespace JsonData {
206
256
  : Core::JSON::Container()
207
257
  {
208
258
  Add(_T("maxHibernatedApps"), &MaxHibernatedApps);
209
259
  }
210
260
 
211
- bool IsValid() const
212
- {
213
- return (true);
214
- }
215
-
216
261
  SetMaxHibernatedAppsData(const SetMaxHibernatedAppsData&) = delete;
262
+ SetMaxHibernatedAppsData(SetMaxHibernatedAppsData&&) noexcept = delete;
263
+
217
264
  SetMaxHibernatedAppsData& operator=(const SetMaxHibernatedAppsData&) = delete;
265
+ SetMaxHibernatedAppsData& operator=(SetMaxHibernatedAppsData&&) noexcept = delete;
266
+
267
+ ~SetMaxHibernatedAppsData() = default;
268
+
269
+ public:
270
+ bool IsDataValid() const
271
+ {
272
+ return (MaxHibernatedApps.IsSet() == true);
273
+ }
218
274
 
219
275
  public:
220
276
  Core::JSON::DecUInt32 MaxHibernatedApps; // : maxHibernatedApps
221
277
  }; // class SetMaxHibernatedAppsData
222
278
 
@@ -226,17 +282,23 @@ namespace JsonData {
226
282
  : Core::JSON::Container()
227
283
  {
228
284
  Add(_T("maxHibernatedFlashUsage"), &MaxHibernatedFlashUsage);
229
285
  }
230
286
 
231
- bool IsValid() const
232
- {
233
- return (true);
234
- }
235
-
236
287
  SetMaxHibernatedFlashUsageData(const SetMaxHibernatedFlashUsageData&) = delete;
288
+ SetMaxHibernatedFlashUsageData(SetMaxHibernatedFlashUsageData&&) noexcept = delete;
289
+
237
290
  SetMaxHibernatedFlashUsageData& operator=(const SetMaxHibernatedFlashUsageData&) = delete;
291
+ SetMaxHibernatedFlashUsageData& operator=(SetMaxHibernatedFlashUsageData&&) noexcept = delete;
292
+
293
+ ~SetMaxHibernatedFlashUsageData() = default;
294
+
295
+ public:
296
+ bool IsDataValid() const
297
+ {
298
+ return (MaxHibernatedFlashUsage.IsSet() == true);
299
+ }
238
300
 
239
301
  public:
240
302
  Core::JSON::DecUInt32 MaxHibernatedFlashUsage; // : maxHibernatedFlashUsage
241
303
  }; // class SetMaxHibernatedFlashUsageData
242
304
 
@@ -246,17 +308,23 @@ namespace JsonData {
246
308
  : Core::JSON::Container()
247
309
  {
248
310
  Add(_T("maxInteractiveApps"), &MaxInteractiveApps);
249
311
  }
250
312
 
251
- bool IsValid() const
252
- {
253
- return (true);
254
- }
255
-
256
313
  SetMaxInactiveAppsData(const SetMaxInactiveAppsData&) = delete;
314
+ SetMaxInactiveAppsData(SetMaxInactiveAppsData&&) noexcept = delete;
315
+
257
316
  SetMaxInactiveAppsData& operator=(const SetMaxInactiveAppsData&) = delete;
317
+ SetMaxInactiveAppsData& operator=(SetMaxInactiveAppsData&&) noexcept = delete;
318
+
319
+ ~SetMaxInactiveAppsData() = default;
320
+
321
+ public:
322
+ bool IsDataValid() const
323
+ {
324
+ return (MaxInteractiveApps.IsSet() == true);
325
+ }
258
326
 
259
327
  public:
260
328
  Core::JSON::DecUInt32 MaxInteractiveApps; // : maxInteractiveApps
261
329
  }; // class SetMaxInactiveAppsData
262
330
 
@@ -266,23 +334,31 @@ namespace JsonData {
266
334
  : Core::JSON::Container()
267
335
  {
268
336
  Add(_T("maxInactiveRamUsage"), &MaxInactiveRamUsage);
269
337
  }
270
338
 
271
- bool IsValid() const
272
- {
273
- return (true);
274
- }
275
-
276
339
  SetMaxInactiveRamUsageData(const SetMaxInactiveRamUsageData&) = delete;
340
+ SetMaxInactiveRamUsageData(SetMaxInactiveRamUsageData&&) noexcept = delete;
341
+
277
342
  SetMaxInactiveRamUsageData& operator=(const SetMaxInactiveRamUsageData&) = delete;
343
+ SetMaxInactiveRamUsageData& operator=(SetMaxInactiveRamUsageData&&) noexcept = delete;
344
+
345
+ ~SetMaxInactiveRamUsageData() = default;
346
+
347
+ public:
348
+ bool IsDataValid() const
349
+ {
350
+ return (MaxInactiveRamUsage.IsSet() == true);
351
+ }
278
352
 
279
353
  public:
280
354
  Core::JSON::DecUInt32 MaxInactiveRamUsage; // : maxInactiveRamUsage
281
355
  }; // class SetMaxInactiveRamUsageData
282
356
 
283
357
  } // namespace AppManager
284
358
 
359
+ POP_WARNING()
360
+
285
361
  } // namespace JsonData
286
362
 
287
363
  }
288
364
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Application.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Application API JSON-RPC API.
1
+ // C++ types for Application API.
2
2
  // Generated automatically from 'IApplication.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Application {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace Application
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IApplication::resettype)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IApplication::launchpointtype)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothAudioSink.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for BluetoothAudioSink API JSON-RPC API.
1
+ // C++ types for BluetoothAudioSink API.
2
2
  // Generated automatically from 'IBluetoothAudio.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BluetoothAudioSink {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("address"), &Address);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  AssignParamsData(const AssignParamsData&) = delete;
31
+ AssignParamsData(AssignParamsData&&) noexcept = delete;
32
+
34
33
  AssignParamsData& operator=(const AssignParamsData&) = delete;
34
+ AssignParamsData& operator=(AssignParamsData&&) noexcept = delete;
35
+
36
+ ~AssignParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Address.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Address; // Address of the bluetooth device to assign
38
46
  }; // class AssignParamsData
39
47
 
@@ -43,18 +51,48 @@ namespace JsonData {
43
51
  : Core::JSON::Container()
44
52
  {
45
53
  _Init();
46
54
  }
47
55
 
56
+ CodecPropertiesData(const CodecPropertiesData& _other)
57
+ : Core::JSON::Container()
58
+ , Codec(_other.Codec)
59
+ , Settings(_other.Settings)
60
+ {
61
+ _Init();
62
+ }
63
+
64
+ CodecPropertiesData(CodecPropertiesData&& _other) noexcept
65
+ : Core::JSON::Container()
66
+ , Codec(std::move(_other.Codec))
67
+ , Settings(std::move(_other.Settings))
68
+ {
69
+ _Init();
70
+ }
71
+
48
72
  CodecPropertiesData(const Exchange::IBluetoothAudioSink::CodecProperties& _other)
49
73
  : Core::JSON::Container()
50
74
  {
51
75
  Codec = _other.Codec;
52
76
  Settings = _other.Settings;
53
77
  _Init();
54
78
  }
55
79
 
80
+ CodecPropertiesData& operator=(const CodecPropertiesData& _rhs)
81
+ {
82
+ Codec = _rhs.Codec;
83
+ Settings = _rhs.Settings;
84
+ return (*this);
85
+ }
86
+
87
+ CodecPropertiesData& operator=(CodecPropertiesData&& _rhs) noexcept
88
+ {
89
+ Codec = std::move(_rhs.Codec);
90
+ Settings = std::move(_rhs.Settings);
91
+ return (*this);
92
+ }
93
+
56
94
  CodecPropertiesData& operator=(const Exchange::IBluetoothAudioSink::CodecProperties& _rhs)
57
95
  {
58
96
  Codec = _rhs.Codec;
59
97
  Settings = _rhs.Settings;
60
98
  return (*this);
@@ -66,13 +104,16 @@ namespace JsonData {
66
104
  _value.Codec = Codec;
67
105
  _value.Settings = Settings;
68
106
  return (_value);
69
107
  }
70
108
 
71
- bool IsValid() const
109
+ ~CodecPropertiesData() = default;
110
+
111
+ public:
112
+ bool IsDataValid() const
72
113
  {
73
- return (true);
114
+ return ((Codec.IsSet() == true) && (Settings.IsSet() == true));
74
115
  }
75
116
 
76
117
  private:
77
118
  void _Init()
78
119
  {
@@ -91,18 +132,48 @@ namespace JsonData {
91
132
  : Core::JSON::Container()
92
133
  {
93
134
  _Init();
94
135
  }
95
136
 
137
+ DRMPropertiesData(const DRMPropertiesData& _other)
138
+ : Core::JSON::Container()
139
+ , DRM(_other.DRM)
140
+ , Settings(_other.Settings)
141
+ {
142
+ _Init();
143
+ }
144
+
145
+ DRMPropertiesData(DRMPropertiesData&& _other) noexcept
146
+ : Core::JSON::Container()
147
+ , DRM(std::move(_other.DRM))
148
+ , Settings(std::move(_other.Settings))
149
+ {
150
+ _Init();
151
+ }
152
+
96
153
  DRMPropertiesData(const Exchange::IBluetoothAudioSink::DRMProperties& _other)
97
154
  : Core::JSON::Container()
98
155
  {
99
156
  DRM = _other.DRM;
100
157
  Settings = _other.Settings;
101
158
  _Init();
102
159
  }
103
160
 
161
+ DRMPropertiesData& operator=(const DRMPropertiesData& _rhs)
162
+ {
163
+ DRM = _rhs.DRM;
164
+ Settings = _rhs.Settings;
165
+ return (*this);
166
+ }
167
+
168
+ DRMPropertiesData& operator=(DRMPropertiesData&& _rhs) noexcept
169
+ {
170
+ DRM = std::move(_rhs.DRM);
171
+ Settings = std::move(_rhs.Settings);
172
+ return (*this);
173
+ }
174
+
104
175
  DRMPropertiesData& operator=(const Exchange::IBluetoothAudioSink::DRMProperties& _rhs)
105
176
  {
106
177
  DRM = _rhs.DRM;
107
178
  Settings = _rhs.Settings;
108
179
  return (*this);
@@ -114,13 +185,16 @@ namespace JsonData {
114
185
  _value.DRM = DRM;
115
186
  _value.Settings = Settings;
116
187
  return (_value);
117
188
  }
118
189
 
119
- bool IsValid() const
190
+ ~DRMPropertiesData() = default;
191
+
192
+ public:
193
+ bool IsDataValid() const
120
194
  {
121
- return (true);
195
+ return ((DRM.IsSet() == true) && (Settings.IsSet() == true));
122
196
  }
123
197
 
124
198
  private:
125
199
  void _Init()
126
200
  {
@@ -139,17 +213,23 @@ namespace JsonData {
139
213
  : Core::JSON::Container()
140
214
  {
141
215
  Add(_T("value"), &Value);
142
216
  }
143
217
 
144
- bool IsValid() const
145
- {
146
- return (true);
147
- }
148
-
149
218
  LatencyData(const LatencyData&) = delete;
219
+ LatencyData(LatencyData&&) noexcept = delete;
220
+
150
221
  LatencyData& operator=(const LatencyData&) = delete;
222
+ LatencyData& operator=(LatencyData&&) noexcept = delete;
223
+
224
+ ~LatencyData() = default;
225
+
226
+ public:
227
+ bool IsDataValid() const
228
+ {
229
+ return (Value.IsSet() == true);
230
+ }
151
231
 
152
232
  public:
153
233
  Core::JSON::DecSInt16 Value; // Audio latency of the sink in milliseconds
154
234
  }; // class LatencyData
155
235
 
@@ -159,10 +239,32 @@ namespace JsonData {
159
239
  : Core::JSON::Container()
160
240
  {
161
241
  _Init();
162
242
  }
163
243
 
244
+ StreamPropertiesData(const StreamPropertiesData& _other)
245
+ : Core::JSON::Container()
246
+ , SampleRate(_other.SampleRate)
247
+ , BitRate(_other.BitRate)
248
+ , Channels(_other.Channels)
249
+ , Resolution(_other.Resolution)
250
+ , IsResampling(_other.IsResampling)
251
+ {
252
+ _Init();
253
+ }
254
+
255
+ StreamPropertiesData(StreamPropertiesData&& _other) noexcept
256
+ : Core::JSON::Container()
257
+ , SampleRate(std::move(_other.SampleRate))
258
+ , BitRate(std::move(_other.BitRate))
259
+ , Channels(std::move(_other.Channels))
260
+ , Resolution(std::move(_other.Resolution))
261
+ , IsResampling(std::move(_other.IsResampling))
262
+ {
263
+ _Init();
264
+ }
265
+
164
266
  StreamPropertiesData(const Exchange::IBluetoothAudioSink::StreamProperties& _other)
165
267
  : Core::JSON::Container()
166
268
  {
167
269
  SampleRate = _other.SampleRate;
168
270
  BitRate = _other.BitRate;
@@ -170,10 +272,30 @@ namespace JsonData {
170
272
  Resolution = _other.Resolution;
171
273
  IsResampling = _other.IsResampling;
172
274
  _Init();
173
275
  }
174
276
 
277
+ StreamPropertiesData& operator=(const StreamPropertiesData& _rhs)
278
+ {
279
+ SampleRate = _rhs.SampleRate;
280
+ BitRate = _rhs.BitRate;
281
+ Channels = _rhs.Channels;
282
+ Resolution = _rhs.Resolution;
283
+ IsResampling = _rhs.IsResampling;
284
+ return (*this);
285
+ }
286
+
287
+ StreamPropertiesData& operator=(StreamPropertiesData&& _rhs) noexcept
288
+ {
289
+ SampleRate = std::move(_rhs.SampleRate);
290
+ BitRate = std::move(_rhs.BitRate);
291
+ Channels = std::move(_rhs.Channels);
292
+ Resolution = std::move(_rhs.Resolution);
293
+ IsResampling = std::move(_rhs.IsResampling);
294
+ return (*this);
295
+ }
296
+
175
297
  StreamPropertiesData& operator=(const Exchange::IBluetoothAudioSink::StreamProperties& _rhs)
176
298
  {
177
299
  SampleRate = _rhs.SampleRate;
178
300
  BitRate = _rhs.BitRate;
179
301
  Channels = _rhs.Channels;
@@ -191,13 +313,16 @@ namespace JsonData {
191
313
  _value.Resolution = Resolution;
192
314
  _value.IsResampling = IsResampling;
193
315
  return (_value);
194
316
  }
195
317
 
196
- bool IsValid() const
318
+ ~StreamPropertiesData() = default;
319
+
320
+ public:
321
+ bool IsDataValid() const
197
322
  {
198
- return (true);
323
+ return ((SampleRate.IsSet() == true) && (BitRate.IsSet() == true) && (Channels.IsSet() == true) && (Resolution.IsSet() == true) && (IsResampling.IsSet() == true));
199
324
  }
200
325
 
201
326
  private:
202
327
  void _Init()
203
328
  {
@@ -216,10 +341,12 @@ namespace JsonData {
216
341
  Core::JSON::Boolean IsResampling; // Indicates if the sink is resampling the input stream
217
342
  }; // class StreamPropertiesData
218
343
 
219
344
  } // namespace BluetoothAudioSink
220
345
 
346
+ POP_WARNING()
347
+
221
348
  } // namespace JsonData
222
349
 
223
350
  // Enum conversion handlers
224
351
  ENUM_CONVERSION_HANDLER(Exchange::IBluetoothAudioSink::state)
225
352
  ENUM_CONVERSION_HANDLER(Exchange::IBluetoothAudioSink::devicetype)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Bluetooth Control API JSON-RPC API.
1
+ // C++ types for Bluetooth Control API.
2
2
  // Generated automatically from 'BluetoothControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -11,10 +11,12 @@
11
11
 
12
12
  namespace WPEFramework {
13
13
 
14
14
  namespace JsonData {
15
15
 
16
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
17
+
16
18
  namespace BluetoothControl {
17
19
 
18
20
  // Common enums
19
21
  //
20
22
 
@@ -47,20 +49,38 @@ namespace JsonData {
47
49
  , Type(_other.Type)
48
50
  {
49
51
  _Init();
50
52
  }
51
53
 
54
+ ConnectParamsInfo(ConnectParamsInfo&& _other) noexcept
55
+ : Core::JSON::Container()
56
+ , Address(std::move(_other.Address))
57
+ , Type(std::move(_other.Type))
58
+ {
59
+ _Init();
60
+ }
61
+
52
62
  ConnectParamsInfo& operator=(const ConnectParamsInfo& _rhs)
53
63
  {
54
64
  Address = _rhs.Address;
55
65
  Type = _rhs.Type;
56
66
  return (*this);
57
67
  }
58
68
 
59
- bool IsValid() const
69
+ ConnectParamsInfo& operator=(ConnectParamsInfo&& _rhs) noexcept
60
70
  {
61
- return (true);
71
+ Address = std::move(_rhs.Address);
72
+ Type = std::move(_rhs.Type);
73
+ return (*this);
74
+ }
75
+
76
+ ~ConnectParamsInfo() = default;
77
+
78
+ public:
79
+ bool IsDataValid() const
80
+ {
81
+ return (Address.IsSet() == true);
62
82
  }
63
83
 
64
84
  private:
65
85
  void _Init()
66
86
  {
@@ -86,17 +106,23 @@ namespace JsonData {
86
106
  Add(_T("services"), &Services);
87
107
  Add(_T("connected"), &Connected);
88
108
  Add(_T("paired"), &Paired);
89
109
  }
90
110
 
91
- bool IsValid() const
92
- {
93
- return (true);
94
- }
95
-
96
111
  DeviceData(const DeviceData&) = delete;
112
+ DeviceData(DeviceData&&) noexcept = delete;
113
+
97
114
  DeviceData& operator=(const DeviceData&) = delete;
115
+ DeviceData& operator=(DeviceData&&) noexcept = delete;
116
+
117
+ ~DeviceData() = default;
118
+
119
+ public:
120
+ bool IsDataValid() const
121
+ {
122
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (Connected.IsSet() == true) && (Paired.IsSet() == true));
123
+ }
98
124
 
99
125
  public:
100
126
  Core::JSON::String Address; // Bluetooth address
101
127
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
102
128
  Core::JSON::String Name; // Name of the device
@@ -113,17 +139,23 @@ namespace JsonData {
113
139
  : Core::JSON::Container()
114
140
  {
115
141
  Add(_T("type"), &Type);
116
142
  }
117
143
 
118
- bool IsValid() const
119
- {
120
- return (true);
121
- }
122
-
123
144
  StopdiscoverableParamsInfo(const StopdiscoverableParamsInfo&) = delete;
145
+ StopdiscoverableParamsInfo(StopdiscoverableParamsInfo&&) noexcept = delete;
146
+
124
147
  StopdiscoverableParamsInfo& operator=(const StopdiscoverableParamsInfo&) = delete;
148
+ StopdiscoverableParamsInfo& operator=(StopdiscoverableParamsInfo&&) noexcept = delete;
149
+
150
+ ~StopdiscoverableParamsInfo() = default;
151
+
152
+ public:
153
+ bool IsDataValid() const
154
+ {
155
+ return (Type.IsSet() == true);
156
+ }
125
157
 
126
158
  public:
127
159
  Core::JSON::EnumType<scantype> Type; // Discoverable type
128
160
  }; // class StopdiscoverableParamsInfo
129
161
 
@@ -151,17 +183,23 @@ namespace JsonData {
151
183
  Add(_T("class"), &Class);
152
184
  Add(_T("name"), &Name);
153
185
  Add(_T("shortname"), &Shortname);
154
186
  }
155
187
 
156
- bool IsValid() const
157
- {
158
- return (true);
159
- }
160
-
161
188
  AdapterData(const AdapterData&) = delete;
189
+ AdapterData(AdapterData&&) noexcept = delete;
190
+
162
191
  AdapterData& operator=(const AdapterData&) = delete;
192
+ AdapterData& operator=(AdapterData&&) noexcept = delete;
193
+
194
+ ~AdapterData() = default;
195
+
196
+ public:
197
+ bool IsDataValid() const
198
+ {
199
+ return ((Id.IsSet() == true) && (Interface.IsSet() == true) && (Address.IsSet() == true) && (Type.IsSet() == true) && (Version.IsSet() == true));
200
+ }
163
201
 
164
202
  public:
165
203
  Core::JSON::DecUInt16 Id; // Interface ID number
166
204
  Core::JSON::String Interface; // Interface name
167
205
  Core::JSON::String Address; // Bluetooth address
@@ -181,17 +219,23 @@ namespace JsonData {
181
219
  Add(_T("address"), &Address);
182
220
  Add(_T("type"), &Type);
183
221
  Add(_T("iscorrect"), &Iscorrect);
184
222
  }
185
223
 
186
- bool IsValid() const
187
- {
188
- return (true);
189
- }
190
-
191
224
  ConfirmpasskeyParamsData(const ConfirmpasskeyParamsData&) = delete;
225
+ ConfirmpasskeyParamsData(ConfirmpasskeyParamsData&&) noexcept = delete;
226
+
192
227
  ConfirmpasskeyParamsData& operator=(const ConfirmpasskeyParamsData&) = delete;
228
+ ConfirmpasskeyParamsData& operator=(ConfirmpasskeyParamsData&&) noexcept = delete;
229
+
230
+ ~ConfirmpasskeyParamsData() = default;
231
+
232
+ public:
233
+ bool IsDataValid() const
234
+ {
235
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (Iscorrect.IsSet() == true));
236
+ }
193
237
 
194
238
  public:
195
239
  Core::JSON::String Address; // Bluetooth address
196
240
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
197
241
  Core::JSON::Boolean Iscorrect; // Specifies if the passkey sent in *passkeyconfirmrequest* event is correct (true) or incorrect (false)
@@ -225,17 +269,23 @@ namespace JsonData {
225
269
  Add(_T("type"), &Type);
226
270
  Add(_T("state"), &State);
227
271
  Add(_T("disconnectreason"), &Disconnectreason);
228
272
  }
229
273
 
230
- bool IsValid() const
231
- {
232
- return (true);
233
- }
234
-
235
274
  DevicestatechangeParamsData(const DevicestatechangeParamsData&) = delete;
275
+ DevicestatechangeParamsData(DevicestatechangeParamsData&&) noexcept = delete;
276
+
236
277
  DevicestatechangeParamsData& operator=(const DevicestatechangeParamsData&) = delete;
278
+ DevicestatechangeParamsData& operator=(DevicestatechangeParamsData&&) noexcept = delete;
279
+
280
+ ~DevicestatechangeParamsData() = default;
281
+
282
+ public:
283
+ bool IsDataValid() const
284
+ {
285
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (State.IsSet() == true));
286
+ }
237
287
 
238
288
  public:
239
289
  Core::JSON::String Address; // Bluetooth address
240
290
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
241
291
  Core::JSON::EnumType<DevicestatechangeParamsData::devicestate> State; // Device state
@@ -250,17 +300,23 @@ namespace JsonData {
250
300
  Add(_T("type"), &Type);
251
301
  Add(_T("mode"), &Mode);
252
302
  Add(_T("connectable"), &Connectable);
253
303
  }
254
304
 
255
- bool IsValid() const
256
- {
257
- return (true);
258
- }
259
-
260
305
  DiscoverablestartedParamsData(const DiscoverablestartedParamsData&) = delete;
306
+ DiscoverablestartedParamsData(DiscoverablestartedParamsData&&) noexcept = delete;
307
+
261
308
  DiscoverablestartedParamsData& operator=(const DiscoverablestartedParamsData&) = delete;
309
+ DiscoverablestartedParamsData& operator=(DiscoverablestartedParamsData&&) noexcept = delete;
310
+
311
+ ~DiscoverablestartedParamsData() = default;
312
+
313
+ public:
314
+ bool IsDataValid() const
315
+ {
316
+ return ((Type.IsSet() == true) && (Mode.IsSet() == true));
317
+ }
262
318
 
263
319
  public:
264
320
  Core::JSON::EnumType<scantype> Type; // Discoverable type
265
321
  Core::JSON::EnumType<scanmode> Mode; // Discoverable mode
266
322
  Core::JSON::Boolean Connectable; // Indicates connectable advertising (true, *LowEnergy* only)
@@ -275,17 +331,23 @@ namespace JsonData {
275
331
  Add(_T("type"), &Type);
276
332
  Add(_T("capabilities"), &Capabilities);
277
333
  Add(_T("timeout"), &Timeout);
278
334
  }
279
335
 
280
- bool IsValid() const
281
- {
282
- return (true);
283
- }
284
-
285
336
  PairParamsData(const PairParamsData&) = delete;
337
+ PairParamsData(PairParamsData&&) noexcept = delete;
338
+
286
339
  PairParamsData& operator=(const PairParamsData&) = delete;
340
+ PairParamsData& operator=(PairParamsData&&) noexcept = delete;
341
+
342
+ ~PairParamsData() = default;
343
+
344
+ public:
345
+ bool IsDataValid() const
346
+ {
347
+ return (Address.IsSet() == true);
348
+ }
287
349
 
288
350
  public:
289
351
  Core::JSON::String Address; // Bluetooth address
290
352
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
291
353
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::pairingcapabilities> Capabilities; // Pairing capabilities
@@ -300,17 +362,23 @@ namespace JsonData {
300
362
  Add(_T("address"), &Address);
301
363
  Add(_T("type"), &Type);
302
364
  Add(_T("secret"), &Secret);
303
365
  }
304
366
 
305
- bool IsValid() const
306
- {
307
- return (true);
308
- }
309
-
310
367
  PasskeyconfirmrequestParamsData(const PasskeyconfirmrequestParamsData&) = delete;
368
+ PasskeyconfirmrequestParamsData(PasskeyconfirmrequestParamsData&&) noexcept = delete;
369
+
311
370
  PasskeyconfirmrequestParamsData& operator=(const PasskeyconfirmrequestParamsData&) = delete;
371
+ PasskeyconfirmrequestParamsData& operator=(PasskeyconfirmrequestParamsData&&) noexcept = delete;
372
+
373
+ ~PasskeyconfirmrequestParamsData() = default;
374
+
375
+ public:
376
+ bool IsDataValid() const
377
+ {
378
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (Secret.IsSet() == true));
379
+ }
312
380
 
313
381
  public:
314
382
  Core::JSON::String Address; // Bluetooth address
315
383
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
316
384
  Core::JSON::DecUInt32 Secret; // A six-digit decimal number passkey sent by the remote device for confirmation; may be 0 for a simple accept/forbid paring request
@@ -324,17 +392,23 @@ namespace JsonData {
324
392
  Add(_T("address"), &Address);
325
393
  Add(_T("type"), &Type);
326
394
  Add(_T("secret"), &Secret);
327
395
  }
328
396
 
329
- bool IsValid() const
330
- {
331
- return (true);
332
- }
333
-
334
397
  ProvidepincodeParamsData(const ProvidepincodeParamsData&) = delete;
398
+ ProvidepincodeParamsData(ProvidepincodeParamsData&&) noexcept = delete;
399
+
335
400
  ProvidepincodeParamsData& operator=(const ProvidepincodeParamsData&) = delete;
401
+ ProvidepincodeParamsData& operator=(ProvidepincodeParamsData&&) noexcept = delete;
402
+
403
+ ~ProvidepincodeParamsData() = default;
404
+
405
+ public:
406
+ bool IsDataValid() const
407
+ {
408
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (Secret.IsSet() == true));
409
+ }
336
410
 
337
411
  public:
338
412
  Core::JSON::String Address; // Bluetooth address
339
413
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
340
414
  Core::JSON::String Secret; // A PIN-code string typically consisting of (but not limited to) four decimal digits
@@ -348,17 +422,23 @@ namespace JsonData {
348
422
  Add(_T("address"), &Address);
349
423
  Add(_T("type"), &Type);
350
424
  Add(_T("secret"), &Secret);
351
425
  }
352
426
 
353
- bool IsValid() const
354
- {
355
- return (true);
356
- }
357
-
358
427
  ProvidepasskeyParamsData(const ProvidepasskeyParamsData&) = delete;
428
+ ProvidepasskeyParamsData(ProvidepasskeyParamsData&&) noexcept = delete;
429
+
359
430
  ProvidepasskeyParamsData& operator=(const ProvidepasskeyParamsData&) = delete;
431
+ ProvidepasskeyParamsData& operator=(ProvidepasskeyParamsData&&) noexcept = delete;
432
+
433
+ ~ProvidepasskeyParamsData() = default;
434
+
435
+ public:
436
+ bool IsDataValid() const
437
+ {
438
+ return ((Address.IsSet() == true) && (Type.IsSet() == true) && (Secret.IsSet() == true));
439
+ }
360
440
 
361
441
  public:
362
442
  Core::JSON::String Address; // Bluetooth address
363
443
  Core::JSON::EnumType<Exchange::IBluetooth::IDevice::type> Type; // Device type
364
444
  Core::JSON::DecUInt32 Secret; // A six-digit decimal number passkey
@@ -373,17 +453,23 @@ namespace JsonData {
373
453
  Add(_T("mode"), &Mode);
374
454
  Add(_T("timeout"), &Timeout);
375
455
  Add(_T("duration"), &Duration);
376
456
  }
377
457
 
378
- bool IsValid() const
379
- {
380
- return (true);
381
- }
382
-
383
458
  ScanParamsData(const ScanParamsData&) = delete;
459
+ ScanParamsData(ScanParamsData&&) noexcept = delete;
460
+
384
461
  ScanParamsData& operator=(const ScanParamsData&) = delete;
462
+ ScanParamsData& operator=(ScanParamsData&&) noexcept = delete;
463
+
464
+ ~ScanParamsData() = default;
465
+
466
+ public:
467
+ bool IsDataValid() const
468
+ {
469
+ return (Type.IsSet() == true);
470
+ }
385
471
 
386
472
  public:
387
473
  Core::JSON::EnumType<scantype> Type; // Scan type
388
474
  Core::JSON::EnumType<scanmode> Mode; // Scan mode
389
475
  Core::JSON::DecUInt16 Timeout; // Duration of the scan (in seconds)
@@ -397,17 +483,23 @@ namespace JsonData {
397
483
  {
398
484
  Add(_T("type"), &Type);
399
485
  Add(_T("mode"), &Mode);
400
486
  }
401
487
 
402
- bool IsValid() const
403
- {
404
- return (true);
405
- }
406
-
407
488
  ScanstartedParamsData(const ScanstartedParamsData&) = delete;
489
+ ScanstartedParamsData(ScanstartedParamsData&&) noexcept = delete;
490
+
408
491
  ScanstartedParamsData& operator=(const ScanstartedParamsData&) = delete;
492
+ ScanstartedParamsData& operator=(ScanstartedParamsData&&) noexcept = delete;
493
+
494
+ ~ScanstartedParamsData() = default;
495
+
496
+ public:
497
+ bool IsDataValid() const
498
+ {
499
+ return (Type.IsSet() == true);
500
+ }
409
501
 
410
502
  public:
411
503
  Core::JSON::EnumType<scantype> Type; // Scan type
412
504
  Core::JSON::EnumType<scanmode> Mode; // Scan mode
413
505
  }; // class ScanstartedParamsData
@@ -421,27 +513,35 @@ namespace JsonData {
421
513
  Add(_T("mode"), &Mode);
422
514
  Add(_T("connectable"), &Connectable);
423
515
  Add(_T("duration"), &Duration);
424
516
  }
425
517
 
426
- bool IsValid() const
427
- {
428
- return (true);
429
- }
430
-
431
518
  SetdiscoverableParamsData(const SetdiscoverableParamsData&) = delete;
519
+ SetdiscoverableParamsData(SetdiscoverableParamsData&&) noexcept = delete;
520
+
432
521
  SetdiscoverableParamsData& operator=(const SetdiscoverableParamsData&) = delete;
522
+ SetdiscoverableParamsData& operator=(SetdiscoverableParamsData&&) noexcept = delete;
523
+
524
+ ~SetdiscoverableParamsData() = default;
525
+
526
+ public:
527
+ bool IsDataValid() const
528
+ {
529
+ return (Type.IsSet() == true);
530
+ }
433
531
 
434
532
  public:
435
533
  Core::JSON::EnumType<scantype> Type; // Discoverable type
436
534
  Core::JSON::EnumType<scanmode> Mode; // Discoverable mode
437
535
  Core::JSON::Boolean Connectable; // Selects connectable advertising (true, *LowEnergy* only)
438
536
  Core::JSON::DecUInt16 Duration; // Duration of the discoverable operation (in seconds)
439
537
  }; // class SetdiscoverableParamsData
440
538
 
441
539
  } // namespace BluetoothControl
442
540
 
541
+ POP_WARNING()
542
+
443
543
  } // namespace JsonData
444
544
 
445
545
  // Enum conversion handlers
446
546
  ENUM_CONVERSION_HANDLER(JsonData::BluetoothControl::scantype)
447
547
  ENUM_CONVERSION_HANDLER(JsonData::BluetoothControl::scanmode)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BluetoothRemoteControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Bluetooth Remote Control API JSON-RPC API.
1
+ // C++ types for Bluetooth Remote Control API.
2
2
  // Generated automatically from 'BluetoothRemoteControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BluetoothRemoteControl {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("address"), &Address);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  AssignParamsData(const AssignParamsData&) = delete;
31
+ AssignParamsData(AssignParamsData&&) noexcept = delete;
32
+
34
33
  AssignParamsData& operator=(const AssignParamsData&) = delete;
34
+ AssignParamsData& operator=(AssignParamsData&&) noexcept = delete;
35
+
36
+ ~AssignParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Address.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Address; // Bluetooth address
38
46
  }; // class AssignParamsData
39
47
 
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  {
45
53
  Add(_T("seq"), &Seq);
46
54
  Add(_T("data"), &Data);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  AudioframeParamsData(const AudioframeParamsData&) = delete;
58
+ AudioframeParamsData(AudioframeParamsData&&) noexcept = delete;
59
+
55
60
  AudioframeParamsData& operator=(const AudioframeParamsData&) = delete;
61
+ AudioframeParamsData& operator=(AudioframeParamsData&&) noexcept = delete;
62
+
63
+ ~AudioframeParamsData() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return (Data.IsSet() == true);
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::DecUInt32 Seq; // Sequence number of the audio frame within current audio transmission
59
73
  Core::JSON::String Data; // Base64 representation of the binary data of the audio frame; format of the data is specified by the audio profile denoted by the most recent *audiotransmission* notification
60
74
  }; // class AudioframeParamsData
@@ -74,17 +88,23 @@ namespace JsonData {
74
88
  Add(_T("channels"), &Channels);
75
89
  Add(_T("rate"), &Rate);
76
90
  Add(_T("resolution"), &Resolution);
77
91
  }
78
92
 
79
- bool IsValid() const
80
- {
81
- return (true);
82
- }
83
-
84
93
  AudioprofileData(const AudioprofileData&) = delete;
94
+ AudioprofileData(AudioprofileData&&) noexcept = delete;
95
+
85
96
  AudioprofileData& operator=(const AudioprofileData&) = delete;
97
+ AudioprofileData& operator=(AudioprofileData&&) noexcept = delete;
98
+
99
+ ~AudioprofileData() = default;
100
+
101
+ public:
102
+ bool IsDataValid() const
103
+ {
104
+ return ((Codec.IsSet() == true) && (Channels.IsSet() == true) && (Rate.IsSet() == true) && (Resolution.IsSet() == true));
105
+ }
86
106
 
87
107
  public:
88
108
  Core::JSON::EnumType<AudioprofileData::CodecType> Codec; // Name of the audio codec (*pcm* for uncompressed audio)
89
109
  Core::JSON::DecUInt8 Channels; // Number of audio channels (1: mono, 2: stereo, etc.)
90
110
  Core::JSON::DecUInt16 Rate; // Sample rate (in Hz)
@@ -97,18 +117,24 @@ namespace JsonData {
97
117
  : Core::JSON::Container()
98
118
  {
99
119
  Add(_T("profile"), &Profile);
100
120
  }
101
121
 
102
- bool IsValid() const
122
+ AudiotransmissionParamsData(const AudiotransmissionParamsData&) = delete;
123
+ AudiotransmissionParamsData(AudiotransmissionParamsData&&) noexcept = delete;
124
+
125
+ AudiotransmissionParamsData& operator=(const AudiotransmissionParamsData&) = delete;
126
+ AudiotransmissionParamsData& operator=(AudiotransmissionParamsData&&) noexcept = delete;
127
+
128
+ ~AudiotransmissionParamsData() = default;
129
+
130
+ public:
131
+ bool IsDataValid() const
103
132
  {
104
133
  return (true);
105
134
  }
106
135
 
107
- AudiotransmissionParamsData(const AudiotransmissionParamsData&) = delete;
108
- AudiotransmissionParamsData& operator=(const AudiotransmissionParamsData&) = delete;
109
-
110
136
  public:
111
137
  Core::JSON::String Profile; // Type of audio profile, marking start of transmission; empty in case of end of transmission
112
138
  }; // class AudiotransmissionParamsData
113
139
 
114
140
  class BatterylevelchangeParamsData : public Core::JSON::Container {
@@ -117,17 +143,23 @@ namespace JsonData {
117
143
  : Core::JSON::Container()
118
144
  {
119
145
  Add(_T("level"), &Level);
120
146
  }
121
147
 
122
- bool IsValid() const
123
- {
124
- return (true);
125
- }
126
-
127
148
  BatterylevelchangeParamsData(const BatterylevelchangeParamsData&) = delete;
149
+ BatterylevelchangeParamsData(BatterylevelchangeParamsData&&) noexcept = delete;
150
+
128
151
  BatterylevelchangeParamsData& operator=(const BatterylevelchangeParamsData&) = delete;
152
+ BatterylevelchangeParamsData& operator=(BatterylevelchangeParamsData&&) noexcept = delete;
153
+
154
+ ~BatterylevelchangeParamsData() = default;
155
+
156
+ public:
157
+ bool IsDataValid() const
158
+ {
159
+ return (Level.IsSet() == true);
160
+ }
129
161
 
130
162
  public:
131
163
  Core::JSON::DecUInt8 Level; // Battery level (in percentage)
132
164
  }; // class BatterylevelchangeParamsData
133
165
 
@@ -141,28 +173,36 @@ namespace JsonData {
141
173
  Add(_T("firmware"), &Firmware);
142
174
  Add(_T("software"), &Software);
143
175
  Add(_T("manufacturer"), &Manufacturer);
144
176
  }
145
177
 
146
- bool IsValid() const
178
+ InfoData(const InfoData&) = delete;
179
+ InfoData(InfoData&&) noexcept = delete;
180
+
181
+ InfoData& operator=(const InfoData&) = delete;
182
+ InfoData& operator=(InfoData&&) noexcept = delete;
183
+
184
+ ~InfoData() = default;
185
+
186
+ public:
187
+ bool IsDataValid() const
147
188
  {
148
189
  return (true);
149
190
  }
150
191
 
151
- InfoData(const InfoData&) = delete;
152
- InfoData& operator=(const InfoData&) = delete;
153
-
154
192
  public:
155
193
  Core::JSON::String Model; // Unit model name or number
156
194
  Core::JSON::String Serial; // Unit serial number
157
195
  Core::JSON::String Firmware; // Unit firmware revision
158
196
  Core::JSON::String Software; // Unit software revision
159
197
  Core::JSON::String Manufacturer; // Unit manufacturer name
160
198
  }; // class InfoData
161
199
 
162
200
  } // namespace BluetoothRemoteControl
163
201
 
202
+ POP_WARNING()
203
+
164
204
  } // namespace JsonData
165
205
 
166
206
  // Enum conversion handlers
167
207
  ENUM_CONVERSION_HANDLER(JsonData::BluetoothRemoteControl::AudioprofileData::CodecType)
168
208
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Browser.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Browser API JSON-RPC API.
1
+ // C++ types for Browser API.
2
2
  // Generated automatically from 'Browser.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Browser {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -32,17 +34,23 @@ namespace JsonData {
32
34
  : Core::JSON::Container()
33
35
  {
34
36
  Add(_T("path"), &Path);
35
37
  }
36
38
 
37
- bool IsValid() const
38
- {
39
- return (true);
40
- }
41
-
42
39
  DeleteParamsData(const DeleteParamsData&) = delete;
40
+ DeleteParamsData(DeleteParamsData&&) noexcept = delete;
41
+
43
42
  DeleteParamsData& operator=(const DeleteParamsData&) = delete;
43
+ DeleteParamsData& operator=(DeleteParamsData&&) noexcept = delete;
44
+
45
+ ~DeleteParamsData() = default;
46
+
47
+ public:
48
+ bool IsDataValid() const
49
+ {
50
+ return (Path.IsSet() == true);
51
+ }
44
52
 
45
53
  public:
46
54
  Core::JSON::String Path; // Path to directory (within the persistent storage) to delete contents of
47
55
  }; // class DeleteParamsData
48
56
 
@@ -53,17 +61,23 @@ namespace JsonData {
53
61
  {
54
62
  Add(_T("url"), &Url);
55
63
  Add(_T("loaded"), &Loaded);
56
64
  }
57
65
 
58
- bool IsValid() const
59
- {
60
- return (true);
61
- }
62
-
63
66
  UrlchangeParamsData(const UrlchangeParamsData&) = delete;
67
+ UrlchangeParamsData(UrlchangeParamsData&&) noexcept = delete;
68
+
64
69
  UrlchangeParamsData& operator=(const UrlchangeParamsData&) = delete;
70
+ UrlchangeParamsData& operator=(UrlchangeParamsData&&) noexcept = delete;
71
+
72
+ ~UrlchangeParamsData() = default;
73
+
74
+ public:
75
+ bool IsDataValid() const
76
+ {
77
+ return ((Url.IsSet() == true) && (Loaded.IsSet() == true));
78
+ }
65
79
 
66
80
  public:
67
81
  Core::JSON::String Url; // The URL that has been loaded or requested
68
82
  Core::JSON::Boolean Loaded; // Determines if the URL has just been loaded (true) or if URL change has been requested (false)
69
83
  }; // class UrlchangeParamsData
@@ -74,24 +88,32 @@ namespace JsonData {
74
88
  : Core::JSON::Container()
75
89
  {
76
90
  Add(_T("hidden"), &Hidden);
77
91
  }
78
92
 
79
- bool IsValid() const
80
- {
81
- return (true);
82
- }
83
-
84
93
  VisibilitychangeParamsData(const VisibilitychangeParamsData&) = delete;
94
+ VisibilitychangeParamsData(VisibilitychangeParamsData&&) noexcept = delete;
95
+
85
96
  VisibilitychangeParamsData& operator=(const VisibilitychangeParamsData&) = delete;
97
+ VisibilitychangeParamsData& operator=(VisibilitychangeParamsData&&) noexcept = delete;
98
+
99
+ ~VisibilitychangeParamsData() = default;
100
+
101
+ public:
102
+ bool IsDataValid() const
103
+ {
104
+ return (Hidden.IsSet() == true);
105
+ }
86
106
 
87
107
  public:
88
108
  Core::JSON::Boolean Hidden; // Determines if the browser has been hidden (true) or made visible (false)
89
109
  }; // class VisibilitychangeParamsData
90
110
 
91
111
  } // namespace Browser
92
112
 
113
+ POP_WARNING()
114
+
93
115
  } // namespace JsonData
94
116
 
95
117
  // Enum conversion handlers
96
118
  ENUM_CONVERSION_HANDLER(JsonData::Browser::VisibilityType)
97
119
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserCookieJar.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for BrowserCookieJar API JSON-RPC API.
1
+ // C++ types for BrowserCookieJar API.
2
2
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BrowserCookieJar {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,19 +25,53 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  _Init();
26
28
  }
27
29
 
30
+ ConfigData(const ConfigData& _other)
31
+ : Core::JSON::Container()
32
+ , Version(_other.Version)
33
+ , Checksum(_other.Checksum)
34
+ , Payload(_other.Payload)
35
+ {
36
+ _Init();
37
+ }
38
+
39
+ ConfigData(ConfigData&& _other) noexcept
40
+ : Core::JSON::Container()
41
+ , Version(std::move(_other.Version))
42
+ , Checksum(std::move(_other.Checksum))
43
+ , Payload(std::move(_other.Payload))
44
+ {
45
+ _Init();
46
+ }
47
+
28
48
  ConfigData(const Exchange::IBrowserCookieJar::Config& _other)
29
49
  : Core::JSON::Container()
30
50
  {
31
51
  Version = _other.version;
32
52
  Checksum = _other.checksum;
33
53
  Payload = _other.payload;
34
54
  _Init();
35
55
  }
36
56
 
57
+ ConfigData& operator=(const ConfigData& _rhs)
58
+ {
59
+ Version = _rhs.Version;
60
+ Checksum = _rhs.Checksum;
61
+ Payload = _rhs.Payload;
62
+ return (*this);
63
+ }
64
+
65
+ ConfigData& operator=(ConfigData&& _rhs) noexcept
66
+ {
67
+ Version = std::move(_rhs.Version);
68
+ Checksum = std::move(_rhs.Checksum);
69
+ Payload = std::move(_rhs.Payload);
70
+ return (*this);
71
+ }
72
+
37
73
  ConfigData& operator=(const Exchange::IBrowserCookieJar::Config& _rhs)
38
74
  {
39
75
  Version = _rhs.version;
40
76
  Checksum = _rhs.checksum;
41
77
  Payload = _rhs.payload;
@@ -49,13 +85,16 @@ namespace JsonData {
49
85
  _value.checksum = Checksum;
50
86
  _value.payload = Payload;
51
87
  return (_value);
52
88
  }
53
89
 
54
- bool IsValid() const
90
+ ~ConfigData() = default;
91
+
92
+ public:
93
+ bool IsDataValid() const
55
94
  {
56
- return (true);
95
+ return ((Version.IsSet() == true) && (Checksum.IsSet() == true) && (Payload.IsSet() == true));
57
96
  }
58
97
 
59
98
  private:
60
99
  void _Init()
61
100
  {
@@ -70,10 +109,12 @@ namespace JsonData {
70
109
  Core::JSON::String Payload;
71
110
  }; // class ConfigData
72
111
 
73
112
  } // namespace BrowserCookieJar
74
113
 
114
+ POP_WARNING()
115
+
75
116
  } // namespace JsonData
76
117
 
77
118
  // Enum conversion handlers
78
119
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::VisibilityType)
79
120
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::HTTPCookieAcceptPolicyType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserResources.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for BrowserResources API JSON-RPC API.
1
+ // C++ types for BrowserResources API.
2
2
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BrowserResources {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace BrowserResources
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::VisibilityType)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::HTTPCookieAcceptPolicyType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserScripting.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for BrowserScripting API JSON-RPC API.
1
+ // C++ types for BrowserScripting API.
2
2
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BrowserScripting {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -24,17 +26,23 @@ namespace JsonData {
24
26
  {
25
27
  Add(_T("script"), &Script);
26
28
  Add(_T("topframeonly"), &TopFrameOnly);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  AddUserScriptParamsData(const AddUserScriptParamsData&) = delete;
32
+ AddUserScriptParamsData(AddUserScriptParamsData&&) noexcept = delete;
33
+
35
34
  AddUserScriptParamsData& operator=(const AddUserScriptParamsData&) = delete;
35
+ AddUserScriptParamsData& operator=(AddUserScriptParamsData&&) noexcept = delete;
36
+
37
+ ~AddUserScriptParamsData() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((Script.IsSet() == true) && (TopFrameOnly.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::String Script; // Utf8 encoded JS code string.
39
47
  Core::JSON::Boolean TopFrameOnly;
40
48
  }; // class AddUserScriptParamsData
@@ -45,24 +53,32 @@ namespace JsonData {
45
53
  : Core::JSON::Container()
46
54
  {
47
55
  Add(_T("script"), &Script);
48
56
  }
49
57
 
50
- bool IsValid() const
51
- {
52
- return (true);
53
- }
54
-
55
58
  RunJavaScriptParamsData(const RunJavaScriptParamsData&) = delete;
59
+ RunJavaScriptParamsData(RunJavaScriptParamsData&&) noexcept = delete;
60
+
56
61
  RunJavaScriptParamsData& operator=(const RunJavaScriptParamsData&) = delete;
62
+ RunJavaScriptParamsData& operator=(RunJavaScriptParamsData&&) noexcept = delete;
63
+
64
+ ~RunJavaScriptParamsData() = default;
65
+
66
+ public:
67
+ bool IsDataValid() const
68
+ {
69
+ return (Script.IsSet() == true);
70
+ }
57
71
 
58
72
  public:
59
73
  Core::JSON::String Script; // Utf8 encoded JS code string.
60
74
  }; // class RunJavaScriptParamsData
61
75
 
62
76
  } // namespace BrowserScripting
63
77
 
78
+ POP_WARNING()
79
+
64
80
  } // namespace JsonData
65
81
 
66
82
  // Enum conversion handlers
67
83
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::VisibilityType)
68
84
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::HTTPCookieAcceptPolicyType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_BrowserSecurity.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for BrowserSecurity API JSON-RPC API.
1
+ // C++ types for BrowserSecurity API.
2
2
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace BrowserSecurity {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace BrowserSecurity
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::VisibilityType)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::HTTPCookieAcceptPolicyType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Butler.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Butler API JSON-RPC API.
1
+ // C++ types for Butler API.
2
2
  // Generated automatically from 'Butler.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Butler {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -82,29 +84,71 @@ namespace JsonData {
82
84
  , Value(_other.Value)
83
85
  {
84
86
  _Init();
85
87
  }
86
88
 
89
+ DeviceInfo(DeviceInfo&& _other) noexcept
90
+ : Core::JSON::Container()
91
+ , Id(std::move(_other.Id))
92
+ , Bundle(std::move(_other.Bundle))
93
+ , Name(std::move(_other.Name))
94
+ , Callsign(std::move(_other.Callsign))
95
+ , Basic(std::move(_other.Basic))
96
+ , Specific(std::move(_other.Specific))
97
+ , Dimension(std::move(_other.Dimension))
98
+ , Decimals(std::move(_other.Decimals))
99
+ , Minimum(std::move(_other.Minimum))
100
+ , Maximum(std::move(_other.Maximum))
101
+ , Value(std::move(_other.Value))
102
+ {
103
+ _Init();
104
+ }
105
+
87
106
  DeviceInfo& operator=(const DeviceInfo& _rhs)
88
107
  {
89
108
  Id = _rhs.Id;
90
- Bundle = _rhs.Bundle;
109
+ if (_rhs.Bundle != 0) {
110
+ Bundle = _rhs.Bundle;
111
+ }
91
112
  Name = _rhs.Name;
92
- Callsign = _rhs.Callsign;
113
+ if (_rhs.Callsign.Value().empty() == false) {
114
+ Callsign = _rhs.Callsign;
115
+ }
93
116
  Basic = _rhs.Basic;
94
117
  Specific = _rhs.Specific;
95
118
  Dimension = _rhs.Dimension;
96
119
  Decimals = _rhs.Decimals;
97
120
  Minimum = _rhs.Minimum;
98
121
  Maximum = _rhs.Maximum;
99
- Value = _rhs.Value;
122
+ if (_rhs.Value != 0) {
123
+ Value = _rhs.Value;
124
+ }
125
+ return (*this);
126
+ }
127
+
128
+ DeviceInfo& operator=(DeviceInfo&& _rhs) noexcept
129
+ {
130
+ Id = std::move(_rhs.Id);
131
+ Bundle = std::move(_rhs.Bundle);
132
+ Name = std::move(_rhs.Name);
133
+ Callsign = std::move(_rhs.Callsign);
134
+ Basic = std::move(_rhs.Basic);
135
+ Specific = std::move(_rhs.Specific);
136
+ Dimension = std::move(_rhs.Dimension);
137
+ Decimals = std::move(_rhs.Decimals);
138
+ Minimum = std::move(_rhs.Minimum);
139
+ Maximum = std::move(_rhs.Maximum);
140
+ Value = std::move(_rhs.Value);
100
141
  return (*this);
101
142
  }
102
143
 
103
- bool IsValid() const
144
+ ~DeviceInfo() = default;
145
+
146
+ public:
147
+ bool IsDataValid() const
104
148
  {
105
- return (true);
149
+ return ((Id.IsSet() == true) && (Name.IsSet() == true) && (Basic.IsSet() == true) && (Specific.IsSet() == true) && (Dimension.IsSet() == true) && (Decimals.IsSet() == true) && (Minimum.IsSet() == true) && (Maximum.IsSet() == true));
106
150
  }
107
151
 
108
152
  private:
109
153
  void _Init()
110
154
  {
@@ -145,17 +189,23 @@ namespace JsonData {
145
189
  {
146
190
  Add(_T("id"), &Id);
147
191
  Add(_T("value"), &Value);
148
192
  }
149
193
 
150
- bool IsValid() const
151
- {
152
- return (true);
153
- }
154
-
155
194
  ActivityParamsData(const ActivityParamsData&) = delete;
195
+ ActivityParamsData(ActivityParamsData&&) noexcept = delete;
196
+
156
197
  ActivityParamsData& operator=(const ActivityParamsData&) = delete;
198
+ ActivityParamsData& operator=(ActivityParamsData&&) noexcept = delete;
199
+
200
+ ~ActivityParamsData() = default;
201
+
202
+ public:
203
+ bool IsDataValid() const
204
+ {
205
+ return ((Id.IsSet() == true) && (Value.IsSet() == true));
206
+ }
157
207
 
158
208
  public:
159
209
  Core::JSON::DecUInt32 Id; // Identifier of the device
160
210
  Core::JSON::DecSInt32 Value;
161
211
  }; // class ActivityParamsData
@@ -180,10 +230,22 @@ namespace JsonData {
180
230
  , Point(_other.Point)
181
231
  {
182
232
  _Init();
183
233
  }
184
234
 
235
+ MembersData(MembersData&& _other) noexcept
236
+ : Core::JSON::Container()
237
+ , Name(std::move(_other.Name))
238
+ , Callsign(std::move(_other.Callsign))
239
+ , Children(std::move(_other.Children))
240
+ , Bundle(std::move(_other.Bundle))
241
+ , Id(std::move(_other.Id))
242
+ , Point(std::move(_other.Point))
243
+ {
244
+ _Init();
245
+ }
246
+
185
247
  MembersData& operator=(const MembersData& _rhs)
186
248
  {
187
249
  Name = _rhs.Name;
188
250
  Callsign = _rhs.Callsign;
189
251
  Children = _rhs.Children;
@@ -191,13 +253,27 @@ namespace JsonData {
191
253
  Id = _rhs.Id;
192
254
  Point = _rhs.Point;
193
255
  return (*this);
194
256
  }
195
257
 
196
- bool IsValid() const
258
+ MembersData& operator=(MembersData&& _rhs) noexcept
197
259
  {
198
- return (true);
260
+ Name = std::move(_rhs.Name);
261
+ Callsign = std::move(_rhs.Callsign);
262
+ Children = std::move(_rhs.Children);
263
+ Bundle = std::move(_rhs.Bundle);
264
+ Id = std::move(_rhs.Id);
265
+ Point = std::move(_rhs.Point);
266
+ return (*this);
267
+ }
268
+
269
+ ~MembersData() = default;
270
+
271
+ public:
272
+ bool IsDataValid() const
273
+ {
274
+ return ((Name.IsSet() == true) && (Callsign.IsSet() == true) && (Children.IsSet() == true) && (Bundle.IsSet() == true) && (Id.IsSet() == true) && (Point.IsSet() == true));
199
275
  }
200
276
 
201
277
  private:
202
278
  void _Init()
203
279
  {
@@ -212,11 +288,11 @@ namespace JsonData {
212
288
  public:
213
289
  Core::JSON::ArrayType<Core::JSON::String> Name; // Name of a room or sensor
214
290
  Core::JSON::String Callsign; // The callsign that owns this external
215
291
  Core::JSON::DecUInt32 Children; // The number of children in a group
216
292
  Core::JSON::DecUInt32 Bundle; // The bundle id if this is a bundle
217
- Core::JSON::DecUInt32 Id; // The id of the single point in this meber, it is not a bundle
293
+ Core::JSON::DecUInt32 Id; // The id of the single point in this meber, it is not a bundle
218
294
  Core::JSON::ArrayType<DeviceInfo> Point;
219
295
  }; // class MembersData
220
296
 
221
297
  GroupData()
222
298
  : Core::JSON::Container()
@@ -225,17 +301,23 @@ namespace JsonData {
225
301
  Add(_T("id"), &Id);
226
302
  Add(_T("base"), &Base);
227
303
  Add(_T("members"), &Members);
228
304
  }
229
305
 
230
- bool IsValid() const
231
- {
232
- return (true);
233
- }
234
-
235
306
  GroupData(const GroupData&) = delete;
307
+ GroupData(GroupData&&) noexcept = delete;
308
+
236
309
  GroupData& operator=(const GroupData&) = delete;
310
+ GroupData& operator=(GroupData&&) noexcept = delete;
311
+
312
+ ~GroupData() = default;
313
+
314
+ public:
315
+ bool IsDataValid() const
316
+ {
317
+ return ((Parent.IsSet() == true) && (Id.IsSet() == true) && (Base.IsSet() == true) && (Members.IsSet() == true));
318
+ }
237
319
 
238
320
  public:
239
321
  Core::JSON::DecUInt32 Parent; // Identifier of the group to wich this group belongs
240
322
  Core::JSON::DecUInt32 Id; // Identifier of this group
241
323
  Core::JSON::String Base; // Path identifier leading up to this group
@@ -249,17 +331,23 @@ namespace JsonData {
249
331
  {
250
332
  Add(_T("node"), &Node);
251
333
  Add(_T("id"), &Id);
252
334
  }
253
335
 
254
- bool IsValid() const
255
- {
256
- return (true);
257
- }
258
-
259
336
  LinkData(const LinkData&) = delete;
337
+ LinkData(LinkData&&) noexcept = delete;
338
+
260
339
  LinkData& operator=(const LinkData&) = delete;
340
+ LinkData& operator=(LinkData&&) noexcept = delete;
341
+
342
+ ~LinkData() = default;
343
+
344
+ public:
345
+ bool IsDataValid() const
346
+ {
347
+ return ((Node.IsSet() == true) && (Id.IsSet() == true));
348
+ }
261
349
 
262
350
  public:
263
351
  Core::JSON::String Node; // Path identifying the the node to which we should link the id
264
352
  Core::JSON::DecUInt32 Id; // Identifier of the External to be linked
265
353
  }; // class LinkData
@@ -271,25 +359,33 @@ namespace JsonData {
271
359
  {
272
360
  Add(_T("origin"), &Origin);
273
361
  Add(_T("node"), &Node);
274
362
  }
275
363
 
276
- bool IsValid() const
277
- {
278
- return (true);
279
- }
280
-
281
364
  MoveData(const MoveData&) = delete;
365
+ MoveData(MoveData&&) noexcept = delete;
366
+
282
367
  MoveData& operator=(const MoveData&) = delete;
368
+ MoveData& operator=(MoveData&&) noexcept = delete;
369
+
370
+ ~MoveData() = default;
371
+
372
+ public:
373
+ bool IsDataValid() const
374
+ {
375
+ return ((Origin.IsSet() == true) && (Node.IsSet() == true));
376
+ }
283
377
 
284
378
  public:
285
379
  Core::JSON::String Origin; // Path identifying the the node that will be moved
286
380
  Core::JSON::String Node; // Path identifying where the node it too be placed
287
381
  }; // class MoveData
288
382
 
289
383
  } // namespace Butler
290
384
 
385
+ POP_WARNING()
386
+
291
387
  } // namespace JsonData
292
388
 
293
389
  // Enum conversion handlers
294
390
  ENUM_CONVERSION_HANDLER(JsonData::Butler::BasicenumType)
295
391
  ENUM_CONVERSION_HANDLER(JsonData::Butler::SpecificenumType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Compositor.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Compositor API JSON-RPC API.
1
+ // C++ types for Compositor API.
2
2
  // Generated automatically from 'Compositor.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Compositor {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -54,17 +56,23 @@ namespace JsonData {
54
56
  : Core::JSON::Container()
55
57
  {
56
58
  Add(_T("client"), &Client);
57
59
  }
58
60
 
59
- bool IsValid() const
60
- {
61
- return (true);
62
- }
63
-
64
61
  PutontopParamsInfo(const PutontopParamsInfo&) = delete;
62
+ PutontopParamsInfo(PutontopParamsInfo&&) noexcept = delete;
63
+
65
64
  PutontopParamsInfo& operator=(const PutontopParamsInfo&) = delete;
65
+ PutontopParamsInfo& operator=(PutontopParamsInfo&&) noexcept = delete;
66
+
67
+ ~PutontopParamsInfo() = default;
68
+
69
+ public:
70
+ bool IsDataValid() const
71
+ {
72
+ return (Client.IsSet() == true);
73
+ }
66
74
 
67
75
  public:
68
76
  Core::JSON::String Client; // Client name
69
77
  }; // class PutontopParamsInfo
70
78
 
@@ -80,17 +88,23 @@ namespace JsonData {
80
88
  Add(_T("y"), &Y);
81
89
  Add(_T("width"), &Width);
82
90
  Add(_T("height"), &Height);
83
91
  }
84
92
 
85
- bool IsValid() const
86
- {
87
- return (true);
88
- }
89
-
90
93
  GeometryData(const GeometryData&) = delete;
94
+ GeometryData(GeometryData&&) noexcept = delete;
95
+
91
96
  GeometryData& operator=(const GeometryData&) = delete;
97
+ GeometryData& operator=(GeometryData&&) noexcept = delete;
98
+
99
+ ~GeometryData() = default;
100
+
101
+ public:
102
+ bool IsDataValid() const
103
+ {
104
+ return ((X.IsSet() == true) && (Y.IsSet() == true) && (Width.IsSet() == true) && (Height.IsSet() == true));
105
+ }
92
106
 
93
107
  public:
94
108
  Core::JSON::DecUInt32 X; // Horizontal coordinate of the surface
95
109
  Core::JSON::DecUInt32 Y; // Vertical coordinate of the surface
96
110
  Core::JSON::DecUInt32 Width; // Surface width
@@ -104,25 +118,33 @@ namespace JsonData {
104
118
  {
105
119
  Add(_T("client"), &Client);
106
120
  Add(_T("relative"), &Relative);
107
121
  }
108
122
 
109
- bool IsValid() const
110
- {
111
- return (true);
112
- }
113
-
114
123
  PutbelowParamsData(const PutbelowParamsData&) = delete;
124
+ PutbelowParamsData(PutbelowParamsData&&) noexcept = delete;
125
+
115
126
  PutbelowParamsData& operator=(const PutbelowParamsData&) = delete;
127
+ PutbelowParamsData& operator=(PutbelowParamsData&&) noexcept = delete;
128
+
129
+ ~PutbelowParamsData() = default;
130
+
131
+ public:
132
+ bool IsDataValid() const
133
+ {
134
+ return ((Client.IsSet() == true) && (Relative.IsSet() == true));
135
+ }
116
136
 
117
137
  public:
118
138
  Core::JSON::String Client; // Client name to change z-order position
119
139
  Core::JSON::String Relative; // Client to put the other surface below
120
140
  }; // class PutbelowParamsData
121
141
 
122
142
  } // namespace Compositor
123
143
 
144
+ POP_WARNING()
145
+
124
146
  } // namespace JsonData
125
147
 
126
148
  // Enum conversion handlers
127
149
  ENUM_CONVERSION_HANDLER(JsonData::Compositor::ResolutionType)
128
150
  ENUM_CONVERSION_HANDLER(JsonData::Compositor::BrightnessType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ConnectionProperties.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for ConnectionProperties API JSON-RPC API.
1
+ // C++ types for ConnectionProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace ConnectionProperties {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("length"), &Length);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  EDIDParamsData(const EDIDParamsData&) = delete;
31
+ EDIDParamsData(EDIDParamsData&&) noexcept = delete;
32
+
34
33
  EDIDParamsData& operator=(const EDIDParamsData&) = delete;
34
+ EDIDParamsData& operator=(EDIDParamsData&&) noexcept = delete;
35
+
36
+ ~EDIDParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Length.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::DecUInt16 Length;
38
46
  }; // class EDIDParamsData
39
47
 
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  {
45
53
  Add(_T("length"), &Length);
46
54
  Add(_T("data"), &Data);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  EDIDResultData(const EDIDResultData&) = delete;
58
+ EDIDResultData(EDIDResultData&&) noexcept = delete;
59
+
55
60
  EDIDResultData& operator=(const EDIDResultData&) = delete;
61
+ EDIDResultData& operator=(EDIDResultData&&) noexcept = delete;
62
+
63
+ ~EDIDResultData() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return ((Length.IsSet() == true) && (Data.IsSet() == true));
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::DecUInt16 Length;
59
73
  Core::JSON::String Data;
60
74
  }; // class EDIDResultData
@@ -65,24 +79,32 @@ namespace JsonData {
65
79
  : Core::JSON::Container()
66
80
  {
67
81
  Add(_T("event"), &Event);
68
82
  }
69
83
 
70
- bool IsValid() const
71
- {
72
- return (true);
73
- }
74
-
75
84
  UpdatedParamsData(const UpdatedParamsData&) = delete;
85
+ UpdatedParamsData(UpdatedParamsData&&) noexcept = delete;
86
+
76
87
  UpdatedParamsData& operator=(const UpdatedParamsData&) = delete;
88
+ UpdatedParamsData& operator=(UpdatedParamsData&&) noexcept = delete;
89
+
90
+ ~UpdatedParamsData() = default;
91
+
92
+ public:
93
+ bool IsDataValid() const
94
+ {
95
+ return (Event.IsSet() == true);
96
+ }
77
97
 
78
98
  public:
79
99
  Core::JSON::EnumType<Exchange::IConnectionProperties::INotification::Source> Event;
80
100
  }; // class UpdatedParamsData
81
101
 
82
102
  } // namespace ConnectionProperties
83
103
 
104
+ POP_WARNING()
105
+
84
106
  } // namespace JsonData
85
107
 
86
108
  // Enum conversion handlers
87
109
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::HDCPProtectionType)
88
110
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::INotification::Source)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Containers.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Process Containers JSON-RPC API.
1
+ // C++ types for Process Containers.
2
2
  // Generated automatically from 'Containers.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace Containers {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  {
24
26
  Add(_T("total"), &Total);
25
27
  Add(_T("cores"), &Cores);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  CpuData(const CpuData&) = delete;
31
+ CpuData(CpuData&&) noexcept = delete;
32
+
34
33
  CpuData& operator=(const CpuData&) = delete;
34
+ CpuData& operator=(CpuData&&) noexcept = delete;
35
+
36
+ ~CpuData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return ((Total.IsSet() == true) && (Cores.IsSet() == true));
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::DecUInt64 Total; // CPU-time spent on container, in nanoseconds
38
46
  Core::JSON::ArrayType<Core::JSON::DecUInt64> Cores; // Time spent on each cpu core, in nanoseconds
39
47
  }; // class CpuData
@@ -46,17 +54,23 @@ namespace JsonData {
46
54
  Add(_T("allocated"), &Allocated);
47
55
  Add(_T("resident"), &Resident);
48
56
  Add(_T("shared"), &Shared);
49
57
  }
50
58
 
51
- bool IsValid() const
52
- {
53
- return (true);
54
- }
55
-
56
59
  MemoryData(const MemoryData&) = delete;
60
+ MemoryData(MemoryData&&) noexcept = delete;
61
+
57
62
  MemoryData& operator=(const MemoryData&) = delete;
63
+ MemoryData& operator=(MemoryData&&) noexcept = delete;
64
+
65
+ ~MemoryData() = default;
66
+
67
+ public:
68
+ bool IsDataValid() const
69
+ {
70
+ return ((Allocated.IsSet() == true) && (Resident.IsSet() == true) && (Shared.IsSet() == true));
71
+ }
58
72
 
59
73
  public:
60
74
  Core::JSON::DecUInt64 Allocated; // Memory allocated by container
61
75
  Core::JSON::DecUInt64 Resident; // Resident memory of the container
62
76
  Core::JSON::DecUInt64 Shared; // Shared memory in the container
@@ -76,20 +90,38 @@ namespace JsonData {
76
90
  , Ips(_other.Ips)
77
91
  {
78
92
  _Init();
79
93
  }
80
94
 
95
+ NetworksResultDataElem(NetworksResultDataElem&& _other) noexcept
96
+ : Core::JSON::Container()
97
+ , Interface(std::move(_other.Interface))
98
+ , Ips(std::move(_other.Ips))
99
+ {
100
+ _Init();
101
+ }
102
+
81
103
  NetworksResultDataElem& operator=(const NetworksResultDataElem& _rhs)
82
104
  {
83
105
  Interface = _rhs.Interface;
84
106
  Ips = _rhs.Ips;
85
107
  return (*this);
86
108
  }
87
109
 
88
- bool IsValid() const
110
+ NetworksResultDataElem& operator=(NetworksResultDataElem&& _rhs) noexcept
89
111
  {
90
- return (true);
112
+ Interface = std::move(_rhs.Interface);
113
+ Ips = std::move(_rhs.Ips);
114
+ return (*this);
115
+ }
116
+
117
+ ~NetworksResultDataElem() = default;
118
+
119
+ public:
120
+ bool IsDataValid() const
121
+ {
122
+ return ((Interface.IsSet() == true) && (Ips.IsSet() == true));
91
123
  }
92
124
 
93
125
  private:
94
126
  void _Init()
95
127
  {
@@ -110,17 +142,23 @@ namespace JsonData {
110
142
  Add(_T("name"), &Name);
111
143
  Add(_T("command"), &Command);
112
144
  Add(_T("parameters"), &Parameters);
113
145
  }
114
146
 
115
- bool IsValid() const
116
- {
117
- return (true);
118
- }
119
-
120
147
  StartParamsData(const StartParamsData&) = delete;
148
+ StartParamsData(StartParamsData&&) noexcept = delete;
149
+
121
150
  StartParamsData& operator=(const StartParamsData&) = delete;
151
+ StartParamsData& operator=(StartParamsData&&) noexcept = delete;
152
+
153
+ ~StartParamsData() = default;
154
+
155
+ public:
156
+ bool IsDataValid() const
157
+ {
158
+ return ((Name.IsSet() == true) && (Command.IsSet() == true) && (Parameters.IsSet() == true));
159
+ }
122
160
 
123
161
  public:
124
162
  Core::JSON::String Name; // Name of container
125
163
  Core::JSON::String Command; // Command that will be started in the container
126
164
  Core::JSON::ArrayType<Core::JSON::String> Parameters; // List of parameters supplied to command
@@ -132,23 +170,31 @@ namespace JsonData {
132
170
  : Core::JSON::Container()
133
171
  {
134
172
  Add(_T("name"), &Name);
135
173
  }
136
174
 
137
- bool IsValid() const
138
- {
139
- return (true);
140
- }
141
-
142
175
  StopParamsData(const StopParamsData&) = delete;
176
+ StopParamsData(StopParamsData&&) noexcept = delete;
177
+
143
178
  StopParamsData& operator=(const StopParamsData&) = delete;
179
+ StopParamsData& operator=(StopParamsData&&) noexcept = delete;
180
+
181
+ ~StopParamsData() = default;
182
+
183
+ public:
184
+ bool IsDataValid() const
185
+ {
186
+ return (Name.IsSet() == true);
187
+ }
144
188
 
145
189
  public:
146
190
  Core::JSON::String Name; // Name of container
147
191
  }; // class StopParamsData
148
192
 
149
193
  } // namespace Containers
150
194
 
195
+ POP_WARNING()
196
+
151
197
  } // namespace JsonData
152
198
 
153
199
  }
154
200
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DHCPServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for DHCP Server API JSON-RPC API.
1
+ // C++ types for DHCP Server API.
2
2
  // Generated automatically from 'DHCPServer.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace DHCPServer {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("interface"), &Interface);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  ActivateParamsInfo(const ActivateParamsInfo&) = delete;
30
+ ActivateParamsInfo(ActivateParamsInfo&&) noexcept = delete;
31
+
33
32
  ActivateParamsInfo& operator=(const ActivateParamsInfo&) = delete;
33
+ ActivateParamsInfo& operator=(ActivateParamsInfo&&) noexcept = delete;
34
+
35
+ ~ActivateParamsInfo() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Interface.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Interface; // Network interface name
37
45
  }; // class ActivateParamsInfo
38
46
 
@@ -56,21 +64,43 @@ namespace JsonData {
56
64
  , Expires(_other.Expires)
57
65
  {
58
66
  _Init();
59
67
  }
60
68
 
69
+ LeaseData(LeaseData&& _other) noexcept
70
+ : Core::JSON::Container()
71
+ , Name(std::move(_other.Name))
72
+ , Ip(std::move(_other.Ip))
73
+ , Expires(std::move(_other.Expires))
74
+ {
75
+ _Init();
76
+ }
77
+
61
78
  LeaseData& operator=(const LeaseData& _rhs)
62
79
  {
63
80
  Name = _rhs.Name;
64
81
  Ip = _rhs.Ip;
65
- Expires = _rhs.Expires;
82
+ if (_rhs.Expires.Value().empty() == false) {
83
+ Expires = _rhs.Expires;
84
+ }
85
+ return (*this);
86
+ }
87
+
88
+ LeaseData& operator=(LeaseData&& _rhs) noexcept
89
+ {
90
+ Name = std::move(_rhs.Name);
91
+ Ip = std::move(_rhs.Ip);
92
+ Expires = std::move(_rhs.Expires);
66
93
  return (*this);
67
94
  }
68
95
 
69
- bool IsValid() const
96
+ ~LeaseData() = default;
97
+
98
+ public:
99
+ bool IsDataValid() const
70
100
  {
71
- return (true);
101
+ return ((Name.IsSet() == true) && (Ip.IsSet() == true));
72
102
  }
73
103
 
74
104
  private:
75
105
  void _Init()
76
106
  {
@@ -101,24 +131,56 @@ namespace JsonData {
101
131
  , Leases(_other.Leases)
102
132
  {
103
133
  _Init();
104
134
  }
105
135
 
136
+ ServerData(ServerData&& _other) noexcept
137
+ : Core::JSON::Container()
138
+ , Interface(std::move(_other.Interface))
139
+ , Active(std::move(_other.Active))
140
+ , Begin(std::move(_other.Begin))
141
+ , End(std::move(_other.End))
142
+ , Router(std::move(_other.Router))
143
+ , Leases(std::move(_other.Leases))
144
+ {
145
+ _Init();
146
+ }
147
+
106
148
  ServerData& operator=(const ServerData& _rhs)
107
149
  {
108
150
  Interface = _rhs.Interface;
109
151
  Active = _rhs.Active;
110
- Begin = _rhs.Begin;
111
- End = _rhs.End;
112
- Router = _rhs.Router;
152
+ if (_rhs.Begin.Value().empty() == false) {
153
+ Begin = _rhs.Begin;
154
+ }
155
+ if (_rhs.End.Value().empty() == false) {
156
+ End = _rhs.End;
157
+ }
158
+ if (_rhs.Router.Value().empty() == false) {
159
+ Router = _rhs.Router;
160
+ }
113
161
  Leases = _rhs.Leases;
114
162
  return (*this);
115
163
  }
116
164
 
117
- bool IsValid() const
165
+ ServerData& operator=(ServerData&& _rhs) noexcept
118
166
  {
119
- return (true);
167
+ Interface = std::move(_rhs.Interface);
168
+ Active = std::move(_rhs.Active);
169
+ Begin = std::move(_rhs.Begin);
170
+ End = std::move(_rhs.End);
171
+ Router = std::move(_rhs.Router);
172
+ Leases = std::move(_rhs.Leases);
173
+ return (*this);
174
+ }
175
+
176
+ ~ServerData() = default;
177
+
178
+ public:
179
+ bool IsDataValid() const
180
+ {
181
+ return ((Interface.IsSet() == true) && (Active.IsSet() == true));
120
182
  }
121
183
 
122
184
  private:
123
185
  void _Init()
124
186
  {
@@ -139,9 +201,11 @@ namespace JsonData {
139
201
  Core::JSON::ArrayType<ServerData::LeaseData> Leases; // List of IP address leases
140
202
  }; // class ServerData
141
203
 
142
204
  } // namespace DHCPServer
143
205
 
206
+ POP_WARNING()
207
+
144
208
  } // namespace JsonData
145
209
 
146
210
  }
147
211
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DIALServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for DIAL Server API JSON-RPC API.
1
+ // C++ types for DIAL Server API.
2
2
  // Generated automatically from 'DIALServer.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace DIALServer {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -33,17 +35,23 @@ namespace JsonData {
33
35
  : Core::JSON::Container()
34
36
  {
35
37
  Add(_T("application"), &Application);
36
38
  }
37
39
 
38
- bool IsValid() const
39
- {
40
- return (true);
41
- }
42
-
43
40
  HideParamsInfo(const HideParamsInfo&) = delete;
41
+ HideParamsInfo(HideParamsInfo&&) noexcept = delete;
42
+
44
43
  HideParamsInfo& operator=(const HideParamsInfo&) = delete;
44
+ HideParamsInfo& operator=(HideParamsInfo&&) noexcept = delete;
45
+
46
+ ~HideParamsInfo() = default;
47
+
48
+ public:
49
+ bool IsDataValid() const
50
+ {
51
+ return (Application.IsSet() == true);
52
+ }
45
53
 
46
54
  public:
47
55
  Core::JSON::String Application; // Application name
48
56
  }; // class HideParamsInfo
49
57
 
@@ -58,17 +66,23 @@ namespace JsonData {
58
66
  Add(_T("application"), &Application);
59
67
  Add(_T("parameters"), &Parameters);
60
68
  Add(_T("payload"), &Payload);
61
69
  }
62
70
 
63
- bool IsValid() const
64
- {
65
- return (true);
66
- }
67
-
68
71
  StartParamsData(const StartParamsData&) = delete;
72
+ StartParamsData(StartParamsData&&) noexcept = delete;
73
+
69
74
  StartParamsData& operator=(const StartParamsData&) = delete;
75
+ StartParamsData& operator=(StartParamsData&&) noexcept = delete;
76
+
77
+ ~StartParamsData() = default;
78
+
79
+ public:
80
+ bool IsDataValid() const
81
+ {
82
+ return (Application.IsSet() == true);
83
+ }
70
84
 
71
85
  public:
72
86
  Core::JSON::String Application; // Application name
73
87
  Core::JSON::String Parameters; // Additional application-specific parameters
74
88
  Core::JSON::String Payload; // Additional application-specific payload
@@ -81,25 +95,33 @@ namespace JsonData {
81
95
  {
82
96
  Add(_T("application"), &Application);
83
97
  Add(_T("parameters"), &Parameters);
84
98
  }
85
99
 
86
- bool IsValid() const
87
- {
88
- return (true);
89
- }
90
-
91
100
  StopParamsData(const StopParamsData&) = delete;
101
+ StopParamsData(StopParamsData&&) noexcept = delete;
102
+
92
103
  StopParamsData& operator=(const StopParamsData&) = delete;
104
+ StopParamsData& operator=(StopParamsData&&) noexcept = delete;
105
+
106
+ ~StopParamsData() = default;
107
+
108
+ public:
109
+ bool IsDataValid() const
110
+ {
111
+ return (Application.IsSet() == true);
112
+ }
93
113
 
94
114
  public:
95
115
  Core::JSON::String Application; // Application name
96
116
  Core::JSON::String Parameters; // Additional application-specific parameters
97
117
  }; // class StopParamsData
98
118
 
99
119
  } // namespace DIALServer
100
120
 
121
+ POP_WARNING()
122
+
101
123
  } // namespace JsonData
102
124
 
103
125
  // Enum conversion handlers
104
126
  ENUM_CONVERSION_HANDLER(JsonData::DIALServer::StateType)
105
127
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DTV.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for DTV API JSON-RPC API.
1
+ // C++ types for DTV API.
2
2
  // Generated automatically from 'DTV.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace DTV {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -175,17 +177,23 @@ namespace JsonData {
175
177
  Add(_T("frequency"), &Frequency);
176
178
  Add(_T("symbolrate"), &Symbolrate);
177
179
  Add(_T("modulation"), &Modulation);
178
180
  }
179
181
 
180
- bool IsValid() const
181
- {
182
- return (true);
183
- }
184
-
185
182
  DvbctuningparamsInfo(const DvbctuningparamsInfo&) = delete;
183
+ DvbctuningparamsInfo(DvbctuningparamsInfo&&) noexcept = delete;
184
+
186
185
  DvbctuningparamsInfo& operator=(const DvbctuningparamsInfo&) = delete;
186
+ DvbctuningparamsInfo& operator=(DvbctuningparamsInfo&&) noexcept = delete;
187
+
188
+ ~DvbctuningparamsInfo() = default;
189
+
190
+ public:
191
+ bool IsDataValid() const
192
+ {
193
+ return ((Frequency.IsSet() == true) && (Symbolrate.IsSet() == true) && (Modulation.IsSet() == true));
194
+ }
187
195
 
188
196
  public:
189
197
  Core::JSON::DecUInt32 Frequency;
190
198
  Core::JSON::DecUInt16 Symbolrate;
191
199
  Core::JSON::EnumType<DvbcmodulationType> Modulation;
@@ -203,17 +211,23 @@ namespace JsonData {
203
211
  Add(_T("fec"), &Fec);
204
212
  Add(_T("modulation"), &Modulation);
205
213
  Add(_T("dvbs2"), &Dvbs2);
206
214
  }
207
215
 
208
- bool IsValid() const
209
- {
210
- return (true);
211
- }
212
-
213
216
  DvbstuningparamsInfo(const DvbstuningparamsInfo&) = delete;
217
+ DvbstuningparamsInfo(DvbstuningparamsInfo&&) noexcept = delete;
218
+
214
219
  DvbstuningparamsInfo& operator=(const DvbstuningparamsInfo&) = delete;
220
+ DvbstuningparamsInfo& operator=(DvbstuningparamsInfo&&) noexcept = delete;
221
+
222
+ ~DvbstuningparamsInfo() = default;
223
+
224
+ public:
225
+ bool IsDataValid() const
226
+ {
227
+ return ((Satellite.IsSet() == true) && (Frequency.IsSet() == true) && (Polarity.IsSet() == true) && (Symbolrate.IsSet() == true) && (Fec.IsSet() == true) && (Modulation.IsSet() == true) && (Dvbs2.IsSet() == true));
228
+ }
215
229
 
216
230
  public:
217
231
  Core::JSON::String Satellite;
218
232
  Core::JSON::DecUInt32 Frequency;
219
233
  Core::JSON::EnumType<PolarityType> Polarity;
@@ -233,17 +247,23 @@ namespace JsonData {
233
247
  Add(_T("mode"), &Mode);
234
248
  Add(_T("dvbt2"), &Dvbt2);
235
249
  Add(_T("plpid"), &Plpid);
236
250
  }
237
251
 
238
- bool IsValid() const
239
- {
240
- return (true);
241
- }
242
-
243
252
  DvbttuningparamsInfo(const DvbttuningparamsInfo&) = delete;
253
+ DvbttuningparamsInfo(DvbttuningparamsInfo&&) noexcept = delete;
254
+
244
255
  DvbttuningparamsInfo& operator=(const DvbttuningparamsInfo&) = delete;
256
+ DvbttuningparamsInfo& operator=(DvbttuningparamsInfo&&) noexcept = delete;
257
+
258
+ ~DvbttuningparamsInfo() = default;
259
+
260
+ public:
261
+ bool IsDataValid() const
262
+ {
263
+ return ((Frequency.IsSet() == true) && (Bandwidth.IsSet() == true) && (Mode.IsSet() == true) && (Dvbt2.IsSet() == true));
264
+ }
245
265
 
246
266
  public:
247
267
  Core::JSON::DecUInt32 Frequency;
248
268
  Core::JSON::EnumType<DvbtbandwidthType> Bandwidth;
249
269
  Core::JSON::EnumType<OfdmmodeType> Mode;
@@ -273,10 +293,26 @@ namespace JsonData {
273
293
  , Hasextendedinfo(_other.Hasextendedinfo)
274
294
  {
275
295
  _Init();
276
296
  }
277
297
 
298
+ EiteventInfo(EiteventInfo&& _other) noexcept
299
+ : Core::JSON::Container()
300
+ , Name(std::move(_other.Name))
301
+ , Starttime(std::move(_other.Starttime))
302
+ , Duration(std::move(_other.Duration))
303
+ , Eventid(std::move(_other.Eventid))
304
+ , Shortdescription(std::move(_other.Shortdescription))
305
+ , Hassubtitles(std::move(_other.Hassubtitles))
306
+ , Hasaudiodescription(std::move(_other.Hasaudiodescription))
307
+ , Parentalrating(std::move(_other.Parentalrating))
308
+ , Contentdata(std::move(_other.Contentdata))
309
+ , Hasextendedinfo(std::move(_other.Hasextendedinfo))
310
+ {
311
+ _Init();
312
+ }
313
+
278
314
  EiteventInfo& operator=(const EiteventInfo& _rhs)
279
315
  {
280
316
  Name = _rhs.Name;
281
317
  Starttime = _rhs.Starttime;
282
318
  Duration = _rhs.Duration;
@@ -288,13 +324,31 @@ namespace JsonData {
288
324
  Contentdata = _rhs.Contentdata;
289
325
  Hasextendedinfo = _rhs.Hasextendedinfo;
290
326
  return (*this);
291
327
  }
292
328
 
293
- bool IsValid() const
329
+ EiteventInfo& operator=(EiteventInfo&& _rhs) noexcept
294
330
  {
295
- return (true);
331
+ Name = std::move(_rhs.Name);
332
+ Starttime = std::move(_rhs.Starttime);
333
+ Duration = std::move(_rhs.Duration);
334
+ Eventid = std::move(_rhs.Eventid);
335
+ Shortdescription = std::move(_rhs.Shortdescription);
336
+ Hassubtitles = std::move(_rhs.Hassubtitles);
337
+ Hasaudiodescription = std::move(_rhs.Hasaudiodescription);
338
+ Parentalrating = std::move(_rhs.Parentalrating);
339
+ Contentdata = std::move(_rhs.Contentdata);
340
+ Hasextendedinfo = std::move(_rhs.Hasextendedinfo);
341
+ return (*this);
342
+ }
343
+
344
+ ~EiteventInfo() = default;
345
+
346
+ public:
347
+ bool IsDataValid() const
348
+ {
349
+ return ((Name.IsSet() == true) && (Starttime.IsSet() == true) && (Duration.IsSet() == true) && (Eventid.IsSet() == true) && (Shortdescription.IsSet() == true) && (Hassubtitles.IsSet() == true) && (Hasaudiodescription.IsSet() == true) && (Parentalrating.IsSet() == true) && (Contentdata.IsSet() == true) && (Hasextendedinfo.IsSet() == true));
296
350
  }
297
351
 
298
352
  private:
299
353
  void _Init()
300
354
  {
@@ -349,10 +403,30 @@ namespace JsonData {
349
403
  , Unicablefreq(_other.Unicablefreq)
350
404
  {
351
405
  _Init();
352
406
  }
353
407
 
408
+ LnbsettingsInfo(LnbsettingsInfo&& _other) noexcept
409
+ : Core::JSON::Container()
410
+ , Name(std::move(_other.Name))
411
+ , Type(std::move(_other.Type))
412
+ , Power(std::move(_other.Power))
413
+ , Diseqc_tone(std::move(_other.Diseqc_tone))
414
+ , Diseqc_cswitch(std::move(_other.Diseqc_cswitch))
415
+ , Is22k(std::move(_other.Is22k))
416
+ , Is12v(std::move(_other.Is12v))
417
+ , Ispulseposition(std::move(_other.Ispulseposition))
418
+ , Isdiseqcposition(std::move(_other.Isdiseqcposition))
419
+ , Issmatv(std::move(_other.Issmatv))
420
+ , Diseqcrepeats(std::move(_other.Diseqcrepeats))
421
+ , U_switch(std::move(_other.U_switch))
422
+ , Unicablechannel(std::move(_other.Unicablechannel))
423
+ , Unicablefreq(std::move(_other.Unicablefreq))
424
+ {
425
+ _Init();
426
+ }
427
+
354
428
  LnbsettingsInfo& operator=(const LnbsettingsInfo& _rhs)
355
429
  {
356
430
  Name = _rhs.Name;
357
431
  Type = _rhs.Type;
358
432
  Power = _rhs.Power;
@@ -364,17 +438,41 @@ namespace JsonData {
364
438
  Isdiseqcposition = _rhs.Isdiseqcposition;
365
439
  Issmatv = _rhs.Issmatv;
366
440
  Diseqcrepeats = _rhs.Diseqcrepeats;
367
441
  U_switch = _rhs.U_switch;
368
442
  Unicablechannel = _rhs.Unicablechannel;
369
- Unicablefreq = _rhs.Unicablefreq;
443
+ if (_rhs.Unicablefreq != 0) {
444
+ Unicablefreq = _rhs.Unicablefreq;
445
+ }
370
446
  return (*this);
371
447
  }
372
448
 
373
- bool IsValid() const
449
+ LnbsettingsInfo& operator=(LnbsettingsInfo&& _rhs) noexcept
374
450
  {
375
- return (true);
451
+ Name = std::move(_rhs.Name);
452
+ Type = std::move(_rhs.Type);
453
+ Power = std::move(_rhs.Power);
454
+ Diseqc_tone = std::move(_rhs.Diseqc_tone);
455
+ Diseqc_cswitch = std::move(_rhs.Diseqc_cswitch);
456
+ Is22k = std::move(_rhs.Is22k);
457
+ Is12v = std::move(_rhs.Is12v);
458
+ Ispulseposition = std::move(_rhs.Ispulseposition);
459
+ Isdiseqcposition = std::move(_rhs.Isdiseqcposition);
460
+ Issmatv = std::move(_rhs.Issmatv);
461
+ Diseqcrepeats = std::move(_rhs.Diseqcrepeats);
462
+ U_switch = std::move(_rhs.U_switch);
463
+ Unicablechannel = std::move(_rhs.Unicablechannel);
464
+ Unicablefreq = std::move(_rhs.Unicablefreq);
465
+ return (*this);
466
+ }
467
+
468
+ ~LnbsettingsInfo() = default;
469
+
470
+ public:
471
+ bool IsDataValid() const
472
+ {
473
+ return ((Name.IsSet() == true) && (Type.IsSet() == true) && (Power.IsSet() == true) && (Diseqc_tone.IsSet() == true) && (Diseqc_cswitch.IsSet() == true) && (Is22k.IsSet() == true) && (Is12v.IsSet() == true) && (Ispulseposition.IsSet() == true) && (Isdiseqcposition.IsSet() == true) && (Issmatv.IsSet() == true) && (Diseqcrepeats.IsSet() == true) && (U_switch.IsSet() == true) && (Unicablechannel.IsSet() == true));
376
474
  }
377
475
 
378
476
  private:
379
477
  void _Init()
380
478
  {
@@ -426,21 +524,41 @@ namespace JsonData {
426
524
  , Lnb(_other.Lnb)
427
525
  {
428
526
  _Init();
429
527
  }
430
528
 
529
+ SatellitesettingsInfo(SatellitesettingsInfo&& _other) noexcept
530
+ : Core::JSON::Container()
531
+ , Name(std::move(_other.Name))
532
+ , Longitude(std::move(_other.Longitude))
533
+ , Lnb(std::move(_other.Lnb))
534
+ {
535
+ _Init();
536
+ }
537
+
431
538
  SatellitesettingsInfo& operator=(const SatellitesettingsInfo& _rhs)
432
539
  {
433
540
  Name = _rhs.Name;
434
541
  Longitude = _rhs.Longitude;
435
542
  Lnb = _rhs.Lnb;
436
543
  return (*this);
437
544
  }
438
545
 
439
- bool IsValid() const
546
+ SatellitesettingsInfo& operator=(SatellitesettingsInfo&& _rhs) noexcept
440
547
  {
441
- return (true);
548
+ Name = std::move(_rhs.Name);
549
+ Longitude = std::move(_rhs.Longitude);
550
+ Lnb = std::move(_rhs.Lnb);
551
+ return (*this);
552
+ }
553
+
554
+ ~SatellitesettingsInfo() = default;
555
+
556
+ public:
557
+ bool IsDataValid() const
558
+ {
559
+ return ((Name.IsSet() == true) && (Longitude.IsSet() == true) && (Lnb.IsSet() == true));
442
560
  }
443
561
 
444
562
  private:
445
563
  void _Init()
446
564
  {
@@ -449,12 +567,11 @@ namespace JsonData {
449
567
  Add(_T("lnb"), &Lnb);
450
568
  }
451
569
 
452
570
  public:
453
571
  Core::JSON::String Name;
454
- Core::JSON::DecSInt16 Longitude; // Longitudinal location of the satellite in 1/10ths of a degree,
455
- // with an east coordinate given as a positive value and a west coordinate as negative. Astra 28.2E would be defined as 282 and Eutelsat 5.0W would be -50.
572
+ Core::JSON::DecSInt16 Longitude; // Longitudinal location of the satellite in 1/10ths of a degree, with an east coordinate given as a positive value and a west coordinate as negative. Astra 28.2E would be defined as 282 and Eutelsat 5.0W would be -50.
456
573
  Core::JSON::String Lnb;
457
574
  }; // class SatellitesettingsInfo
458
575
 
459
576
  class ServiceInfo : public Core::JSON::Container {
460
577
  public:
@@ -478,10 +595,26 @@ namespace JsonData {
478
595
  , Runningstatus(_other.Runningstatus)
479
596
  {
480
597
  _Init();
481
598
  }
482
599
 
600
+ ServiceInfo(ServiceInfo&& _other) noexcept
601
+ : Core::JSON::Container()
602
+ , Fullname(std::move(_other.Fullname))
603
+ , Shortname(std::move(_other.Shortname))
604
+ , Dvburi(std::move(_other.Dvburi))
605
+ , Servicetype(std::move(_other.Servicetype))
606
+ , Lcn(std::move(_other.Lcn))
607
+ , Scrambled(std::move(_other.Scrambled))
608
+ , Hascadescriptor(std::move(_other.Hascadescriptor))
609
+ , Hidden(std::move(_other.Hidden))
610
+ , Selectable(std::move(_other.Selectable))
611
+ , Runningstatus(std::move(_other.Runningstatus))
612
+ {
613
+ _Init();
614
+ }
615
+
483
616
  ServiceInfo& operator=(const ServiceInfo& _rhs)
484
617
  {
485
618
  Fullname = _rhs.Fullname;
486
619
  Shortname = _rhs.Shortname;
487
620
  Dvburi = _rhs.Dvburi;
@@ -493,13 +626,31 @@ namespace JsonData {
493
626
  Selectable = _rhs.Selectable;
494
627
  Runningstatus = _rhs.Runningstatus;
495
628
  return (*this);
496
629
  }
497
630
 
498
- bool IsValid() const
631
+ ServiceInfo& operator=(ServiceInfo&& _rhs) noexcept
499
632
  {
500
- return (true);
633
+ Fullname = std::move(_rhs.Fullname);
634
+ Shortname = std::move(_rhs.Shortname);
635
+ Dvburi = std::move(_rhs.Dvburi);
636
+ Servicetype = std::move(_rhs.Servicetype);
637
+ Lcn = std::move(_rhs.Lcn);
638
+ Scrambled = std::move(_rhs.Scrambled);
639
+ Hascadescriptor = std::move(_rhs.Hascadescriptor);
640
+ Hidden = std::move(_rhs.Hidden);
641
+ Selectable = std::move(_rhs.Selectable);
642
+ Runningstatus = std::move(_rhs.Runningstatus);
643
+ return (*this);
644
+ }
645
+
646
+ ~ServiceInfo() = default;
647
+
648
+ public:
649
+ bool IsDataValid() const
650
+ {
651
+ return ((Fullname.IsSet() == true) && (Shortname.IsSet() == true) && (Dvburi.IsSet() == true) && (Servicetype.IsSet() == true) && (Lcn.IsSet() == true) && (Scrambled.IsSet() == true) && (Hascadescriptor.IsSet() == true) && (Hidden.IsSet() == true) && (Selectable.IsSet() == true) && (Runningstatus.IsSet() == true));
501
652
  }
502
653
 
503
654
  private:
504
655
  void _Init()
505
656
  {
@@ -535,17 +686,23 @@ namespace JsonData {
535
686
  {
536
687
  Add(_T("eventtype"), &Eventtype);
537
688
  Add(_T("service"), &Service);
538
689
  }
539
690
 
540
- bool IsValid() const
541
- {
542
- return (true);
543
- }
544
-
545
691
  ServiceupdatedParamsInfo(const ServiceupdatedParamsInfo&) = delete;
692
+ ServiceupdatedParamsInfo(ServiceupdatedParamsInfo&&) noexcept = delete;
693
+
546
694
  ServiceupdatedParamsInfo& operator=(const ServiceupdatedParamsInfo&) = delete;
695
+ ServiceupdatedParamsInfo& operator=(ServiceupdatedParamsInfo&&) noexcept = delete;
696
+
697
+ ~ServiceupdatedParamsInfo() = default;
698
+
699
+ public:
700
+ bool IsDataValid() const
701
+ {
702
+ return ((Eventtype.IsSet() == true) && ((Service.IsSet() == true) && (Service.IsDataValid() == true)));
703
+ }
547
704
 
548
705
  public:
549
706
  Core::JSON::EnumType<EventtypeType> Eventtype;
550
707
  ServiceInfo Service;
551
708
  }; // class ServiceupdatedParamsInfo
@@ -563,17 +720,23 @@ namespace JsonData {
563
720
  Add(_T("dvbctuningparams"), &Dvbctuningparams);
564
721
  Add(_T("dvbstuningparams"), &Dvbstuningparams);
565
722
  Add(_T("dvbttuningparams"), &Dvbttuningparams);
566
723
  }
567
724
 
568
- bool IsValid() const
569
- {
570
- return (true);
571
- }
572
-
573
725
  TransportInfo(const TransportInfo&) = delete;
726
+ TransportInfo(TransportInfo&&) noexcept = delete;
727
+
574
728
  TransportInfo& operator=(const TransportInfo&) = delete;
729
+ TransportInfo& operator=(TransportInfo&&) noexcept = delete;
730
+
731
+ ~TransportInfo() = default;
732
+
733
+ public:
734
+ bool IsDataValid() const
735
+ {
736
+ return ((Tunertype.IsSet() == true) && (Originalnetworkid.IsSet() == true) && (Transportid.IsSet() == true) && (Strength.IsSet() == true) && (Quality.IsSet() == true) && ((Dvbctuningparams.IsSet() == false) || (Dvbctuningparams.IsDataValid() == true)) && ((Dvbstuningparams.IsSet() == false) || (Dvbstuningparams.IsDataValid() == true)) && ((Dvbttuningparams.IsSet() == false) || (Dvbttuningparams.IsDataValid() == true)));
737
+ }
575
738
 
576
739
  public:
577
740
  Core::JSON::EnumType<TunertypeType> Tunertype;
578
741
  Core::JSON::DecUInt16 Originalnetworkid;
579
742
  Core::JSON::DecUInt16 Transportid;
@@ -601,20 +764,38 @@ namespace JsonData {
601
764
  , Code(_other.Code)
602
765
  {
603
766
  _Init();
604
767
  }
605
768
 
769
+ CountryconfigData(CountryconfigData&& _other) noexcept
770
+ : Core::JSON::Container()
771
+ , Name(std::move(_other.Name))
772
+ , Code(std::move(_other.Code))
773
+ {
774
+ _Init();
775
+ }
776
+
606
777
  CountryconfigData& operator=(const CountryconfigData& _rhs)
607
778
  {
608
779
  Name = _rhs.Name;
609
780
  Code = _rhs.Code;
610
781
  return (*this);
611
782
  }
612
783
 
613
- bool IsValid() const
784
+ CountryconfigData& operator=(CountryconfigData&& _rhs) noexcept
614
785
  {
615
- return (true);
786
+ Name = std::move(_rhs.Name);
787
+ Code = std::move(_rhs.Code);
788
+ return (*this);
789
+ }
790
+
791
+ ~CountryconfigData() = default;
792
+
793
+ public:
794
+ bool IsDataValid() const
795
+ {
796
+ return ((Name.IsSet() == true) && (Code.IsSet() == true));
616
797
  }
617
798
 
618
799
  private:
619
800
  void _Init()
620
801
  {
@@ -635,17 +816,23 @@ namespace JsonData {
635
816
  Add(_T("eventtype"), &Eventtype);
636
817
  Add(_T("service"), &Service);
637
818
  Add(_T("event"), &Event);
638
819
  }
639
820
 
640
- bool IsValid() const
641
- {
642
- return (true);
643
- }
644
-
645
821
  EventchangedParamsData(const EventchangedParamsData&) = delete;
822
+ EventchangedParamsData(EventchangedParamsData&&) noexcept = delete;
823
+
646
824
  EventchangedParamsData& operator=(const EventchangedParamsData&) = delete;
825
+ EventchangedParamsData& operator=(EventchangedParamsData&&) noexcept = delete;
826
+
827
+ ~EventchangedParamsData() = default;
828
+
829
+ public:
830
+ bool IsDataValid() const
831
+ {
832
+ return ((Eventtype.IsSet() == true) && ((Service.IsSet() == true) && (Service.IsDataValid() == true)) && ((Event.IsSet() == true) && (Event.IsDataValid() == true)));
833
+ }
647
834
 
648
835
  public:
649
836
  Core::JSON::EnumType<EventtypeType> Eventtype;
650
837
  ServiceInfo Service;
651
838
  EiteventInfo Event;
@@ -667,20 +854,38 @@ namespace JsonData {
667
854
  , Item(_other.Item)
668
855
  {
669
856
  _Init();
670
857
  }
671
858
 
859
+ ExtendedeventitemData(ExtendedeventitemData&& _other) noexcept
860
+ : Core::JSON::Container()
861
+ , Description(std::move(_other.Description))
862
+ , Item(std::move(_other.Item))
863
+ {
864
+ _Init();
865
+ }
866
+
672
867
  ExtendedeventitemData& operator=(const ExtendedeventitemData& _rhs)
673
868
  {
674
869
  Description = _rhs.Description;
675
870
  Item = _rhs.Item;
676
871
  return (*this);
677
872
  }
678
873
 
679
- bool IsValid() const
874
+ ExtendedeventitemData& operator=(ExtendedeventitemData&& _rhs) noexcept
875
+ {
876
+ Description = std::move(_rhs.Description);
877
+ Item = std::move(_rhs.Item);
878
+ return (*this);
879
+ }
880
+
881
+ ~ExtendedeventitemData() = default;
882
+
883
+ public:
884
+ bool IsDataValid() const
680
885
  {
681
- return (true);
886
+ return ((Description.IsSet() == true) && (Item.IsSet() == true));
682
887
  }
683
888
 
684
889
  private:
685
890
  void _Init()
686
891
  {
@@ -698,18 +903,24 @@ namespace JsonData {
698
903
  {
699
904
  Add(_T("description"), &Description);
700
905
  Add(_T("items"), &Items);
701
906
  }
702
907
 
703
- bool IsValid() const
908
+ ExtendedeventinfoData(const ExtendedeventinfoData&) = delete;
909
+ ExtendedeventinfoData(ExtendedeventinfoData&&) noexcept = delete;
910
+
911
+ ExtendedeventinfoData& operator=(const ExtendedeventinfoData&) = delete;
912
+ ExtendedeventinfoData& operator=(ExtendedeventinfoData&&) noexcept = delete;
913
+
914
+ ~ExtendedeventinfoData() = default;
915
+
916
+ public:
917
+ bool IsDataValid() const
704
918
  {
705
919
  return (true);
706
920
  }
707
921
 
708
- ExtendedeventinfoData(const ExtendedeventinfoData&) = delete;
709
- ExtendedeventinfoData& operator=(const ExtendedeventinfoData&) = delete;
710
-
711
922
  public:
712
923
  Core::JSON::String Description;
713
924
  Core::JSON::ArrayType<ExtendedeventinfoData::ExtendedeventitemData> Items;
714
925
  }; // class ExtendedeventinfoData
715
926
 
@@ -720,17 +931,23 @@ namespace JsonData {
720
931
  {
721
932
  Add(_T("tunertype"), &Tunertype);
722
933
  Add(_T("savechanges"), &Savechanges);
723
934
  }
724
935
 
725
- bool IsValid() const
726
- {
727
- return (true);
728
- }
729
-
730
936
  FinishServiceSearchParamsData(const FinishServiceSearchParamsData&) = delete;
937
+ FinishServiceSearchParamsData(FinishServiceSearchParamsData&&) noexcept = delete;
938
+
731
939
  FinishServiceSearchParamsData& operator=(const FinishServiceSearchParamsData&) = delete;
940
+ FinishServiceSearchParamsData& operator=(FinishServiceSearchParamsData&&) noexcept = delete;
941
+
942
+ ~FinishServiceSearchParamsData() = default;
943
+
944
+ public:
945
+ bool IsDataValid() const
946
+ {
947
+ return ((Tunertype.IsSet() == true) && (Savechanges.IsSet() == true));
948
+ }
732
949
 
733
950
  public:
734
951
  Core::JSON::EnumType<TunertypeType> Tunertype;
735
952
  Core::JSON::Boolean Savechanges;
736
953
  }; // class FinishServiceSearchParamsData
@@ -742,17 +959,23 @@ namespace JsonData {
742
959
  {
743
960
  Add(_T("now"), &Now);
744
961
  Add(_T("next"), &Next);
745
962
  }
746
963
 
747
- bool IsValid() const
748
- {
749
- return (true);
750
- }
751
-
752
964
  NowNextEventsData(const NowNextEventsData&) = delete;
965
+ NowNextEventsData(NowNextEventsData&&) noexcept = delete;
966
+
753
967
  NowNextEventsData& operator=(const NowNextEventsData&) = delete;
968
+ NowNextEventsData& operator=(NowNextEventsData&&) noexcept = delete;
969
+
970
+ ~NowNextEventsData() = default;
971
+
972
+ public:
973
+ bool IsDataValid() const
974
+ {
975
+ return (((Now.IsSet() == false) || (Now.IsDataValid() == true)) && ((Next.IsSet() == false) || (Next.IsDataValid() == true)));
976
+ }
754
977
 
755
978
  public:
756
979
  EiteventInfo Now;
757
980
  EiteventInfo Next;
758
981
  }; // class NowNextEventsData
@@ -767,17 +990,23 @@ namespace JsonData {
767
990
  Add(_T("finished"), &Finished);
768
991
  Add(_T("progress"), &Progress);
769
992
  Add(_T("transport"), &Transport);
770
993
  }
771
994
 
772
- bool IsValid() const
773
- {
774
- return (true);
775
- }
776
-
777
995
  SearchstatusParamsData(const SearchstatusParamsData&) = delete;
996
+ SearchstatusParamsData(SearchstatusParamsData&&) noexcept = delete;
997
+
778
998
  SearchstatusParamsData& operator=(const SearchstatusParamsData&) = delete;
999
+ SearchstatusParamsData& operator=(SearchstatusParamsData&&) noexcept = delete;
1000
+
1001
+ ~SearchstatusParamsData() = default;
1002
+
1003
+ public:
1004
+ bool IsDataValid() const
1005
+ {
1006
+ return ((Handle.IsSet() == true) && (Eventtype.IsSet() == true) && (Finished.IsSet() == true) && (Progress.IsSet() == true) && ((Transport.IsSet() == false) || (Transport.IsDataValid() == true)));
1007
+ }
779
1008
 
780
1009
  public:
781
1010
  Core::JSON::DecUInt32 Handle;
782
1011
  Core::JSON::EnumType<EventtypeType> Eventtype;
783
1012
  Core::JSON::Boolean Finished;
@@ -828,22 +1057,44 @@ namespace JsonData {
828
1057
  , Mode(_other.Mode)
829
1058
  {
830
1059
  _Init();
831
1060
  }
832
1061
 
1062
+ AudioData(AudioData&& _other) noexcept
1063
+ : Core::JSON::Container()
1064
+ , Codec(std::move(_other.Codec))
1065
+ , Language(std::move(_other.Language))
1066
+ , Type(std::move(_other.Type))
1067
+ , Mode(std::move(_other.Mode))
1068
+ {
1069
+ _Init();
1070
+ }
1071
+
833
1072
  AudioData& operator=(const AudioData& _rhs)
834
1073
  {
835
1074
  Codec = _rhs.Codec;
836
1075
  Language = _rhs.Language;
837
1076
  Type = _rhs.Type;
838
1077
  Mode = _rhs.Mode;
839
1078
  return (*this);
840
1079
  }
841
1080
 
842
- bool IsValid() const
1081
+ AudioData& operator=(AudioData&& _rhs) noexcept
843
1082
  {
844
- return (true);
1083
+ Codec = std::move(_rhs.Codec);
1084
+ Language = std::move(_rhs.Language);
1085
+ Type = std::move(_rhs.Type);
1086
+ Mode = std::move(_rhs.Mode);
1087
+ return (*this);
1088
+ }
1089
+
1090
+ ~AudioData() = default;
1091
+
1092
+ public:
1093
+ bool IsDataValid() const
1094
+ {
1095
+ return ((Language.IsSet() == true) && (Type.IsSet() == true) && (Mode.IsSet() == true));
845
1096
  }
846
1097
 
847
1098
  private:
848
1099
  void _Init()
849
1100
  {
@@ -873,19 +1124,35 @@ namespace JsonData {
873
1124
  , Codec(_other.Codec)
874
1125
  {
875
1126
  _Init();
876
1127
  }
877
1128
 
1129
+ CodecData(CodecData&& _other) noexcept
1130
+ : Core::JSON::Container()
1131
+ , Codec(std::move(_other.Codec))
1132
+ {
1133
+ _Init();
1134
+ }
1135
+
878
1136
  CodecData& operator=(const CodecData& _rhs)
879
1137
  {
880
1138
  Codec = _rhs.Codec;
881
1139
  return (*this);
882
1140
  }
883
1141
 
884
- bool IsValid() const
1142
+ CodecData& operator=(CodecData&& _rhs) noexcept
1143
+ {
1144
+ Codec = std::move(_rhs.Codec);
1145
+ return (*this);
1146
+ }
1147
+
1148
+ ~CodecData() = default;
1149
+
1150
+ public:
1151
+ bool IsDataValid() const
885
1152
  {
886
- return (true);
1153
+ return (Codec.IsSet() == true);
887
1154
  }
888
1155
 
889
1156
  private:
890
1157
  void _Init()
891
1158
  {
@@ -925,22 +1192,44 @@ namespace JsonData {
925
1192
  , Ancillarypage(_other.Ancillarypage)
926
1193
  {
927
1194
  _Init();
928
1195
  }
929
1196
 
1197
+ SubtitlesData(SubtitlesData&& _other) noexcept
1198
+ : Core::JSON::Container()
1199
+ , Language(std::move(_other.Language))
1200
+ , Format(std::move(_other.Format))
1201
+ , Compositionpage(std::move(_other.Compositionpage))
1202
+ , Ancillarypage(std::move(_other.Ancillarypage))
1203
+ {
1204
+ _Init();
1205
+ }
1206
+
930
1207
  SubtitlesData& operator=(const SubtitlesData& _rhs)
931
1208
  {
932
1209
  Language = _rhs.Language;
933
1210
  Format = _rhs.Format;
934
1211
  Compositionpage = _rhs.Compositionpage;
935
1212
  Ancillarypage = _rhs.Ancillarypage;
936
1213
  return (*this);
937
1214
  }
938
1215
 
939
- bool IsValid() const
1216
+ SubtitlesData& operator=(SubtitlesData&& _rhs) noexcept
1217
+ {
1218
+ Language = std::move(_rhs.Language);
1219
+ Format = std::move(_rhs.Format);
1220
+ Compositionpage = std::move(_rhs.Compositionpage);
1221
+ Ancillarypage = std::move(_rhs.Ancillarypage);
1222
+ return (*this);
1223
+ }
1224
+
1225
+ ~SubtitlesData() = default;
1226
+
1227
+ public:
1228
+ bool IsDataValid() const
940
1229
  {
941
- return (true);
1230
+ return ((Language.IsSet() == true) && (Format.IsSet() == true) && (Compositionpage.IsSet() == true) && (Ancillarypage.IsSet() == true));
942
1231
  }
943
1232
 
944
1233
  private:
945
1234
  void _Init()
946
1235
  {
@@ -973,22 +1262,44 @@ namespace JsonData {
973
1262
  , Page(_other.Page)
974
1263
  {
975
1264
  _Init();
976
1265
  }
977
1266
 
1267
+ TeletextData(TeletextData&& _other) noexcept
1268
+ : Core::JSON::Container()
1269
+ , Language(std::move(_other.Language))
1270
+ , Type(std::move(_other.Type))
1271
+ , Magazine(std::move(_other.Magazine))
1272
+ , Page(std::move(_other.Page))
1273
+ {
1274
+ _Init();
1275
+ }
1276
+
978
1277
  TeletextData& operator=(const TeletextData& _rhs)
979
1278
  {
980
1279
  Language = _rhs.Language;
981
1280
  Type = _rhs.Type;
982
1281
  Magazine = _rhs.Magazine;
983
1282
  Page = _rhs.Page;
984
1283
  return (*this);
985
1284
  }
986
1285
 
987
- bool IsValid() const
1286
+ TeletextData& operator=(TeletextData&& _rhs) noexcept
988
1287
  {
989
- return (true);
1288
+ Language = std::move(_rhs.Language);
1289
+ Type = std::move(_rhs.Type);
1290
+ Magazine = std::move(_rhs.Magazine);
1291
+ Page = std::move(_rhs.Page);
1292
+ return (*this);
1293
+ }
1294
+
1295
+ ~TeletextData() = default;
1296
+
1297
+ public:
1298
+ bool IsDataValid() const
1299
+ {
1300
+ return ((Language.IsSet() == true) && (Type.IsSet() == true) && (Magazine.IsSet() == true) && (Page.IsSet() == true));
990
1301
  }
991
1302
 
992
1303
  private:
993
1304
  void _Init()
994
1305
  {
@@ -1022,10 +1333,23 @@ namespace JsonData {
1022
1333
  , Teletext(_other.Teletext)
1023
1334
  {
1024
1335
  _Init();
1025
1336
  }
1026
1337
 
1338
+ ComponentData(ComponentData&& _other) noexcept
1339
+ : Core::JSON::Container()
1340
+ , Type(std::move(_other.Type))
1341
+ , Tags(std::move(_other.Tags))
1342
+ , Pid(std::move(_other.Pid))
1343
+ , Video(std::move(_other.Video))
1344
+ , Audio(std::move(_other.Audio))
1345
+ , Subtitles(std::move(_other.Subtitles))
1346
+ , Teletext(std::move(_other.Teletext))
1347
+ {
1348
+ _Init();
1349
+ }
1350
+
1027
1351
  ComponentData& operator=(const ComponentData& _rhs)
1028
1352
  {
1029
1353
  Type = _rhs.Type;
1030
1354
  Tags = _rhs.Tags;
1031
1355
  Pid = _rhs.Pid;
@@ -1034,13 +1358,28 @@ namespace JsonData {
1034
1358
  Subtitles = _rhs.Subtitles;
1035
1359
  Teletext = _rhs.Teletext;
1036
1360
  return (*this);
1037
1361
  }
1038
1362
 
1039
- bool IsValid() const
1363
+ ComponentData& operator=(ComponentData&& _rhs) noexcept
1040
1364
  {
1041
- return (true);
1365
+ Type = std::move(_rhs.Type);
1366
+ Tags = std::move(_rhs.Tags);
1367
+ Pid = std::move(_rhs.Pid);
1368
+ Video = std::move(_rhs.Video);
1369
+ Audio = std::move(_rhs.Audio);
1370
+ Subtitles = std::move(_rhs.Subtitles);
1371
+ Teletext = std::move(_rhs.Teletext);
1372
+ return (*this);
1373
+ }
1374
+
1375
+ ~ComponentData() = default;
1376
+
1377
+ public:
1378
+ bool IsDataValid() const
1379
+ {
1380
+ return ((Type.IsSet() == true) && (Pid.IsSet() == true) && ((Video.IsSet() == false) || (Video.IsDataValid() == true)) && ((Audio.IsSet() == false) || (Audio.IsDataValid() == true)) && ((Subtitles.IsSet() == false) || (Subtitles.IsDataValid() == true)) && ((Teletext.IsSet() == false) || (Teletext.IsDataValid() == true)));
1042
1381
  }
1043
1382
 
1044
1383
  private:
1045
1384
  void _Init()
1046
1385
  {
@@ -1071,17 +1410,23 @@ namespace JsonData {
1071
1410
  Add(_T("locked"), &Locked);
1072
1411
  Add(_T("strength"), &Strength);
1073
1412
  Add(_T("quality"), &Quality);
1074
1413
  }
1075
1414
 
1076
- bool IsValid() const
1077
- {
1078
- return (true);
1079
- }
1080
-
1081
1415
  SignalInfoData(const SignalInfoData&) = delete;
1416
+ SignalInfoData(SignalInfoData&&) noexcept = delete;
1417
+
1082
1418
  SignalInfoData& operator=(const SignalInfoData&) = delete;
1419
+ SignalInfoData& operator=(SignalInfoData&&) noexcept = delete;
1420
+
1421
+ ~SignalInfoData() = default;
1422
+
1423
+ public:
1424
+ bool IsDataValid() const
1425
+ {
1426
+ return ((Locked.IsSet() == true) && (Strength.IsSet() == true) && (Quality.IsSet() == true));
1427
+ }
1083
1428
 
1084
1429
  public:
1085
1430
  Core::JSON::Boolean Locked;
1086
1431
  Core::JSON::DecUInt8 Strength;
1087
1432
  Core::JSON::DecUInt8 Quality;
@@ -1095,18 +1440,24 @@ namespace JsonData {
1095
1440
  Add(_T("dvburi"), &Dvburi);
1096
1441
  Add(_T("lcn"), &Lcn);
1097
1442
  Add(_T("monitoronly"), &Monitoronly);
1098
1443
  }
1099
1444
 
1100
- bool IsValid() const
1445
+ StartPlayingParamsData(const StartPlayingParamsData&) = delete;
1446
+ StartPlayingParamsData(StartPlayingParamsData&&) noexcept = delete;
1447
+
1448
+ StartPlayingParamsData& operator=(const StartPlayingParamsData&) = delete;
1449
+ StartPlayingParamsData& operator=(StartPlayingParamsData&&) noexcept = delete;
1450
+
1451
+ ~StartPlayingParamsData() = default;
1452
+
1453
+ public:
1454
+ bool IsDataValid() const
1101
1455
  {
1102
1456
  return (true);
1103
1457
  }
1104
1458
 
1105
- StartPlayingParamsData(const StartPlayingParamsData&) = delete;
1106
- StartPlayingParamsData& operator=(const StartPlayingParamsData&) = delete;
1107
-
1108
1459
  public:
1109
1460
  Core::JSON::String Dvburi;
1110
1461
  Core::JSON::DecUInt16 Lcn;
1111
1462
  Core::JSON::Boolean Monitoronly;
1112
1463
  }; // class StartPlayingParamsData
@@ -1128,17 +1479,23 @@ namespace JsonData {
1128
1479
  Add(_T("dvbstuningparams"), &Dvbstuningparams);
1129
1480
  Add(_T("dvbctuningparams"), &Dvbctuningparams);
1130
1481
  Add(_T("dvbttuningparams"), &Dvbttuningparams);
1131
1482
  }
1132
1483
 
1133
- bool IsValid() const
1134
- {
1135
- return (true);
1136
- }
1137
-
1138
1484
  StartServiceSearchParamsData(const StartServiceSearchParamsData&) = delete;
1485
+ StartServiceSearchParamsData(StartServiceSearchParamsData&&) noexcept = delete;
1486
+
1139
1487
  StartServiceSearchParamsData& operator=(const StartServiceSearchParamsData&) = delete;
1488
+ StartServiceSearchParamsData& operator=(StartServiceSearchParamsData&&) noexcept = delete;
1489
+
1490
+ ~StartServiceSearchParamsData() = default;
1491
+
1492
+ public:
1493
+ bool IsDataValid() const
1494
+ {
1495
+ return ((Tunertype.IsSet() == true) && (Searchtype.IsSet() == true) && (Retune.IsSet() == true) && (Usetuningparams.IsSet() == true) && ((Dvbstuningparams.IsSet() == false) || (Dvbstuningparams.IsDataValid() == true)) && ((Dvbctuningparams.IsSet() == false) || (Dvbctuningparams.IsDataValid() == true)) && ((Dvbttuningparams.IsSet() == false) || (Dvbttuningparams.IsDataValid() == true)));
1496
+ }
1140
1497
 
1141
1498
  public:
1142
1499
  Core::JSON::EnumType<TunertypeType> Tunertype;
1143
1500
  Core::JSON::EnumType<StartServiceSearchParamsData::SearchtypeType> Searchtype;
1144
1501
  Core::JSON::Boolean Retune;
@@ -1158,17 +1515,23 @@ namespace JsonData {
1158
1515
  Add(_T("pmtpid"), &Pmtpid);
1159
1516
  Add(_T("dvburi"), &Dvburi);
1160
1517
  Add(_T("lcn"), &Lcn);
1161
1518
  }
1162
1519
 
1163
- bool IsValid() const
1164
- {
1165
- return (true);
1166
- }
1167
-
1168
1520
  StatusData(const StatusData&) = delete;
1521
+ StatusData(StatusData&&) noexcept = delete;
1522
+
1169
1523
  StatusData& operator=(const StatusData&) = delete;
1524
+ StatusData& operator=(StatusData&&) noexcept = delete;
1525
+
1526
+ ~StatusData() = default;
1527
+
1528
+ public:
1529
+ bool IsDataValid() const
1530
+ {
1531
+ return ((Tuner.IsSet() == true) && (Demux.IsSet() == true) && (Pmtpid.IsSet() == true) && (Dvburi.IsSet() == true) && (Lcn.IsSet() == true));
1532
+ }
1170
1533
 
1171
1534
  public:
1172
1535
  Core::JSON::DecUInt8 Tuner;
1173
1536
  Core::JSON::DecUInt8 Demux;
1174
1537
  Core::JSON::DecUInt16 Pmtpid;
@@ -1176,10 +1539,12 @@ namespace JsonData {
1176
1539
  Core::JSON::DecUInt16 Lcn;
1177
1540
  }; // class StatusData
1178
1541
 
1179
1542
  } // namespace DTV
1180
1543
 
1544
+ POP_WARNING()
1545
+
1181
1546
  } // namespace JsonData
1182
1547
 
1183
1548
  // Enum conversion handlers
1184
1549
  ENUM_CONVERSION_HANDLER(JsonData::DTV::LnbtypeType)
1185
1550
  ENUM_CONVERSION_HANDLER(JsonData::DTV::LnbpowerType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DeviceIdentification.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Device Identification API JSON-RPC API.
1
+ // C++ types for Device Identification API.
2
2
  // Generated automatically from 'DeviceIdentification.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace DeviceIdentification {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -24,25 +26,33 @@ namespace JsonData {
24
26
  Add(_T("firmwareversion"), &Firmwareversion);
25
27
  Add(_T("chipset"), &Chipset);
26
28
  Add(_T("deviceid"), &Deviceid);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  DeviceidentificationData(const DeviceidentificationData&) = delete;
32
+ DeviceidentificationData(DeviceidentificationData&&) noexcept = delete;
33
+
35
34
  DeviceidentificationData& operator=(const DeviceidentificationData&) = delete;
35
+ DeviceidentificationData& operator=(DeviceidentificationData&&) noexcept = delete;
36
+
37
+ ~DeviceidentificationData() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((Firmwareversion.IsSet() == true) && (Chipset.IsSet() == true) && (Deviceid.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::String Firmwareversion; // Version of the device firmware
39
47
  Core::JSON::String Chipset; // Chipset used for this device
40
48
  Core::JSON::String Deviceid; // Device ID
41
49
  }; // class DeviceidentificationData
42
50
 
43
51
  } // namespace DeviceIdentification
44
52
 
53
+ POP_WARNING()
54
+
45
55
  } // namespace JsonData
46
56
 
47
57
  }
48
58
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DeviceInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Device Info API JSON-RPC API.
1
+ // C++ types for Device Info API.
2
2
  // Generated automatically from 'DeviceInfo.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace DeviceInfo {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -119,17 +121,23 @@ namespace JsonData {
119
121
  : Core::JSON::Container()
120
122
  {
121
123
  Add(_T("audioPort"), &AudioPort);
122
124
  }
123
125
 
124
- bool IsValid() const
125
- {
126
- return (true);
127
- }
128
-
129
126
  AudiocapabilitiesParamsInfo(const AudiocapabilitiesParamsInfo&) = delete;
127
+ AudiocapabilitiesParamsInfo(AudiocapabilitiesParamsInfo&&) noexcept = delete;
128
+
130
129
  AudiocapabilitiesParamsInfo& operator=(const AudiocapabilitiesParamsInfo&) = delete;
130
+ AudiocapabilitiesParamsInfo& operator=(AudiocapabilitiesParamsInfo&&) noexcept = delete;
131
+
132
+ ~AudiocapabilitiesParamsInfo() = default;
133
+
134
+ public:
135
+ bool IsDataValid() const
136
+ {
137
+ return (AudioPort.IsSet() == true);
138
+ }
131
139
 
132
140
  public:
133
141
  Core::JSON::EnumType<AudioportType> AudioPort; // Audio output supported by the device
134
142
  }; // class AudiocapabilitiesParamsInfo
135
143
 
@@ -139,17 +147,23 @@ namespace JsonData {
139
147
  : Core::JSON::Container()
140
148
  {
141
149
  Add(_T("name"), &Name);
142
150
  }
143
151
 
144
- bool IsValid() const
145
- {
146
- return (true);
147
- }
148
-
149
152
  FriendlynameInfo(const FriendlynameInfo&) = delete;
153
+ FriendlynameInfo(FriendlynameInfo&&) noexcept = delete;
154
+
150
155
  FriendlynameInfo& operator=(const FriendlynameInfo&) = delete;
156
+ FriendlynameInfo& operator=(FriendlynameInfo&&) noexcept = delete;
157
+
158
+ ~FriendlynameInfo() = default;
159
+
160
+ public:
161
+ bool IsDataValid() const
162
+ {
163
+ return (Name.IsSet() == true);
164
+ }
151
165
 
152
166
  public:
153
167
  Core::JSON::String Name;
154
168
  }; // class FriendlynameInfo
155
169
 
@@ -159,17 +173,23 @@ namespace JsonData {
159
173
  : Core::JSON::Container()
160
174
  {
161
175
  Add(_T("videoDisplay"), &VideoDisplay);
162
176
  }
163
177
 
164
- bool IsValid() const
165
- {
166
- return (true);
167
- }
168
-
169
178
  SupportedresolutionsParamsInfo(const SupportedresolutionsParamsInfo&) = delete;
179
+ SupportedresolutionsParamsInfo(SupportedresolutionsParamsInfo&&) noexcept = delete;
180
+
170
181
  SupportedresolutionsParamsInfo& operator=(const SupportedresolutionsParamsInfo&) = delete;
182
+ SupportedresolutionsParamsInfo& operator=(SupportedresolutionsParamsInfo&&) noexcept = delete;
183
+
184
+ ~SupportedresolutionsParamsInfo() = default;
185
+
186
+ public:
187
+ bool IsDataValid() const
188
+ {
189
+ return (VideoDisplay.IsSet() == true);
190
+ }
171
191
 
172
192
  public:
173
193
  Core::JSON::EnumType<VideodisplayType> VideoDisplay; // Video output supported by the device
174
194
  }; // class SupportedresolutionsParamsInfo
175
195
 
@@ -191,21 +211,41 @@ namespace JsonData {
191
211
  , Ip(_other.Ip)
192
212
  {
193
213
  _Init();
194
214
  }
195
215
 
216
+ AddressesData(AddressesData&& _other) noexcept
217
+ : Core::JSON::Container()
218
+ , Name(std::move(_other.Name))
219
+ , Mac(std::move(_other.Mac))
220
+ , Ip(std::move(_other.Ip))
221
+ {
222
+ _Init();
223
+ }
224
+
196
225
  AddressesData& operator=(const AddressesData& _rhs)
197
226
  {
198
227
  Name = _rhs.Name;
199
228
  Mac = _rhs.Mac;
200
229
  Ip = _rhs.Ip;
201
230
  return (*this);
202
231
  }
203
232
 
204
- bool IsValid() const
233
+ AddressesData& operator=(AddressesData&& _rhs) noexcept
234
+ {
235
+ Name = std::move(_rhs.Name);
236
+ Mac = std::move(_rhs.Mac);
237
+ Ip = std::move(_rhs.Ip);
238
+ return (*this);
239
+ }
240
+
241
+ ~AddressesData() = default;
242
+
243
+ public:
244
+ bool IsDataValid() const
205
245
  {
206
- return (true);
246
+ return ((Name.IsSet() == true) && (Mac.IsSet() == true));
207
247
  }
208
248
 
209
249
  private:
210
250
  void _Init()
211
251
  {
@@ -226,17 +266,23 @@ namespace JsonData {
226
266
  : Core::JSON::Container()
227
267
  {
228
268
  Add(_T("AudioCapabilities"), &AudioCapabilities);
229
269
  }
230
270
 
231
- bool IsValid() const
232
- {
233
- return (true);
234
- }
235
-
236
271
  AudiocapabilitiesResultData(const AudiocapabilitiesResultData&) = delete;
272
+ AudiocapabilitiesResultData(AudiocapabilitiesResultData&&) noexcept = delete;
273
+
237
274
  AudiocapabilitiesResultData& operator=(const AudiocapabilitiesResultData&) = delete;
275
+ AudiocapabilitiesResultData& operator=(AudiocapabilitiesResultData&&) noexcept = delete;
276
+
277
+ ~AudiocapabilitiesResultData() = default;
278
+
279
+ public:
280
+ bool IsDataValid() const
281
+ {
282
+ return (AudioCapabilities.IsSet() == true);
283
+ }
238
284
 
239
285
  public:
240
286
  Core::JSON::ArrayType<Core::JSON::EnumType<AudiocapabilityType>> AudioCapabilities;
241
287
  }; // class AudiocapabilitiesResultData
242
288
 
@@ -246,17 +292,23 @@ namespace JsonData {
246
292
  : Core::JSON::Container()
247
293
  {
248
294
  Add(_T("defaultResolution"), &DefaultResolution);
249
295
  }
250
296
 
251
- bool IsValid() const
252
- {
253
- return (true);
254
- }
255
-
256
297
  DefaultresolutionResultData(const DefaultresolutionResultData&) = delete;
298
+ DefaultresolutionResultData(DefaultresolutionResultData&&) noexcept = delete;
299
+
257
300
  DefaultresolutionResultData& operator=(const DefaultresolutionResultData&) = delete;
301
+ DefaultresolutionResultData& operator=(DefaultresolutionResultData&&) noexcept = delete;
302
+
303
+ ~DefaultresolutionResultData() = default;
304
+
305
+ public:
306
+ bool IsDataValid() const
307
+ {
308
+ return (DefaultResolution.IsSet() == true);
309
+ }
258
310
 
259
311
  public:
260
312
  Core::JSON::EnumType<Output_resolutionType> DefaultResolution; // Resolution supported by the device
261
313
  }; // class DefaultresolutionResultData
262
314
 
@@ -278,22 +330,44 @@ namespace JsonData {
278
330
  , Ms12profiles(_other.Ms12profiles)
279
331
  {
280
332
  _Init();
281
333
  }
282
334
 
335
+ AudiooutputcapabilitiesData(AudiooutputcapabilitiesData&& _other) noexcept
336
+ : Core::JSON::Container()
337
+ , AudioPort(std::move(_other.AudioPort))
338
+ , Audiocapabilities(std::move(_other.Audiocapabilities))
339
+ , Ms12capabilities(std::move(_other.Ms12capabilities))
340
+ , Ms12profiles(std::move(_other.Ms12profiles))
341
+ {
342
+ _Init();
343
+ }
344
+
283
345
  AudiooutputcapabilitiesData& operator=(const AudiooutputcapabilitiesData& _rhs)
284
346
  {
285
347
  AudioPort = _rhs.AudioPort;
286
348
  Audiocapabilities = _rhs.Audiocapabilities;
287
349
  Ms12capabilities = _rhs.Ms12capabilities;
288
350
  Ms12profiles = _rhs.Ms12profiles;
289
351
  return (*this);
290
352
  }
291
353
 
292
- bool IsValid() const
354
+ AudiooutputcapabilitiesData& operator=(AudiooutputcapabilitiesData&& _rhs) noexcept
355
+ {
356
+ AudioPort = std::move(_rhs.AudioPort);
357
+ Audiocapabilities = std::move(_rhs.Audiocapabilities);
358
+ Ms12capabilities = std::move(_rhs.Ms12capabilities);
359
+ Ms12profiles = std::move(_rhs.Ms12profiles);
360
+ return (*this);
361
+ }
362
+
363
+ ~AudiooutputcapabilitiesData() = default;
364
+
365
+ public:
366
+ bool IsDataValid() const
293
367
  {
294
- return (true);
368
+ return ((Audiocapabilities.IsSet() == true) && (Ms12capabilities.IsSet() == true) && (Ms12profiles.IsSet() == true));
295
369
  }
296
370
 
297
371
  private:
298
372
  void _Init()
299
373
  {
@@ -314,17 +388,23 @@ namespace JsonData {
314
388
  : Core::JSON::Container()
315
389
  {
316
390
  Add(_T("audiooutputcapabilities"), &Audiooutputcapabilities);
317
391
  }
318
392
 
319
- bool IsValid() const
320
- {
321
- return (true);
322
- }
323
-
324
393
  DeviceaudiocapabilitiesData(const DeviceaudiocapabilitiesData&) = delete;
394
+ DeviceaudiocapabilitiesData(DeviceaudiocapabilitiesData&&) noexcept = delete;
395
+
325
396
  DeviceaudiocapabilitiesData& operator=(const DeviceaudiocapabilitiesData&) = delete;
397
+ DeviceaudiocapabilitiesData& operator=(DeviceaudiocapabilitiesData&&) noexcept = delete;
398
+
399
+ ~DeviceaudiocapabilitiesData() = default;
400
+
401
+ public:
402
+ bool IsDataValid() const
403
+ {
404
+ return (Audiooutputcapabilities.IsSet() == true);
405
+ }
326
406
 
327
407
  public:
328
408
  Core::JSON::ArrayType<DeviceaudiocapabilitiesData::AudiooutputcapabilitiesData> Audiooutputcapabilities;
329
409
  }; // class DeviceaudiocapabilitiesData
330
410
 
@@ -342,17 +422,23 @@ namespace JsonData {
342
422
  Add(_T("platformname"), &Platformname);
343
423
  Add(_T("serialnumber"), &Serialnumber);
344
424
  Add(_T("sku"), &Sku);
345
425
  }
346
426
 
347
- bool IsValid() const
348
- {
349
- return (true);
350
- }
351
-
352
427
  DeviceinfoData(const DeviceinfoData&) = delete;
428
+ DeviceinfoData(DeviceinfoData&&) noexcept = delete;
429
+
353
430
  DeviceinfoData& operator=(const DeviceinfoData&) = delete;
431
+ DeviceinfoData& operator=(DeviceinfoData&&) noexcept = delete;
432
+
433
+ ~DeviceinfoData() = default;
434
+
435
+ public:
436
+ bool IsDataValid() const
437
+ {
438
+ return ((Devicetype.IsSet() == true) && (Friendlyname.IsSet() == true) && (Distributorid.IsSet() == true) && (Make.IsSet() == true) && (Modelname.IsSet() == true) && (Modelyear.IsSet() == true) && (Platformname.IsSet() == true) && (Serialnumber.IsSet() == true) && (Sku.IsSet() == true));
439
+ }
354
440
 
355
441
  public:
356
442
  Core::JSON::String Devicetype; // Device type
357
443
  Core::JSON::String Friendlyname; // Friendly name
358
444
  Core::JSON::String Distributorid; // Partner ID or distributor ID for device
@@ -379,17 +465,23 @@ namespace JsonData {
379
465
  : Core::JSON::Container()
380
466
  {
381
467
  Add(_T("devicetype"), &Devicetype);
382
468
  }
383
469
 
384
- bool IsValid() const
385
- {
386
- return (true);
387
- }
388
-
389
470
  DevicetypeData(const DevicetypeData&) = delete;
471
+ DevicetypeData(DevicetypeData&&) noexcept = delete;
472
+
390
473
  DevicetypeData& operator=(const DevicetypeData&) = delete;
474
+ DevicetypeData& operator=(DevicetypeData&&) noexcept = delete;
475
+
476
+ ~DevicetypeData() = default;
477
+
478
+ public:
479
+ bool IsDataValid() const
480
+ {
481
+ return (Devicetype.IsSet() == true);
482
+ }
391
483
 
392
484
  public:
393
485
  Core::JSON::EnumType<DevicetypeData::DevicetypeType> Devicetype; // Device type
394
486
  }; // class DevicetypeData
395
487
 
@@ -411,22 +503,44 @@ namespace JsonData {
411
503
  , Defaultresolution(_other.Defaultresolution)
412
504
  {
413
505
  _Init();
414
506
  }
415
507
 
508
+ VideooutputcapabilitiesData(VideooutputcapabilitiesData&& _other) noexcept
509
+ : Core::JSON::Container()
510
+ , Hdcp(std::move(_other.Hdcp))
511
+ , VideoDisplay(std::move(_other.VideoDisplay))
512
+ , Output_resolutions(std::move(_other.Output_resolutions))
513
+ , Defaultresolution(std::move(_other.Defaultresolution))
514
+ {
515
+ _Init();
516
+ }
517
+
416
518
  VideooutputcapabilitiesData& operator=(const VideooutputcapabilitiesData& _rhs)
417
519
  {
418
520
  Hdcp = _rhs.Hdcp;
419
521
  VideoDisplay = _rhs.VideoDisplay;
420
522
  Output_resolutions = _rhs.Output_resolutions;
421
523
  Defaultresolution = _rhs.Defaultresolution;
422
524
  return (*this);
423
525
  }
424
526
 
425
- bool IsValid() const
527
+ VideooutputcapabilitiesData& operator=(VideooutputcapabilitiesData&& _rhs) noexcept
426
528
  {
427
- return (true);
529
+ Hdcp = std::move(_rhs.Hdcp);
530
+ VideoDisplay = std::move(_rhs.VideoDisplay);
531
+ Output_resolutions = std::move(_rhs.Output_resolutions);
532
+ Defaultresolution = std::move(_rhs.Defaultresolution);
533
+ return (*this);
534
+ }
535
+
536
+ ~VideooutputcapabilitiesData() = default;
537
+
538
+ public:
539
+ bool IsDataValid() const
540
+ {
541
+ return ((Hdcp.IsSet() == true) && (Output_resolutions.IsSet() == true) && (Defaultresolution.IsSet() == true));
428
542
  }
429
543
 
430
544
  private:
431
545
  void _Init()
432
546
  {
@@ -451,17 +565,23 @@ namespace JsonData {
451
565
  Add(_T("atmos"), &Atmos);
452
566
  Add(_T("cec"), &Cec);
453
567
  Add(_T("videooutputcapabilities"), &Videooutputcapabilities);
454
568
  }
455
569
 
456
- bool IsValid() const
457
- {
458
- return (true);
459
- }
460
-
461
570
  DevicevideocapabilitiesData(const DevicevideocapabilitiesData&) = delete;
571
+ DevicevideocapabilitiesData(DevicevideocapabilitiesData&&) noexcept = delete;
572
+
462
573
  DevicevideocapabilitiesData& operator=(const DevicevideocapabilitiesData&) = delete;
574
+ DevicevideocapabilitiesData& operator=(DevicevideocapabilitiesData&&) noexcept = delete;
575
+
576
+ ~DevicevideocapabilitiesData() = default;
577
+
578
+ public:
579
+ bool IsDataValid() const
580
+ {
581
+ return ((Hostedid.IsSet() == true) && (Hdr.IsSet() == true) && (Atmos.IsSet() == true) && (Cec.IsSet() == true) && (Videooutputcapabilities.IsSet() == true));
582
+ }
463
583
 
464
584
  public:
465
585
  Core::JSON::String Hostedid; // EDID of the host
466
586
  Core::JSON::Boolean Hdr; // Is HDR supported by this device
467
587
  Core::JSON::Boolean Atmos; // Is Atmos supported by this device
@@ -501,17 +621,23 @@ namespace JsonData {
501
621
  : Core::JSON::Container()
502
622
  {
503
623
  Add(_T("distributorid"), &Distributorid);
504
624
  }
505
625
 
506
- bool IsValid() const
507
- {
508
- return (true);
509
- }
510
-
511
626
  DistributoridData(const DistributoridData&) = delete;
627
+ DistributoridData(DistributoridData&&) noexcept = delete;
628
+
512
629
  DistributoridData& operator=(const DistributoridData&) = delete;
630
+ DistributoridData& operator=(DistributoridData&&) noexcept = delete;
631
+
632
+ ~DistributoridData() = default;
633
+
634
+ public:
635
+ bool IsDataValid() const
636
+ {
637
+ return (Distributorid.IsSet() == true);
638
+ }
513
639
 
514
640
  public:
515
641
  Core::JSON::EnumType<DistributoridData::DistributoridType> Distributorid; // Partner ID or distributor ID for device
516
642
  }; // class DistributoridData
517
643
 
@@ -532,17 +658,23 @@ namespace JsonData {
532
658
  Add(_T("sdk"), &Sdk);
533
659
  Add(_T("mediarite"), &Mediarite);
534
660
  Add(_T("yocto"), &Yocto);
535
661
  }
536
662
 
537
- bool IsValid() const
538
- {
539
- return (true);
540
- }
541
-
542
663
  FirmwareversionData(const FirmwareversionData&) = delete;
664
+ FirmwareversionData(FirmwareversionData&&) noexcept = delete;
665
+
543
666
  FirmwareversionData& operator=(const FirmwareversionData&) = delete;
667
+ FirmwareversionData& operator=(FirmwareversionData&&) noexcept = delete;
668
+
669
+ ~FirmwareversionData() = default;
670
+
671
+ public:
672
+ bool IsDataValid() const
673
+ {
674
+ return (Imagename.IsSet() == true);
675
+ }
544
676
 
545
677
  public:
546
678
  Core::JSON::String Imagename;
547
679
  Core::JSON::String Sdk;
548
680
  Core::JSON::String Mediarite;
@@ -555,17 +687,23 @@ namespace JsonData {
555
687
  : Core::JSON::Container()
556
688
  {
557
689
  Add(_T("EDID"), &EDID);
558
690
  }
559
691
 
560
- bool IsValid() const
561
- {
562
- return (true);
563
- }
564
-
565
692
  HostedidData(const HostedidData&) = delete;
693
+ HostedidData(HostedidData&&) noexcept = delete;
694
+
566
695
  HostedidData& operator=(const HostedidData&) = delete;
696
+ HostedidData& operator=(HostedidData&&) noexcept = delete;
697
+
698
+ ~HostedidData() = default;
699
+
700
+ public:
701
+ bool IsDataValid() const
702
+ {
703
+ return (EDID.IsSet() == true);
704
+ }
567
705
 
568
706
  public:
569
707
  Core::JSON::String EDID;
570
708
  }; // class HostedidData
571
709
 
@@ -596,17 +734,23 @@ namespace JsonData {
596
734
  : Core::JSON::Container()
597
735
  {
598
736
  Add(_T("make"), &Make);
599
737
  }
600
738
 
601
- bool IsValid() const
602
- {
603
- return (true);
604
- }
605
-
606
739
  MakeData(const MakeData&) = delete;
740
+ MakeData(MakeData&&) noexcept = delete;
741
+
607
742
  MakeData& operator=(const MakeData&) = delete;
743
+ MakeData& operator=(MakeData&&) noexcept = delete;
744
+
745
+ ~MakeData() = default;
746
+
747
+ public:
748
+ bool IsDataValid() const
749
+ {
750
+ return (Make.IsSet() == true);
751
+ }
608
752
 
609
753
  public:
610
754
  Core::JSON::EnumType<MakeData::MakeType> Make; // Device manufacturer
611
755
  }; // class MakeData
612
756
 
@@ -652,17 +796,23 @@ namespace JsonData {
652
796
  : Core::JSON::Container()
653
797
  {
654
798
  Add(_T("sku"), &Sku);
655
799
  }
656
800
 
657
- bool IsValid() const
658
- {
659
- return (true);
660
- }
661
-
662
801
  ModelidData(const ModelidData&) = delete;
802
+ ModelidData(ModelidData&&) noexcept = delete;
803
+
663
804
  ModelidData& operator=(const ModelidData&) = delete;
805
+ ModelidData& operator=(ModelidData&&) noexcept = delete;
806
+
807
+ ~ModelidData() = default;
808
+
809
+ public:
810
+ bool IsDataValid() const
811
+ {
812
+ return (Sku.IsSet() == true);
813
+ }
664
814
 
665
815
  public:
666
816
  Core::JSON::EnumType<ModelidData::SkuType> Sku; // Device model number or SKU
667
817
  }; // class ModelidData
668
818
 
@@ -672,17 +822,23 @@ namespace JsonData {
672
822
  : Core::JSON::Container()
673
823
  {
674
824
  Add(_T("model"), &Model);
675
825
  }
676
826
 
677
- bool IsValid() const
678
- {
679
- return (true);
680
- }
681
-
682
827
  ModelnameData(const ModelnameData&) = delete;
828
+ ModelnameData(ModelnameData&&) noexcept = delete;
829
+
683
830
  ModelnameData& operator=(const ModelnameData&) = delete;
831
+ ModelnameData& operator=(ModelnameData&&) noexcept = delete;
832
+
833
+ ~ModelnameData() = default;
834
+
835
+ public:
836
+ bool IsDataValid() const
837
+ {
838
+ return (Model.IsSet() == true);
839
+ }
684
840
 
685
841
  public:
686
842
  Core::JSON::String Model;
687
843
  }; // class ModelnameData
688
844
 
@@ -692,17 +848,23 @@ namespace JsonData {
692
848
  : Core::JSON::Container()
693
849
  {
694
850
  Add(_T("year"), &Year);
695
851
  }
696
852
 
697
- bool IsValid() const
698
- {
699
- return (true);
700
- }
701
-
702
853
  ModelyearData(const ModelyearData&) = delete;
854
+ ModelyearData(ModelyearData&&) noexcept = delete;
855
+
703
856
  ModelyearData& operator=(const ModelyearData&) = delete;
857
+ ModelyearData& operator=(ModelyearData&&) noexcept = delete;
858
+
859
+ ~ModelyearData() = default;
860
+
861
+ public:
862
+ bool IsDataValid() const
863
+ {
864
+ return (Year.IsSet() == true);
865
+ }
704
866
 
705
867
  public:
706
868
  Core::JSON::DecUInt16 Year;
707
869
  }; // class ModelyearData
708
870
 
@@ -712,17 +874,23 @@ namespace JsonData {
712
874
  : Core::JSON::Container()
713
875
  {
714
876
  Add(_T("MS12Capabilities"), &MS12Capabilities);
715
877
  }
716
878
 
717
- bool IsValid() const
718
- {
719
- return (true);
720
- }
721
-
722
879
  Ms12capabilitiesResultData(const Ms12capabilitiesResultData&) = delete;
880
+ Ms12capabilitiesResultData(Ms12capabilitiesResultData&&) noexcept = delete;
881
+
723
882
  Ms12capabilitiesResultData& operator=(const Ms12capabilitiesResultData&) = delete;
883
+ Ms12capabilitiesResultData& operator=(Ms12capabilitiesResultData&&) noexcept = delete;
884
+
885
+ ~Ms12capabilitiesResultData() = default;
886
+
887
+ public:
888
+ bool IsDataValid() const
889
+ {
890
+ return (MS12Capabilities.IsSet() == true);
891
+ }
724
892
 
725
893
  public:
726
894
  Core::JSON::ArrayType<Core::JSON::EnumType<Ms12capabilityType>> MS12Capabilities;
727
895
  }; // class Ms12capabilitiesResultData
728
896
 
@@ -732,17 +900,23 @@ namespace JsonData {
732
900
  : Core::JSON::Container()
733
901
  {
734
902
  Add(_T("serialnumber"), &Serialnumber);
735
903
  }
736
904
 
737
- bool IsValid() const
738
- {
739
- return (true);
740
- }
741
-
742
905
  SerialnumberData(const SerialnumberData&) = delete;
906
+ SerialnumberData(SerialnumberData&&) noexcept = delete;
907
+
743
908
  SerialnumberData& operator=(const SerialnumberData&) = delete;
909
+ SerialnumberData& operator=(SerialnumberData&&) noexcept = delete;
910
+
911
+ ~SerialnumberData() = default;
912
+
913
+ public:
914
+ bool IsDataValid() const
915
+ {
916
+ return (Serialnumber.IsSet() == true);
917
+ }
744
918
 
745
919
  public:
746
920
  Core::JSON::String Serialnumber;
747
921
  }; // class SerialnumberData
748
922
 
@@ -757,17 +931,23 @@ namespace JsonData {
757
931
  Add(_T("exception"), &Exception);
758
932
  Add(_T("shutdown"), &Shutdown);
759
933
  Add(_T("runs"), &Runs);
760
934
  }
761
935
 
762
- bool IsValid() const
763
- {
764
- return (true);
765
- }
766
-
767
936
  SocketinfoData(const SocketinfoData&) = delete;
937
+ SocketinfoData(SocketinfoData&&) noexcept = delete;
938
+
768
939
  SocketinfoData& operator=(const SocketinfoData&) = delete;
940
+ SocketinfoData& operator=(SocketinfoData&&) noexcept = delete;
941
+
942
+ ~SocketinfoData() = default;
943
+
944
+ public:
945
+ bool IsDataValid() const
946
+ {
947
+ return (Runs.IsSet() == true);
948
+ }
769
949
 
770
950
  public:
771
951
  Core::JSON::DecUInt32 Total;
772
952
  Core::JSON::DecUInt32 Open;
773
953
  Core::JSON::DecUInt32 Link;
@@ -782,17 +962,23 @@ namespace JsonData {
782
962
  : Core::JSON::Container()
783
963
  {
784
964
  Add(_T("supportedAudioPorts"), &SupportedAudioPorts);
785
965
  }
786
966
 
787
- bool IsValid() const
788
- {
789
- return (true);
790
- }
791
-
792
967
  SupportedaudioportsData(const SupportedaudioportsData&) = delete;
968
+ SupportedaudioportsData(SupportedaudioportsData&&) noexcept = delete;
969
+
793
970
  SupportedaudioportsData& operator=(const SupportedaudioportsData&) = delete;
971
+ SupportedaudioportsData& operator=(SupportedaudioportsData&&) noexcept = delete;
972
+
973
+ ~SupportedaudioportsData() = default;
974
+
975
+ public:
976
+ bool IsDataValid() const
977
+ {
978
+ return (SupportedAudioPorts.IsSet() == true);
979
+ }
794
980
 
795
981
  public:
796
982
  Core::JSON::ArrayType<Core::JSON::EnumType<AudioportType>> SupportedAudioPorts; // Audio Output support
797
983
  }; // class SupportedaudioportsData
798
984
 
@@ -802,17 +988,23 @@ namespace JsonData {
802
988
  : Core::JSON::Container()
803
989
  {
804
990
  Add(_T("supportedHDCPVersion"), &SupportedHDCPVersion);
805
991
  }
806
992
 
807
- bool IsValid() const
808
- {
809
- return (true);
810
- }
811
-
812
993
  SupportedhdcpResultData(const SupportedhdcpResultData&) = delete;
994
+ SupportedhdcpResultData(SupportedhdcpResultData&&) noexcept = delete;
995
+
813
996
  SupportedhdcpResultData& operator=(const SupportedhdcpResultData&) = delete;
997
+ SupportedhdcpResultData& operator=(SupportedhdcpResultData&&) noexcept = delete;
998
+
999
+ ~SupportedhdcpResultData() = default;
1000
+
1001
+ public:
1002
+ bool IsDataValid() const
1003
+ {
1004
+ return (SupportedHDCPVersion.IsSet() == true);
1005
+ }
814
1006
 
815
1007
  public:
816
1008
  Core::JSON::EnumType<CopyprotectionType> SupportedHDCPVersion; // HDCP support
817
1009
  }; // class SupportedhdcpResultData
818
1010
 
@@ -822,17 +1014,23 @@ namespace JsonData {
822
1014
  : Core::JSON::Container()
823
1015
  {
824
1016
  Add(_T("supportedMS12AudioProfiles"), &SupportedMS12AudioProfiles);
825
1017
  }
826
1018
 
827
- bool IsValid() const
828
- {
829
- return (true);
830
- }
831
-
832
1019
  Supportedms12audioprofilesResultData(const Supportedms12audioprofilesResultData&) = delete;
1020
+ Supportedms12audioprofilesResultData(Supportedms12audioprofilesResultData&&) noexcept = delete;
1021
+
833
1022
  Supportedms12audioprofilesResultData& operator=(const Supportedms12audioprofilesResultData&) = delete;
1023
+ Supportedms12audioprofilesResultData& operator=(Supportedms12audioprofilesResultData&&) noexcept = delete;
1024
+
1025
+ ~Supportedms12audioprofilesResultData() = default;
1026
+
1027
+ public:
1028
+ bool IsDataValid() const
1029
+ {
1030
+ return (SupportedMS12AudioProfiles.IsSet() == true);
1031
+ }
834
1032
 
835
1033
  public:
836
1034
  Core::JSON::ArrayType<Core::JSON::EnumType<Ms12profileType>> SupportedMS12AudioProfiles; // An array of ms12 audio profiles
837
1035
  }; // class Supportedms12audioprofilesResultData
838
1036
 
@@ -842,17 +1040,23 @@ namespace JsonData {
842
1040
  : Core::JSON::Container()
843
1041
  {
844
1042
  Add(_T("supportedResolutions"), &SupportedResolutions);
845
1043
  }
846
1044
 
847
- bool IsValid() const
848
- {
849
- return (true);
850
- }
851
-
852
1045
  SupportedresolutionsResultData(const SupportedresolutionsResultData&) = delete;
1046
+ SupportedresolutionsResultData(SupportedresolutionsResultData&&) noexcept = delete;
1047
+
853
1048
  SupportedresolutionsResultData& operator=(const SupportedresolutionsResultData&) = delete;
1049
+ SupportedresolutionsResultData& operator=(SupportedresolutionsResultData&&) noexcept = delete;
1050
+
1051
+ ~SupportedresolutionsResultData() = default;
1052
+
1053
+ public:
1054
+ bool IsDataValid() const
1055
+ {
1056
+ return (SupportedResolutions.IsSet() == true);
1057
+ }
854
1058
 
855
1059
  public:
856
1060
  Core::JSON::ArrayType<Core::JSON::EnumType<Output_resolutionType>> SupportedResolutions;
857
1061
  }; // class SupportedresolutionsResultData
858
1062
 
@@ -862,17 +1066,23 @@ namespace JsonData {
862
1066
  : Core::JSON::Container()
863
1067
  {
864
1068
  Add(_T("supportedVideoDisplays"), &SupportedVideoDisplays);
865
1069
  }
866
1070
 
867
- bool IsValid() const
868
- {
869
- return (true);
870
- }
871
-
872
1071
  SupportedvideodisplaysData(const SupportedvideodisplaysData&) = delete;
1072
+ SupportedvideodisplaysData(SupportedvideodisplaysData&&) noexcept = delete;
1073
+
873
1074
  SupportedvideodisplaysData& operator=(const SupportedvideodisplaysData&) = delete;
1075
+ SupportedvideodisplaysData& operator=(SupportedvideodisplaysData&&) noexcept = delete;
1076
+
1077
+ ~SupportedvideodisplaysData() = default;
1078
+
1079
+ public:
1080
+ bool IsDataValid() const
1081
+ {
1082
+ return (SupportedVideoDisplays.IsSet() == true);
1083
+ }
874
1084
 
875
1085
  public:
876
1086
  Core::JSON::ArrayType<Core::JSON::EnumType<VideodisplayType>> SupportedVideoDisplays; // Video Output support
877
1087
  }; // class SupportedvideodisplaysData
878
1088
 
@@ -886,17 +1096,23 @@ namespace JsonData {
886
1096
  Add(_T("avg1min"), &Avg1min);
887
1097
  Add(_T("avg5min"), &Avg5min);
888
1098
  Add(_T("avg15min"), &Avg15min);
889
1099
  }
890
1100
 
891
- bool IsValid() const
892
- {
893
- return (true);
894
- }
895
-
896
1101
  CpuloadavgsData(const CpuloadavgsData&) = delete;
1102
+ CpuloadavgsData(CpuloadavgsData&&) noexcept = delete;
1103
+
897
1104
  CpuloadavgsData& operator=(const CpuloadavgsData&) = delete;
1105
+ CpuloadavgsData& operator=(CpuloadavgsData&&) noexcept = delete;
1106
+
1107
+ ~CpuloadavgsData() = default;
1108
+
1109
+ public:
1110
+ bool IsDataValid() const
1111
+ {
1112
+ return ((Avg1min.IsSet() == true) && (Avg5min.IsSet() == true) && (Avg15min.IsSet() == true));
1113
+ }
898
1114
 
899
1115
  public:
900
1116
  Core::JSON::DecUInt64 Avg1min; // 1min cpuload average
901
1117
  Core::JSON::DecUInt64 Avg5min; // 5min cpuload average
902
1118
  Core::JSON::DecUInt64 Avg15min; // 15min cpuload average
@@ -916,17 +1132,23 @@ namespace JsonData {
916
1132
  Add(_T("cpuloadavg"), &Cpuloadavg);
917
1133
  Add(_T("serialnumber"), &Serialnumber);
918
1134
  Add(_T("time"), &Time);
919
1135
  }
920
1136
 
921
- bool IsValid() const
922
- {
923
- return (true);
924
- }
925
-
926
1137
  SysteminfoData(const SysteminfoData&) = delete;
1138
+ SysteminfoData(SysteminfoData&&) noexcept = delete;
1139
+
927
1140
  SysteminfoData& operator=(const SysteminfoData&) = delete;
1141
+ SysteminfoData& operator=(SysteminfoData&&) noexcept = delete;
1142
+
1143
+ ~SysteminfoData() = default;
1144
+
1145
+ public:
1146
+ bool IsDataValid() const
1147
+ {
1148
+ return ((Version.IsSet() == true) && (Uptime.IsSet() == true) && (Totalram.IsSet() == true) && (Freeram.IsSet() == true) && (Totalswap.IsSet() == true) && (Freeswap.IsSet() == true) && (Devicename.IsSet() == true) && (Cpuload.IsSet() == true) && ((Cpuloadavg.IsSet() == true) && (Cpuloadavg.IsDataValid() == true)) && (Serialnumber.IsSet() == true) && (Time.IsSet() == true));
1149
+ }
928
1150
 
929
1151
  public:
930
1152
  Core::JSON::String Version; // Software version (in form *version#hashtag*)
931
1153
  Core::JSON::DecUInt64 Uptime; // System uptime (in seconds)
932
1154
  Core::JSON::DecUInt64 Totalram; // Total installed system RAM memory (in bytes)
@@ -940,10 +1162,12 @@ namespace JsonData {
940
1162
  Core::JSON::String Time; // Current system date and time
941
1163
  }; // class SysteminfoData
942
1164
 
943
1165
  } // namespace DeviceInfo
944
1166
 
1167
+ POP_WARNING()
1168
+
945
1169
  } // namespace JsonData
946
1170
 
947
1171
  // Enum conversion handlers
948
1172
  ENUM_CONVERSION_HANDLER(JsonData::DeviceInfo::VideodisplayType)
949
1173
  ENUM_CONVERSION_HANDLER(JsonData::DeviceInfo::Output_resolutionType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DisplayInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Display Info API JSON-RPC API.
1
+ // C++ types for Display Info API.
2
2
  // Generated automatically from 'DisplayInfo.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace DisplayInfo {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -46,17 +48,23 @@ namespace JsonData {
46
48
  Add(_T("height"), &Height);
47
49
  Add(_T("hdcpprotection"), &Hdcpprotection);
48
50
  Add(_T("hdrtype"), &Hdrtype);
49
51
  }
50
52
 
51
- bool IsValid() const
52
- {
53
- return (true);
54
- }
55
-
56
53
  DisplayinfoData(const DisplayinfoData&) = delete;
54
+ DisplayinfoData(DisplayinfoData&&) noexcept = delete;
55
+
57
56
  DisplayinfoData& operator=(const DisplayinfoData&) = delete;
57
+ DisplayinfoData& operator=(DisplayinfoData&&) noexcept = delete;
58
+
59
+ ~DisplayinfoData() = default;
60
+
61
+ public:
62
+ bool IsDataValid() const
63
+ {
64
+ return ((Totalgpuram.IsSet() == true) && (Freegpuram.IsSet() == true) && (Audiopassthrough.IsSet() == true) && (Connected.IsSet() == true) && (Width.IsSet() == true) && (Height.IsSet() == true) && (Hdcpprotection.IsSet() == true) && (Hdrtype.IsSet() == true));
65
+ }
58
66
 
59
67
  public:
60
68
  Core::JSON::DecUInt64 Totalgpuram; // Total GPU DRAM memory (in bytes)
61
69
  Core::JSON::DecUInt64 Freegpuram; // Free GPU DRAM memory (in bytes)
62
70
  Core::JSON::Boolean Audiopassthrough; // Audio Pass through is support for this device
@@ -67,10 +75,12 @@ namespace JsonData {
67
75
  Core::JSON::EnumType<DisplayinfoData::HdrtypeType> Hdrtype; // HDR Type used
68
76
  }; // class DisplayinfoData
69
77
 
70
78
  } // namespace DisplayInfo
71
79
 
80
+ POP_WARNING()
81
+
72
82
  } // namespace JsonData
73
83
 
74
84
  // Enum conversion handlers
75
85
  ENUM_CONVERSION_HANDLER(JsonData::DisplayInfo::DisplayinfoData::HdcpprotectionType)
76
86
  ENUM_CONVERSION_HANDLER(JsonData::DisplayInfo::DisplayinfoData::HdrtypeType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DisplayProperties.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for DisplayProperties API JSON-RPC API.
1
+ // C++ types for DisplayProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace DisplayProperties {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace DisplayProperties
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::HDCPProtectionType)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::INotification::Source)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_DolbyOutput.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Output API JSON-RPC API.
1
+ // C++ types for Output API.
2
2
  // Generated automatically from 'IDolby.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Dolby {
16
18
 
17
19
  namespace Output {
18
20
 
19
21
  // Method params/result classes
@@ -26,27 +28,35 @@ namespace JsonData {
26
28
  {
27
29
  Add(_T("mode"), &Mode);
28
30
  Add(_T("enabled"), &Enabled);
29
31
  }
30
32
 
31
- bool IsValid() const
32
- {
33
- return (true);
34
- }
35
-
36
33
  AudioModeChangedParamsData(const AudioModeChangedParamsData&) = delete;
34
+ AudioModeChangedParamsData(AudioModeChangedParamsData&&) noexcept = delete;
35
+
37
36
  AudioModeChangedParamsData& operator=(const AudioModeChangedParamsData&) = delete;
37
+ AudioModeChangedParamsData& operator=(AudioModeChangedParamsData&&) noexcept = delete;
38
+
39
+ ~AudioModeChangedParamsData() = default;
40
+
41
+ public:
42
+ bool IsDataValid() const
43
+ {
44
+ return ((Mode.IsSet() == true) && (Enabled.IsSet() == true));
45
+ }
38
46
 
39
47
  public:
40
48
  Core::JSON::EnumType<Exchange::Dolby::IOutput::SoundModes> Mode; // Changed Mode
41
49
  Core::JSON::Boolean Enabled; // Enabled/Disabled
42
50
  }; // class AudioModeChangedParamsData
43
51
 
44
52
  } // namespace Output
45
53
 
46
54
  } // namespace Dolby
47
55
 
56
+ POP_WARNING()
57
+
48
58
  } // namespace JsonData
49
59
 
50
60
  // Enum conversion handlers
51
61
  ENUM_CONVERSION_HANDLER(Exchange::Dolby::IOutput::SoundModes)
52
62
  ENUM_CONVERSION_HANDLER(Exchange::Dolby::IOutput::Type)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_FirmwareControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Firmware Control API JSON-RPC API.
1
+ // C++ types for Firmware Control API.
2
2
  // Generated automatically from 'FirmwareControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace FirmwareControl {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -42,17 +44,23 @@ namespace JsonData {
42
44
  {
43
45
  Add(_T("name"), &Name);
44
46
  Add(_T("location"), &Location);
45
47
  }
46
48
 
47
- bool IsValid() const
48
- {
49
- return (true);
50
- }
51
-
52
49
  ResumeParamsData(const ResumeParamsData&) = delete;
50
+ ResumeParamsData(ResumeParamsData&&) noexcept = delete;
51
+
53
52
  ResumeParamsData& operator=(const ResumeParamsData&) = delete;
53
+ ResumeParamsData& operator=(ResumeParamsData&&) noexcept = delete;
54
+
55
+ ~ResumeParamsData() = default;
56
+
57
+ public:
58
+ bool IsDataValid() const
59
+ {
60
+ return (Name.IsSet() == true);
61
+ }
54
62
 
55
63
  public:
56
64
  Core::JSON::String Name; // Name of the firmware
57
65
  Core::JSON::String Location; // Location or URL of the firmware to be upgraded
58
66
  }; // class ResumeParamsData
@@ -73,24 +81,29 @@ namespace JsonData {
73
81
  Add(_T("type"), &Type);
74
82
  Add(_T("progressinterval"), &Progressinterval);
75
83
  Add(_T("hmac"), &Hmac);
76
84
  }
77
85
 
78
- bool IsValid() const
79
- {
80
- return (true);
81
- }
82
-
83
86
  UpgradeParamsData(const UpgradeParamsData&) = delete;
87
+ UpgradeParamsData(UpgradeParamsData&&) noexcept = delete;
88
+
84
89
  UpgradeParamsData& operator=(const UpgradeParamsData&) = delete;
90
+ UpgradeParamsData& operator=(UpgradeParamsData&&) noexcept = delete;
91
+
92
+ ~UpgradeParamsData() = default;
93
+
94
+ public:
95
+ bool IsDataValid() const
96
+ {
97
+ return (Name.IsSet() == true);
98
+ }
85
99
 
86
100
  public:
87
101
  Core::JSON::String Name; // Name of the firmware
88
102
  Core::JSON::String Location; // Location or URL of the firmware to be upgraded
89
103
  Core::JSON::EnumType<UpgradeParamsData::TypeType> Type; // Type of the firmware
90
- Core::JSON::DecUInt16 Progressinterval; // Number of seconds between progress update events (5 seconds,
91
- // 10 seconds etc). 0 means invoking callback only once to report final upgrade result
104
+ Core::JSON::DecUInt16 Progressinterval; // Number of seconds between progress update events (5 seconds, 10 seconds etc). 0 means invoking callback only once to report final upgrade result
92
105
  Core::JSON::String Hmac; // HMAC value of firmare
93
106
  }; // class UpgradeParamsData
94
107
 
95
108
  class UpgradeprogressParamsData : public Core::JSON::Container {
96
109
  public:
@@ -118,26 +131,34 @@ namespace JsonData {
118
131
  Add(_T("status"), &Status);
119
132
  Add(_T("error"), &Error);
120
133
  Add(_T("progress"), &Progress);
121
134
  }
122
135
 
123
- bool IsValid() const
124
- {
125
- return (true);
126
- }
127
-
128
136
  UpgradeprogressParamsData(const UpgradeprogressParamsData&) = delete;
137
+ UpgradeprogressParamsData(UpgradeprogressParamsData&&) noexcept = delete;
138
+
129
139
  UpgradeprogressParamsData& operator=(const UpgradeprogressParamsData&) = delete;
140
+ UpgradeprogressParamsData& operator=(UpgradeprogressParamsData&&) noexcept = delete;
141
+
142
+ ~UpgradeprogressParamsData() = default;
143
+
144
+ public:
145
+ bool IsDataValid() const
146
+ {
147
+ return ((Status.IsSet() == true) && (Error.IsSet() == true) && (Progress.IsSet() == true));
148
+ }
130
149
 
131
150
  public:
132
151
  Core::JSON::EnumType<StatusType> Status; // Upgrade status
133
152
  Core::JSON::EnumType<UpgradeprogressParamsData::ErrorType> Error; // Reason of error
134
153
  Core::JSON::DecUInt32 Progress; // Progress of upgrade (number of bytes transferred during download or percentage of completion during install
135
154
  }; // class UpgradeprogressParamsData
136
155
 
137
156
  } // namespace FirmwareControl
138
157
 
158
+ POP_WARNING()
159
+
139
160
  } // namespace JsonData
140
161
 
141
162
  // Enum conversion handlers
142
163
  ENUM_CONVERSION_HANDLER(JsonData::FirmwareControl::UpgradeParamsData::TypeType)
143
164
  ENUM_CONVERSION_HANDLER(JsonData::FirmwareControl::StatusType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_HDRProperties.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for HDRProperties API JSON-RPC API.
1
+ // C++ types for HDRProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace HDRProperties {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace HDRProperties
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::HDCPProtectionType)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IConnectionProperties::INotification::Source)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_IOConnector.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for IO Connector API JSON-RPC API.
1
+ // C++ types for IO Connector API.
2
2
  // Generated automatically from 'IOConnector.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace IOConnector {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,23 +24,31 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("value"), &Value);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  ActivityParamsData(const ActivityParamsData&) = delete;
30
+ ActivityParamsData(ActivityParamsData&&) noexcept = delete;
31
+
33
32
  ActivityParamsData& operator=(const ActivityParamsData&) = delete;
33
+ ActivityParamsData& operator=(ActivityParamsData&&) noexcept = delete;
34
+
35
+ ~ActivityParamsData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Value.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::DecSInt32 Value;
37
45
  }; // class ActivityParamsData
38
46
 
39
47
  } // namespace IOConnector
40
48
 
49
+ POP_WARNING()
50
+
41
51
  } // namespace JsonData
42
52
 
43
53
  }
44
54
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_IOControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for IO Control API JSON-RPC API.
1
+ // C++ types for IO Control API.
2
2
  // Generated automatically from 'IOControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace IOControl {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,23 +24,31 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("value"), &Value);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  ActivityParamsData(const ActivityParamsData&) = delete;
30
+ ActivityParamsData(ActivityParamsData&&) noexcept = delete;
31
+
33
32
  ActivityParamsData& operator=(const ActivityParamsData&) = delete;
33
+ ActivityParamsData& operator=(ActivityParamsData&&) noexcept = delete;
34
+
35
+ ~ActivityParamsData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Value.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::DecSInt32 Value;
37
45
  }; // class ActivityParamsData
38
46
 
39
47
  } // namespace IOControl
40
48
 
49
+ POP_WARNING()
50
+
41
51
  } // namespace JsonData
42
52
 
43
53
  }
44
54
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_InputSwitch.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Input Switch API JSON-RPC API.
1
+ // C++ types for Input Switch API.
2
2
  // Generated automatically from 'InputSwitch.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace InputSwitch {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -30,20 +32,38 @@ namespace JsonData {
30
32
  , Enabled(_other.Enabled)
31
33
  {
32
34
  _Init();
33
35
  }
34
36
 
37
+ ChannelParamsInfo(ChannelParamsInfo&& _other) noexcept
38
+ : Core::JSON::Container()
39
+ , Name(std::move(_other.Name))
40
+ , Enabled(std::move(_other.Enabled))
41
+ {
42
+ _Init();
43
+ }
44
+
35
45
  ChannelParamsInfo& operator=(const ChannelParamsInfo& _rhs)
36
46
  {
37
47
  Name = _rhs.Name;
38
48
  Enabled = _rhs.Enabled;
39
49
  return (*this);
40
50
  }
41
51
 
42
- bool IsValid() const
52
+ ChannelParamsInfo& operator=(ChannelParamsInfo&& _rhs) noexcept
53
+ {
54
+ Name = std::move(_rhs.Name);
55
+ Enabled = std::move(_rhs.Enabled);
56
+ return (*this);
57
+ }
58
+
59
+ ~ChannelParamsInfo() = default;
60
+
61
+ public:
62
+ bool IsDataValid() const
43
63
  {
44
- return (true);
64
+ return ((Name.IsSet() == true) && (Enabled.IsSet() == true));
45
65
  }
46
66
 
47
67
  private:
48
68
  void _Init()
49
69
  {
@@ -62,26 +82,34 @@ namespace JsonData {
62
82
  : Core::JSON::Container()
63
83
  {
64
84
  Add(_T("name"), &Name);
65
85
  }
66
86
 
67
- bool IsValid() const
68
- {
69
- return (true);
70
- }
71
-
72
87
  SelectParamsInfo(const SelectParamsInfo&) = delete;
88
+ SelectParamsInfo(SelectParamsInfo&&) noexcept = delete;
89
+
73
90
  SelectParamsInfo& operator=(const SelectParamsInfo&) = delete;
91
+ SelectParamsInfo& operator=(SelectParamsInfo&&) noexcept = delete;
92
+
93
+ ~SelectParamsInfo() = default;
94
+
95
+ public:
96
+ bool IsDataValid() const
97
+ {
98
+ return (Name.IsSet() == true);
99
+ }
74
100
 
75
101
  public:
76
102
  Core::JSON::String Name; // Callsign that is the owner of this channel
77
103
  }; // class SelectParamsInfo
78
104
 
79
105
  // Method params/result classes
80
106
  //
81
107
 
82
108
  } // namespace InputSwitch
83
109
 
110
+ POP_WARNING()
111
+
84
112
  } // namespace JsonData
85
113
 
86
114
  }
87
115
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_LISA.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for LISA API JSON-RPC API.
1
+ // C++ types for LISA API.
2
2
  // Generated automatically from 'LISA.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace LISA {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("handle"), &Handle);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  CancelParamsInfo(const CancelParamsInfo&) = delete;
30
+ CancelParamsInfo(CancelParamsInfo&&) noexcept = delete;
31
+
33
32
  CancelParamsInfo& operator=(const CancelParamsInfo&) = delete;
33
+ CancelParamsInfo& operator=(CancelParamsInfo&&) noexcept = delete;
34
+
35
+ ~CancelParamsInfo() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Handle.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Handle; // Operation handle
37
45
  }; // class CancelParamsInfo
38
46
 
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  Add(_T("type"), &Type);
45
53
  Add(_T("id"), &Id);
46
54
  Add(_T("version"), &Version);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  GetStorageDetailsParamsInfo(const GetStorageDetailsParamsInfo&) = delete;
58
+ GetStorageDetailsParamsInfo(GetStorageDetailsParamsInfo&&) noexcept = delete;
59
+
55
60
  GetStorageDetailsParamsInfo& operator=(const GetStorageDetailsParamsInfo&) = delete;
61
+ GetStorageDetailsParamsInfo& operator=(GetStorageDetailsParamsInfo&&) noexcept = delete;
62
+
63
+ ~GetStorageDetailsParamsInfo() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true));
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::String Type; // Application type (mime-type)
59
73
  Core::JSON::String Id; // Application ID
60
74
  Core::JSON::String Version; // Application version
@@ -74,20 +88,38 @@ namespace JsonData {
74
88
  , Value(_other.Value)
75
89
  {
76
90
  _Init();
77
91
  }
78
92
 
93
+ KeyvalueInfo(KeyvalueInfo&& _other) noexcept
94
+ : Core::JSON::Container()
95
+ , Key(std::move(_other.Key))
96
+ , Value(std::move(_other.Value))
97
+ {
98
+ _Init();
99
+ }
100
+
79
101
  KeyvalueInfo& operator=(const KeyvalueInfo& _rhs)
80
102
  {
81
103
  Key = _rhs.Key;
82
104
  Value = _rhs.Value;
83
105
  return (*this);
84
106
  }
85
107
 
86
- bool IsValid() const
108
+ KeyvalueInfo& operator=(KeyvalueInfo&& _rhs) noexcept
87
109
  {
88
- return (true);
110
+ Key = std::move(_rhs.Key);
111
+ Value = std::move(_rhs.Value);
112
+ return (*this);
113
+ }
114
+
115
+ ~KeyvalueInfo() = default;
116
+
117
+ public:
118
+ bool IsDataValid() const
119
+ {
120
+ return ((Key.IsSet() == true) && (Value.IsSet() == true));
89
121
  }
90
122
 
91
123
  private:
92
124
  void _Init()
93
125
  {
@@ -112,17 +144,23 @@ namespace JsonData {
112
144
  Add(_T("id"), &Id);
113
145
  Add(_T("version"), &Version);
114
146
  Add(_T("key"), &Key);
115
147
  }
116
148
 
117
- bool IsValid() const
118
- {
119
- return (true);
120
- }
121
-
122
149
  ClearAuxMetadataParamsData(const ClearAuxMetadataParamsData&) = delete;
150
+ ClearAuxMetadataParamsData(ClearAuxMetadataParamsData&&) noexcept = delete;
151
+
123
152
  ClearAuxMetadataParamsData& operator=(const ClearAuxMetadataParamsData&) = delete;
153
+ ClearAuxMetadataParamsData& operator=(ClearAuxMetadataParamsData&&) noexcept = delete;
154
+
155
+ ~ClearAuxMetadataParamsData() = default;
156
+
157
+ public:
158
+ bool IsDataValid() const
159
+ {
160
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Key.IsSet() == true));
161
+ }
124
162
 
125
163
  public:
126
164
  Core::JSON::String Type; // Application type (mime-type)
127
165
  Core::JSON::String Id; // Application ID
128
166
  Core::JSON::String Version; // Application version
@@ -139,17 +177,23 @@ namespace JsonData {
139
177
  Add(_T("version"), &Version);
140
178
  Add(_T("resKey"), &ResKey);
141
179
  Add(_T("resUrl"), &ResUrl);
142
180
  }
143
181
 
144
- bool IsValid() const
145
- {
146
- return (true);
147
- }
148
-
149
182
  DownloadParamsData(const DownloadParamsData&) = delete;
183
+ DownloadParamsData(DownloadParamsData&&) noexcept = delete;
184
+
150
185
  DownloadParamsData& operator=(const DownloadParamsData&) = delete;
186
+ DownloadParamsData& operator=(DownloadParamsData&&) noexcept = delete;
187
+
188
+ ~DownloadParamsData() = default;
189
+
190
+ public:
191
+ bool IsDataValid() const
192
+ {
193
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (ResKey.IsSet() == true) && (ResUrl.IsSet() == true));
194
+ }
151
195
 
152
196
  public:
153
197
  Core::JSON::String Type; // Application type (mime-type)
154
198
  Core::JSON::String Id; // Application ID
155
199
  Core::JSON::String Version; // Application version
@@ -177,22 +221,46 @@ namespace JsonData {
177
221
  , Url(_other.Url)
178
222
  {
179
223
  _Init();
180
224
  }
181
225
 
226
+ InstalledappData(InstalledappData&& _other) noexcept
227
+ : Core::JSON::Container()
228
+ , Version(std::move(_other.Version))
229
+ , AppName(std::move(_other.AppName))
230
+ , Category(std::move(_other.Category))
231
+ , Url(std::move(_other.Url))
232
+ {
233
+ _Init();
234
+ }
235
+
182
236
  InstalledappData& operator=(const InstalledappData& _rhs)
183
237
  {
184
238
  Version = _rhs.Version;
185
239
  AppName = _rhs.AppName;
186
- Category = _rhs.Category;
240
+ if (_rhs.Category.Value().empty() == false) {
241
+ Category = _rhs.Category;
242
+ }
187
243
  Url = _rhs.Url;
188
244
  return (*this);
189
245
  }
190
246
 
191
- bool IsValid() const
247
+ InstalledappData& operator=(InstalledappData&& _rhs) noexcept
248
+ {
249
+ Version = std::move(_rhs.Version);
250
+ AppName = std::move(_rhs.AppName);
251
+ Category = std::move(_rhs.Category);
252
+ Url = std::move(_rhs.Url);
253
+ return (*this);
254
+ }
255
+
256
+ ~InstalledappData() = default;
257
+
258
+ public:
259
+ bool IsDataValid() const
192
260
  {
193
- return (true);
261
+ return ((Version.IsSet() == true) && (AppName.IsSet() == true) && (Url.IsSet() == true));
194
262
  }
195
263
 
196
264
  private:
197
265
  void _Init()
198
266
  {
@@ -222,21 +290,41 @@ namespace JsonData {
222
290
  , Installed(_other.Installed)
223
291
  {
224
292
  _Init();
225
293
  }
226
294
 
295
+ AppData(AppData&& _other) noexcept
296
+ : Core::JSON::Container()
297
+ , Id(std::move(_other.Id))
298
+ , Type(std::move(_other.Type))
299
+ , Installed(std::move(_other.Installed))
300
+ {
301
+ _Init();
302
+ }
303
+
227
304
  AppData& operator=(const AppData& _rhs)
228
305
  {
229
306
  Id = _rhs.Id;
230
307
  Type = _rhs.Type;
231
308
  Installed = _rhs.Installed;
232
309
  return (*this);
233
310
  }
234
311
 
235
- bool IsValid() const
312
+ AppData& operator=(AppData&& _rhs) noexcept
313
+ {
314
+ Id = std::move(_rhs.Id);
315
+ Type = std::move(_rhs.Type);
316
+ Installed = std::move(_rhs.Installed);
317
+ return (*this);
318
+ }
319
+
320
+ ~AppData() = default;
321
+
322
+ public:
323
+ bool IsDataValid() const
236
324
  {
237
- return (true);
325
+ return ((Id.IsSet() == true) && (Type.IsSet() == true) && (Installed.IsSet() == true));
238
326
  }
239
327
 
240
328
  private:
241
329
  void _Init()
242
330
  {
@@ -255,17 +343,23 @@ namespace JsonData {
255
343
  : Core::JSON::Container()
256
344
  {
257
345
  Add(_T("apps"), &Apps);
258
346
  }
259
347
 
260
- bool IsValid() const
261
- {
262
- return (true);
263
- }
264
-
265
348
  AppslistpayloadData(const AppslistpayloadData&) = delete;
349
+ AppslistpayloadData(AppslistpayloadData&&) noexcept = delete;
350
+
266
351
  AppslistpayloadData& operator=(const AppslistpayloadData&) = delete;
352
+ AppslistpayloadData& operator=(AppslistpayloadData&&) noexcept = delete;
353
+
354
+ ~AppslistpayloadData() = default;
355
+
356
+ public:
357
+ bool IsDataValid() const
358
+ {
359
+ return (Apps.IsSet() == true);
360
+ }
267
361
 
268
362
  public:
269
363
  Core::JSON::ArrayType<AppslistpayloadData::AppData> Apps;
270
364
  }; // class AppslistpayloadData
271
365
 
@@ -279,17 +373,23 @@ namespace JsonData {
279
373
  Add(_T("version"), &Version);
280
374
  Add(_T("appName"), &AppName);
281
375
  Add(_T("category"), &Category);
282
376
  }
283
377
 
284
- bool IsValid() const
285
- {
286
- return (true);
287
- }
288
-
289
378
  GetListParamsData(const GetListParamsData&) = delete;
379
+ GetListParamsData(GetListParamsData&&) noexcept = delete;
380
+
290
381
  GetListParamsData& operator=(const GetListParamsData&) = delete;
382
+ GetListParamsData& operator=(GetListParamsData&&) noexcept = delete;
383
+
384
+ ~GetListParamsData() = default;
385
+
386
+ public:
387
+ bool IsDataValid() const
388
+ {
389
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true));
390
+ }
291
391
 
292
392
  public:
293
393
  Core::JSON::String Type; // Application type (mime-type)
294
394
  Core::JSON::String Id; // Application ID
295
395
  Core::JSON::String Version; // Application version
@@ -304,18 +404,24 @@ namespace JsonData {
304
404
  {
305
405
  Add(_T("reason"), &Reason);
306
406
  Add(_T("owner"), &Owner);
307
407
  }
308
408
 
309
- bool IsValid() const
409
+ LockinfoData(const LockinfoData&) = delete;
410
+ LockinfoData(LockinfoData&&) noexcept = delete;
411
+
412
+ LockinfoData& operator=(const LockinfoData&) = delete;
413
+ LockinfoData& operator=(LockinfoData&&) noexcept = delete;
414
+
415
+ ~LockinfoData() = default;
416
+
417
+ public:
418
+ bool IsDataValid() const
310
419
  {
311
420
  return (true);
312
421
  }
313
422
 
314
- LockinfoData(const LockinfoData&) = delete;
315
- LockinfoData& operator=(const LockinfoData&) = delete;
316
-
317
423
  public:
318
424
  Core::JSON::String Reason; // Reason for lock
319
425
  Core::JSON::String Owner; // Owner of lock
320
426
  }; // class LockinfoData
321
427
 
@@ -329,17 +435,23 @@ namespace JsonData {
329
435
  Add(_T("url"), &Url);
330
436
  Add(_T("resources"), &Resources);
331
437
  Add(_T("auxMetadata"), &AuxMetadata);
332
438
  }
333
439
 
334
- bool IsValid() const
335
- {
336
- return (true);
337
- }
338
-
339
440
  MetadatapayloadData(const MetadatapayloadData&) = delete;
441
+ MetadatapayloadData(MetadatapayloadData&&) noexcept = delete;
442
+
340
443
  MetadatapayloadData& operator=(const MetadatapayloadData&) = delete;
444
+ MetadatapayloadData& operator=(MetadatapayloadData&&) noexcept = delete;
445
+
446
+ ~MetadatapayloadData() = default;
447
+
448
+ public:
449
+ bool IsDataValid() const
450
+ {
451
+ return ((Resources.IsSet() == true) && (AuxMetadata.IsSet() == true));
452
+ }
341
453
 
342
454
  public:
343
455
  Core::JSON::String AppName; // Application name
344
456
  Core::JSON::String Category; // Application category
345
457
  Core::JSON::String Url; // Application url
@@ -357,17 +469,23 @@ namespace JsonData {
357
469
  Add(_T("path"), &Path);
358
470
  Add(_T("quotaKB"), &QuotaKB);
359
471
  Add(_T("usedKB"), &UsedKB);
360
472
  }
361
473
 
362
- bool IsValid() const
363
- {
364
- return (true);
365
- }
366
-
367
474
  StorageData(const StorageData&) = delete;
475
+ StorageData(StorageData&&) noexcept = delete;
476
+
368
477
  StorageData& operator=(const StorageData&) = delete;
478
+ StorageData& operator=(StorageData&&) noexcept = delete;
479
+
480
+ ~StorageData() = default;
481
+
482
+ public:
483
+ bool IsDataValid() const
484
+ {
485
+ return ((Path.IsSet() == true) && (UsedKB.IsSet() == true));
486
+ }
369
487
 
370
488
  public:
371
489
  Core::JSON::String Path; // Path in local filesystem
372
490
  Core::JSON::String QuotaKB; // Number of used kilobytes of storage
373
491
  Core::JSON::String UsedKB; // Number of used kilobytes of storage
@@ -378,17 +496,23 @@ namespace JsonData {
378
496
  {
379
497
  Add(_T("apps"), &Apps);
380
498
  Add(_T("persistent"), &Persistent);
381
499
  }
382
500
 
383
- bool IsValid() const
384
- {
385
- return (true);
386
- }
387
-
388
501
  StoragepayloadData(const StoragepayloadData&) = delete;
502
+ StoragepayloadData(StoragepayloadData&&) noexcept = delete;
503
+
389
504
  StoragepayloadData& operator=(const StoragepayloadData&) = delete;
505
+ StoragepayloadData& operator=(StoragepayloadData&&) noexcept = delete;
506
+
507
+ ~StoragepayloadData() = default;
508
+
509
+ public:
510
+ bool IsDataValid() const
511
+ {
512
+ return (((Apps.IsSet() == true) && (Apps.IsDataValid() == true)) && ((Persistent.IsSet() == true) && (Persistent.IsDataValid() == true)));
513
+ }
390
514
 
391
515
  public:
392
516
  StoragepayloadData::StorageData Apps; // Storage entry - used in results
393
517
  StorageData Persistent; // Storage entry - used in results
394
518
  }; // class StoragepayloadData
@@ -404,17 +528,23 @@ namespace JsonData {
404
528
  Add(_T("url"), &Url);
405
529
  Add(_T("appName"), &AppName);
406
530
  Add(_T("category"), &Category);
407
531
  }
408
532
 
409
- bool IsValid() const
410
- {
411
- return (true);
412
- }
413
-
414
533
  InstallParamsData(const InstallParamsData&) = delete;
534
+ InstallParamsData(InstallParamsData&&) noexcept = delete;
535
+
415
536
  InstallParamsData& operator=(const InstallParamsData&) = delete;
537
+ InstallParamsData& operator=(InstallParamsData&&) noexcept = delete;
538
+
539
+ ~InstallParamsData() = default;
540
+
541
+ public:
542
+ bool IsDataValid() const
543
+ {
544
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Url.IsSet() == true) && (AppName.IsSet() == true) && (Category.IsSet() == true));
545
+ }
416
546
 
417
547
  public:
418
548
  Core::JSON::String Type; // Application type (mime-type)
419
549
  Core::JSON::String Id; // Application ID
420
550
  Core::JSON::String Version; // Application version
@@ -433,17 +563,23 @@ namespace JsonData {
433
563
  Add(_T("version"), &Version);
434
564
  Add(_T("reason"), &Reason);
435
565
  Add(_T("owner"), &Owner);
436
566
  }
437
567
 
438
- bool IsValid() const
439
- {
440
- return (true);
441
- }
442
-
443
568
  LockParamsData(const LockParamsData&) = delete;
569
+ LockParamsData(LockParamsData&&) noexcept = delete;
570
+
444
571
  LockParamsData& operator=(const LockParamsData&) = delete;
572
+ LockParamsData& operator=(LockParamsData&&) noexcept = delete;
573
+
574
+ ~LockParamsData() = default;
575
+
576
+ public:
577
+ bool IsDataValid() const
578
+ {
579
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true));
580
+ }
445
581
 
446
582
  public:
447
583
  Core::JSON::String Type; // Application type (mime-type)
448
584
  Core::JSON::String Id; // Application ID
449
585
  Core::JSON::String Version; // Application version
@@ -463,17 +599,23 @@ namespace JsonData {
463
599
  Add(_T("version"), &Version);
464
600
  Add(_T("status"), &Status);
465
601
  Add(_T("details"), &Details);
466
602
  }
467
603
 
468
- bool IsValid() const
469
- {
470
- return (true);
471
- }
472
-
473
604
  OperationStatusParamsData(const OperationStatusParamsData&) = delete;
605
+ OperationStatusParamsData(OperationStatusParamsData&&) noexcept = delete;
606
+
474
607
  OperationStatusParamsData& operator=(const OperationStatusParamsData&) = delete;
608
+ OperationStatusParamsData& operator=(OperationStatusParamsData&&) noexcept = delete;
609
+
610
+ ~OperationStatusParamsData() = default;
611
+
612
+ public:
613
+ bool IsDataValid() const
614
+ {
615
+ return ((Handle.IsSet() == true) && (Operation.IsSet() == true) && (Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Status.IsSet() == true));
616
+ }
475
617
 
476
618
  public:
477
619
  Core::JSON::String Handle; // Operation handle
478
620
  Core::JSON::String Operation; // Operation
479
621
  Core::JSON::String Type; // Application type (mime-type)
@@ -492,17 +634,23 @@ namespace JsonData {
492
634
  Add(_T("id"), &Id);
493
635
  Add(_T("version"), &Version);
494
636
  Add(_T("resetType"), &ResetType);
495
637
  }
496
638
 
497
- bool IsValid() const
498
- {
499
- return (true);
500
- }
501
-
502
639
  ResetParamsData(const ResetParamsData&) = delete;
640
+ ResetParamsData(ResetParamsData&&) noexcept = delete;
641
+
503
642
  ResetParamsData& operator=(const ResetParamsData&) = delete;
643
+ ResetParamsData& operator=(ResetParamsData&&) noexcept = delete;
644
+
645
+ ~ResetParamsData() = default;
646
+
647
+ public:
648
+ bool IsDataValid() const
649
+ {
650
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (ResetType.IsSet() == true));
651
+ }
504
652
 
505
653
  public:
506
654
  Core::JSON::String Type; // Application type (mime-type)
507
655
  Core::JSON::String Id; // Application ID
508
656
  Core::JSON::String Version; // Application version
@@ -519,17 +667,23 @@ namespace JsonData {
519
667
  Add(_T("version"), &Version);
520
668
  Add(_T("key"), &Key);
521
669
  Add(_T("value"), &Value);
522
670
  }
523
671
 
524
- bool IsValid() const
525
- {
526
- return (true);
527
- }
528
-
529
672
  SetAuxMetadataParamsData(const SetAuxMetadataParamsData&) = delete;
673
+ SetAuxMetadataParamsData(SetAuxMetadataParamsData&&) noexcept = delete;
674
+
530
675
  SetAuxMetadataParamsData& operator=(const SetAuxMetadataParamsData&) = delete;
676
+ SetAuxMetadataParamsData& operator=(SetAuxMetadataParamsData&&) noexcept = delete;
677
+
678
+ ~SetAuxMetadataParamsData() = default;
679
+
680
+ public:
681
+ bool IsDataValid() const
682
+ {
683
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Key.IsSet() == true) && (Value.IsSet() == true));
684
+ }
531
685
 
532
686
  public:
533
687
  Core::JSON::String Type; // Application type (mime-type)
534
688
  Core::JSON::String Id; // Application ID
535
689
  Core::JSON::String Version; // Application version
@@ -546,26 +700,34 @@ namespace JsonData {
546
700
  Add(_T("id"), &Id);
547
701
  Add(_T("version"), &Version);
548
702
  Add(_T("uninstallType"), &UninstallType);
549
703
  }
550
704
 
551
- bool IsValid() const
552
- {
553
- return (true);
554
- }
555
-
556
705
  UninstallParamsData(const UninstallParamsData&) = delete;
706
+ UninstallParamsData(UninstallParamsData&&) noexcept = delete;
707
+
557
708
  UninstallParamsData& operator=(const UninstallParamsData&) = delete;
709
+ UninstallParamsData& operator=(UninstallParamsData&&) noexcept = delete;
710
+
711
+ ~UninstallParamsData() = default;
712
+
713
+ public:
714
+ bool IsDataValid() const
715
+ {
716
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (UninstallType.IsSet() == true));
717
+ }
558
718
 
559
719
  public:
560
720
  Core::JSON::String Type; // Application type (mime-type)
561
721
  Core::JSON::String Id; // Application ID
562
722
  Core::JSON::String Version; // Application version
563
723
  Core::JSON::String UninstallType; // Type of the uninstall to perform
564
724
  }; // class UninstallParamsData
565
725
 
566
726
  } // namespace LISA
567
727
 
728
+ POP_WARNING()
729
+
568
730
  } // namespace JsonData
569
731
 
570
732
  }
571
733
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_LocationSync.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Location Sync API JSON-RPC API.
1
+ // C++ types for Location Sync API.
2
2
  // Generated automatically from 'LocationSync.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace LocationSync {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -26,17 +28,23 @@ namespace JsonData {
26
28
  Add(_T("region"), &Region);
27
29
  Add(_T("timezone"), &Timezone);
28
30
  Add(_T("publicip"), &Publicip);
29
31
  }
30
32
 
31
- bool IsValid() const
32
- {
33
- return (true);
34
- }
35
-
36
33
  LocationData(const LocationData&) = delete;
34
+ LocationData(LocationData&&) noexcept = delete;
35
+
37
36
  LocationData& operator=(const LocationData&) = delete;
37
+ LocationData& operator=(LocationData&&) noexcept = delete;
38
+
39
+ ~LocationData() = default;
40
+
41
+ public:
42
+ bool IsDataValid() const
43
+ {
44
+ return ((City.IsSet() == true) && (Country.IsSet() == true) && (Region.IsSet() == true) && (Timezone.IsSet() == true) && (Publicip.IsSet() == true));
45
+ }
38
46
 
39
47
  public:
40
48
  Core::JSON::String City; // City name
41
49
  Core::JSON::String Country; // Country name
42
50
  Core::JSON::String Region; // Region name
@@ -44,9 +52,11 @@ namespace JsonData {
44
52
  Core::JSON::String Publicip; // Public IP
45
53
  }; // class LocationData
46
54
 
47
55
  } // namespace LocationSync
48
56
 
57
+ POP_WARNING()
58
+
49
59
  } // namespace JsonData
50
60
 
51
61
  }
52
62
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Math.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Math API JSON-RPC API.
1
+ // C++ types for Math API.
2
2
  // Generated automatically from 'IMath.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Math {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -24,17 +26,23 @@ namespace JsonData {
24
26
  {
25
27
  Add(_T("a"), &A);
26
28
  Add(_T("b"), &B);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  AddParamsInfo(const AddParamsInfo&) = delete;
32
+ AddParamsInfo(AddParamsInfo&&) noexcept = delete;
33
+
35
34
  AddParamsInfo& operator=(const AddParamsInfo&) = delete;
35
+ AddParamsInfo& operator=(AddParamsInfo&&) noexcept = delete;
36
+
37
+ ~AddParamsInfo() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((A.IsSet() == true) && (B.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::DecUInt16 A;
39
47
  Core::JSON::DecUInt16 B;
40
48
  }; // class AddParamsInfo
@@ -42,9 +50,11 @@ namespace JsonData {
42
50
  // Method params/result classes
43
51
  //
44
52
 
45
53
  } // namespace Math
46
54
 
55
+ POP_WARNING()
56
+
47
57
  } // namespace JsonData
48
58
 
49
59
  }
50
60
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_MessageControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for MessageControl API JSON-RPC API.
1
+ // C++ types for MessageControl API.
2
2
  // Generated automatically from 'IMessageControl.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace MessageControl {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -33,17 +35,18 @@ namespace JsonData {
33
35
  , Enabled(_other.Enabled)
34
36
  {
35
37
  _Init();
36
38
  }
37
39
 
38
- ControlInfo& operator=(const ControlInfo& _rhs)
40
+ ControlInfo(ControlInfo&& _other) noexcept
41
+ : Core::JSON::Container()
42
+ , Type(std::move(_other.Type))
43
+ , Category(std::move(_other.Category))
44
+ , Module(std::move(_other.Module))
45
+ , Enabled(std::move(_other.Enabled))
39
46
  {
40
- Type = _rhs.Type;
41
- Category = _rhs.Category;
42
- Module = _rhs.Module;
43
- Enabled = _rhs.Enabled;
44
- return (*this);
47
+ _Init();
45
48
  }
46
49
 
47
50
  ControlInfo(const Exchange::IMessageControl::Control& _other)
48
51
  : Core::JSON::Container()
49
52
  {
@@ -52,10 +55,28 @@ namespace JsonData {
52
55
  Module = _other.module;
53
56
  Enabled = _other.enabled;
54
57
  _Init();
55
58
  }
56
59
 
60
+ ControlInfo& operator=(const ControlInfo& _rhs)
61
+ {
62
+ Type = _rhs.Type;
63
+ Category = _rhs.Category;
64
+ Module = _rhs.Module;
65
+ Enabled = _rhs.Enabled;
66
+ return (*this);
67
+ }
68
+
69
+ ControlInfo& operator=(ControlInfo&& _rhs) noexcept
70
+ {
71
+ Type = std::move(_rhs.Type);
72
+ Category = std::move(_rhs.Category);
73
+ Module = std::move(_rhs.Module);
74
+ Enabled = std::move(_rhs.Enabled);
75
+ return (*this);
76
+ }
77
+
57
78
  ControlInfo& operator=(const Exchange::IMessageControl::Control& _rhs)
58
79
  {
59
80
  Type = _rhs.type;
60
81
  Category = _rhs.category;
61
82
  Module = _rhs.module;
@@ -71,13 +92,16 @@ namespace JsonData {
71
92
  _value.module = Module;
72
93
  _value.enabled = Enabled;
73
94
  return (_value);
74
95
  }
75
96
 
76
- bool IsValid() const
97
+ ~ControlInfo() = default;
98
+
99
+ public:
100
+ bool IsDataValid() const
77
101
  {
78
- return (true);
102
+ return ((Type.IsSet() == true) && (Category.IsSet() == true) && (Module.IsSet() == true) && (Enabled.IsSet() == true));
79
103
  }
80
104
 
81
105
  private:
82
106
  void _Init()
83
107
  {
@@ -97,10 +121,12 @@ namespace JsonData {
97
121
  // Method params/result classes
98
122
  //
99
123
 
100
124
  } // namespace MessageControl
101
125
 
126
+ POP_WARNING()
127
+
102
128
  } // namespace JsonData
103
129
 
104
130
  // Enum conversion handlers
105
131
  ENUM_CONVERSION_HANDLER(Exchange::IMessageControl::messagetype)
106
132
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Messenger.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Messenger API JSON-RPC API.
1
+ // C++ types for Messenger API.
2
2
  // Generated automatically from 'Messenger.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Messenger {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -32,17 +34,23 @@ namespace JsonData {
32
34
  : Core::JSON::Container()
33
35
  {
34
36
  Add(_T("roomid"), &Roomid);
35
37
  }
36
38
 
37
- bool IsValid() const
38
- {
39
- return (true);
40
- }
41
-
42
39
  JoinResultInfo(const JoinResultInfo&) = delete;
40
+ JoinResultInfo(JoinResultInfo&&) noexcept = delete;
41
+
43
42
  JoinResultInfo& operator=(const JoinResultInfo&) = delete;
43
+ JoinResultInfo& operator=(JoinResultInfo&&) noexcept = delete;
44
+
45
+ ~JoinResultInfo() = default;
46
+
47
+ public:
48
+ bool IsDataValid() const
49
+ {
50
+ return (Roomid.IsSet() == true);
51
+ }
44
52
 
45
53
  public:
46
54
  Core::JSON::String Roomid; // Unique ID of the room
47
55
  }; // class JoinResultInfo
48
56
 
@@ -58,17 +66,23 @@ namespace JsonData {
58
66
  Add(_T("room"), &Room);
59
67
  Add(_T("secure"), &Secure);
60
68
  Add(_T("acl"), &Acl);
61
69
  }
62
70
 
63
- bool IsValid() const
64
- {
65
- return (true);
66
- }
67
-
68
71
  JoinParamsData(const JoinParamsData&) = delete;
72
+ JoinParamsData(JoinParamsData&&) noexcept = delete;
73
+
69
74
  JoinParamsData& operator=(const JoinParamsData&) = delete;
75
+ JoinParamsData& operator=(JoinParamsData&&) noexcept = delete;
76
+
77
+ ~JoinParamsData() = default;
78
+
79
+ public:
80
+ bool IsDataValid() const
81
+ {
82
+ return ((User.IsSet() == true) && (Room.IsSet() == true));
83
+ }
70
84
 
71
85
  public:
72
86
  Core::JSON::String User; // User name to join the room under (must not be empty)
73
87
  Core::JSON::String Room; // Name of the room to join (must not be empty)
74
88
  Core::JSON::EnumType<SecureType> Secure; // Room security
@@ -82,17 +96,23 @@ namespace JsonData {
82
96
  {
83
97
  Add(_T("user"), &User);
84
98
  Add(_T("message"), &Message);
85
99
  }
86
100
 
87
- bool IsValid() const
88
- {
89
- return (true);
90
- }
91
-
92
101
  MessageParamsData(const MessageParamsData&) = delete;
102
+ MessageParamsData(MessageParamsData&&) noexcept = delete;
103
+
93
104
  MessageParamsData& operator=(const MessageParamsData&) = delete;
105
+ MessageParamsData& operator=(MessageParamsData&&) noexcept = delete;
106
+
107
+ ~MessageParamsData() = default;
108
+
109
+ public:
110
+ bool IsDataValid() const
111
+ {
112
+ return ((User.IsSet() == true) && (Message.IsSet() == true));
113
+ }
94
114
 
95
115
  public:
96
116
  Core::JSON::String User; // Name of the user that has sent the message
97
117
  Core::JSON::String Message; // Content of the message
98
118
  }; // class MessageParamsData
@@ -111,17 +131,23 @@ namespace JsonData {
111
131
  Add(_T("room"), &Room);
112
132
  Add(_T("secure"), &Secure);
113
133
  Add(_T("action"), &Action);
114
134
  }
115
135
 
116
- bool IsValid() const
117
- {
118
- return (true);
119
- }
120
-
121
136
  RoomupdateParamsData(const RoomupdateParamsData&) = delete;
137
+ RoomupdateParamsData(RoomupdateParamsData&&) noexcept = delete;
138
+
122
139
  RoomupdateParamsData& operator=(const RoomupdateParamsData&) = delete;
140
+ RoomupdateParamsData& operator=(RoomupdateParamsData&&) noexcept = delete;
141
+
142
+ ~RoomupdateParamsData() = default;
143
+
144
+ public:
145
+ bool IsDataValid() const
146
+ {
147
+ return ((Room.IsSet() == true) && (Action.IsSet() == true));
148
+ }
123
149
 
124
150
  public:
125
151
  Core::JSON::String Room; // Name of the room this notification relates to
126
152
  Core::JSON::EnumType<SecureType> Secure; // Room security
127
153
  Core::JSON::EnumType<RoomupdateParamsData::ActionType> Action; // Specifies the room status change, e.g. created or destroyed
@@ -134,17 +160,23 @@ namespace JsonData {
134
160
  {
135
161
  Add(_T("roomid"), &Roomid);
136
162
  Add(_T("message"), &Message);
137
163
  }
138
164
 
139
- bool IsValid() const
140
- {
141
- return (true);
142
- }
143
-
144
165
  SendParamsData(const SendParamsData&) = delete;
166
+ SendParamsData(SendParamsData&&) noexcept = delete;
167
+
145
168
  SendParamsData& operator=(const SendParamsData&) = delete;
169
+ SendParamsData& operator=(SendParamsData&&) noexcept = delete;
170
+
171
+ ~SendParamsData() = default;
172
+
173
+ public:
174
+ bool IsDataValid() const
175
+ {
176
+ return ((Roomid.IsSet() == true) && (Message.IsSet() == true));
177
+ }
146
178
 
147
179
  public:
148
180
  Core::JSON::String Roomid; // ID of the room to send the message to
149
181
  Core::JSON::String Message; // The message content to send
150
182
  }; // class SendParamsData
@@ -162,25 +194,33 @@ namespace JsonData {
162
194
  {
163
195
  Add(_T("user"), &User);
164
196
  Add(_T("action"), &Action);
165
197
  }
166
198
 
167
- bool IsValid() const
168
- {
169
- return (true);
170
- }
171
-
172
199
  UserupdateParamsData(const UserupdateParamsData&) = delete;
200
+ UserupdateParamsData(UserupdateParamsData&&) noexcept = delete;
201
+
173
202
  UserupdateParamsData& operator=(const UserupdateParamsData&) = delete;
203
+ UserupdateParamsData& operator=(UserupdateParamsData&&) noexcept = delete;
204
+
205
+ ~UserupdateParamsData() = default;
206
+
207
+ public:
208
+ bool IsDataValid() const
209
+ {
210
+ return ((User.IsSet() == true) && (Action.IsSet() == true));
211
+ }
174
212
 
175
213
  public:
176
214
  Core::JSON::String User; // Name of the user that has this notification relates to
177
215
  Core::JSON::EnumType<UserupdateParamsData::ActionType> Action; // Specifies the user status change, e.g. join or leave a room
178
216
  }; // class UserupdateParamsData
179
217
 
180
218
  } // namespace Messenger
181
219
 
220
+ POP_WARNING()
221
+
182
222
  } // namespace JsonData
183
223
 
184
224
  // Enum conversion handlers
185
225
  ENUM_CONVERSION_HANDLER(JsonData::Messenger::SecureType)
186
226
  ENUM_CONVERSION_HANDLER(JsonData::Messenger::RoomupdateParamsData::ActionType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Monitor.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Monitor API JSON-RPC API.
1
+ // C++ types for Monitor API.
2
2
  // Generated automatically from 'Monitor.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace Monitor {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -32,22 +34,44 @@ namespace JsonData {
32
34
  , Last(_other.Last)
33
35
  {
34
36
  _Init();
35
37
  }
36
38
 
39
+ MeasurementInfo(MeasurementInfo&& _other) noexcept
40
+ : Core::JSON::Container()
41
+ , Min(std::move(_other.Min))
42
+ , Max(std::move(_other.Max))
43
+ , Average(std::move(_other.Average))
44
+ , Last(std::move(_other.Last))
45
+ {
46
+ _Init();
47
+ }
48
+
37
49
  MeasurementInfo& operator=(const MeasurementInfo& _rhs)
38
50
  {
39
51
  Min = _rhs.Min;
40
52
  Max = _rhs.Max;
41
53
  Average = _rhs.Average;
42
54
  Last = _rhs.Last;
43
55
  return (*this);
44
56
  }
45
57
 
46
- bool IsValid() const
58
+ MeasurementInfo& operator=(MeasurementInfo&& _rhs) noexcept
47
59
  {
48
- return (true);
60
+ Min = std::move(_rhs.Min);
61
+ Max = std::move(_rhs.Max);
62
+ Average = std::move(_rhs.Average);
63
+ Last = std::move(_rhs.Last);
64
+ return (*this);
65
+ }
66
+
67
+ ~MeasurementInfo() = default;
68
+
69
+ public:
70
+ bool IsDataValid() const
71
+ {
72
+ return ((Min.IsSet() == true) && (Max.IsSet() == true) && (Average.IsSet() == true) && (Last.IsSet() == true));
49
73
  }
50
74
 
51
75
  private:
52
76
  void _Init()
53
77
  {
@@ -82,10 +106,22 @@ namespace JsonData {
82
106
  , Count(_other.Count)
83
107
  {
84
108
  _Init();
85
109
  }
86
110
 
111
+ MeasurementsInfo(MeasurementsInfo&& _other) noexcept
112
+ : Core::JSON::Container()
113
+ , Resident(std::move(_other.Resident))
114
+ , Allocated(std::move(_other.Allocated))
115
+ , Shared(std::move(_other.Shared))
116
+ , Process(std::move(_other.Process))
117
+ , Operational(std::move(_other.Operational))
118
+ , Count(std::move(_other.Count))
119
+ {
120
+ _Init();
121
+ }
122
+
87
123
  MeasurementsInfo& operator=(const MeasurementsInfo& _rhs)
88
124
  {
89
125
  Resident = _rhs.Resident;
90
126
  Allocated = _rhs.Allocated;
91
127
  Shared = _rhs.Shared;
@@ -93,13 +129,27 @@ namespace JsonData {
93
129
  Operational = _rhs.Operational;
94
130
  Count = _rhs.Count;
95
131
  return (*this);
96
132
  }
97
133
 
98
- bool IsValid() const
134
+ MeasurementsInfo& operator=(MeasurementsInfo&& _rhs) noexcept
99
135
  {
100
- return (true);
136
+ Resident = std::move(_rhs.Resident);
137
+ Allocated = std::move(_rhs.Allocated);
138
+ Shared = std::move(_rhs.Shared);
139
+ Process = std::move(_rhs.Process);
140
+ Operational = std::move(_rhs.Operational);
141
+ Count = std::move(_rhs.Count);
142
+ return (*this);
143
+ }
144
+
145
+ ~MeasurementsInfo() = default;
146
+
147
+ public:
148
+ bool IsDataValid() const
149
+ {
150
+ return (((Resident.IsSet() == true) && (Resident.IsDataValid() == true)) && ((Allocated.IsSet() == true) && (Allocated.IsDataValid() == true)) && ((Shared.IsSet() == true) && (Shared.IsDataValid() == true)) && ((Process.IsSet() == true) && (Process.IsDataValid() == true)) && (Operational.IsSet() == true) && (Count.IsSet() == true));
101
151
  }
102
152
 
103
153
  private:
104
154
  void _Init()
105
155
  {
@@ -134,20 +184,38 @@ namespace JsonData {
134
184
  , Window(_other.Window)
135
185
  {
136
186
  _Init();
137
187
  }
138
188
 
189
+ RestartInfo(RestartInfo&& _other) noexcept
190
+ : Core::JSON::Container()
191
+ , Limit(std::move(_other.Limit))
192
+ , Window(std::move(_other.Window))
193
+ {
194
+ _Init();
195
+ }
196
+
139
197
  RestartInfo& operator=(const RestartInfo& _rhs)
140
198
  {
141
199
  Limit = _rhs.Limit;
142
200
  Window = _rhs.Window;
143
201
  return (*this);
144
202
  }
145
203
 
146
- bool IsValid() const
204
+ RestartInfo& operator=(RestartInfo&& _rhs) noexcept
147
205
  {
148
- return (true);
206
+ Limit = std::move(_rhs.Limit);
207
+ Window = std::move(_rhs.Window);
208
+ return (*this);
209
+ }
210
+
211
+ ~RestartInfo() = default;
212
+
213
+ public:
214
+ bool IsDataValid() const
215
+ {
216
+ return ((Limit.IsSet() == true) && (Window.IsSet() == true));
149
217
  }
150
218
 
151
219
  private:
152
220
  void _Init()
153
221
  {
@@ -175,21 +243,41 @@ namespace JsonData {
175
243
  , Restart(_other.Restart)
176
244
  {
177
245
  _Init();
178
246
  }
179
247
 
248
+ InfoInfo(InfoInfo&& _other) noexcept
249
+ : Core::JSON::Container()
250
+ , Measurements(std::move(_other.Measurements))
251
+ , Observable(std::move(_other.Observable))
252
+ , Restart(std::move(_other.Restart))
253
+ {
254
+ _Init();
255
+ }
256
+
180
257
  InfoInfo& operator=(const InfoInfo& _rhs)
181
258
  {
182
259
  Measurements = _rhs.Measurements;
183
260
  Observable = _rhs.Observable;
184
261
  Restart = _rhs.Restart;
185
262
  return (*this);
186
263
  }
187
264
 
188
- bool IsValid() const
265
+ InfoInfo& operator=(InfoInfo&& _rhs) noexcept
189
266
  {
190
- return (true);
267
+ Measurements = std::move(_rhs.Measurements);
268
+ Observable = std::move(_rhs.Observable);
269
+ Restart = std::move(_rhs.Restart);
270
+ return (*this);
271
+ }
272
+
273
+ ~InfoInfo() = default;
274
+
275
+ public:
276
+ bool IsDataValid() const
277
+ {
278
+ return (((Measurements.IsSet() == true) && (Measurements.IsDataValid() == true)) && (Observable.IsSet() == true) && ((Restart.IsSet() == true) && (Restart.IsDataValid() == true)));
191
279
  }
192
280
 
193
281
  private:
194
282
  void _Init()
195
283
  {
@@ -215,17 +303,23 @@ namespace JsonData {
215
303
  Add(_T("callsign"), &Callsign);
216
304
  Add(_T("action"), &Action);
217
305
  Add(_T("reason"), &Reason);
218
306
  }
219
307
 
220
- bool IsValid() const
221
- {
222
- return (true);
223
- }
224
-
225
308
  ActionParamsData(const ActionParamsData&) = delete;
309
+ ActionParamsData(ActionParamsData&&) noexcept = delete;
310
+
226
311
  ActionParamsData& operator=(const ActionParamsData&) = delete;
312
+ ActionParamsData& operator=(ActionParamsData&&) noexcept = delete;
313
+
314
+ ~ActionParamsData() = default;
315
+
316
+ public:
317
+ bool IsDataValid() const
318
+ {
319
+ return ((Callsign.IsSet() == true) && (Action.IsSet() == true) && (Reason.IsSet() == true));
320
+ }
227
321
 
228
322
  public:
229
323
  Core::JSON::String Callsign; // Callsign of the service the Monitor acted upon
230
324
  Core::JSON::String Action; // The action executed by the Monitor on a service. One of: "Activate", "Deactivate", "StoppedRestarting"
231
325
  Core::JSON::String Reason; // A message describing the reason the action was taken
@@ -237,17 +331,23 @@ namespace JsonData {
237
331
  : Core::JSON::Container()
238
332
  {
239
333
  Add(_T("callsign"), &Callsign);
240
334
  }
241
335
 
242
- bool IsValid() const
243
- {
244
- return (true);
245
- }
246
-
247
336
  ResetstatsParamsData(const ResetstatsParamsData&) = delete;
337
+ ResetstatsParamsData(ResetstatsParamsData&&) noexcept = delete;
338
+
248
339
  ResetstatsParamsData& operator=(const ResetstatsParamsData&) = delete;
340
+ ResetstatsParamsData& operator=(ResetstatsParamsData&&) noexcept = delete;
341
+
342
+ ~ResetstatsParamsData() = default;
343
+
344
+ public:
345
+ bool IsDataValid() const
346
+ {
347
+ return (Callsign.IsSet() == true);
348
+ }
249
349
 
250
350
  public:
251
351
  Core::JSON::String Callsign; // The callsign of a service to reset statistics of
252
352
  }; // class ResetstatsParamsData
253
353
 
@@ -258,24 +358,32 @@ namespace JsonData {
258
358
  {
259
359
  Add(_T("callsign"), &Callsign);
260
360
  Add(_T("restart"), &Restart);
261
361
  }
262
362
 
263
- bool IsValid() const
264
- {
265
- return (true);
266
- }
267
-
268
363
  RestartlimitsParamsData(const RestartlimitsParamsData&) = delete;
364
+ RestartlimitsParamsData(RestartlimitsParamsData&&) noexcept = delete;
365
+
269
366
  RestartlimitsParamsData& operator=(const RestartlimitsParamsData&) = delete;
367
+ RestartlimitsParamsData& operator=(RestartlimitsParamsData&&) noexcept = delete;
368
+
369
+ ~RestartlimitsParamsData() = default;
370
+
371
+ public:
372
+ bool IsDataValid() const
373
+ {
374
+ return ((Callsign.IsSet() == true) && ((Restart.IsSet() == true) && (Restart.IsDataValid() == true)));
375
+ }
270
376
 
271
377
  public:
272
378
  Core::JSON::String Callsign; // The callsign of a service to reset measurements snapshot of
273
379
  RestartInfo Restart; // Sets new restart limits for a service
274
380
  }; // class RestartlimitsParamsData
275
381
 
276
382
  } // namespace Monitor
277
383
 
384
+ POP_WARNING()
385
+
278
386
  } // namespace JsonData
279
387
 
280
388
  }
281
389
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Netflix.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Netflix API JSON-RPC API.
1
+ // C++ types for Netflix API.
2
2
  // Generated automatically from 'Netflix.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Netflix {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -32,17 +34,23 @@ namespace JsonData {
32
34
  : Core::JSON::Container()
33
35
  {
34
36
  Add(_T("playing"), &Playing);
35
37
  }
36
38
 
37
- bool IsValid() const
38
- {
39
- return (true);
40
- }
41
-
42
39
  PlaybackchangeParamsData(const PlaybackchangeParamsData&) = delete;
40
+ PlaybackchangeParamsData(PlaybackchangeParamsData&&) noexcept = delete;
41
+
43
42
  PlaybackchangeParamsData& operator=(const PlaybackchangeParamsData&) = delete;
43
+ PlaybackchangeParamsData& operator=(PlaybackchangeParamsData&&) noexcept = delete;
44
+
45
+ ~PlaybackchangeParamsData() = default;
46
+
47
+ public:
48
+ bool IsDataValid() const
49
+ {
50
+ return (Playing.IsSet() == true);
51
+ }
44
52
 
45
53
  public:
46
54
  Core::JSON::Boolean Playing; // Determines if the Netflix is in playing mode (true) or not playing (false)
47
55
  }; // class PlaybackchangeParamsData
48
56
 
@@ -52,24 +60,32 @@ namespace JsonData {
52
60
  : Core::JSON::Container()
53
61
  {
54
62
  Add(_T("command"), &Command);
55
63
  }
56
64
 
57
- bool IsValid() const
58
- {
59
- return (true);
60
- }
61
-
62
65
  SystemcommandParamsData(const SystemcommandParamsData&) = delete;
66
+ SystemcommandParamsData(SystemcommandParamsData&&) noexcept = delete;
67
+
63
68
  SystemcommandParamsData& operator=(const SystemcommandParamsData&) = delete;
69
+ SystemcommandParamsData& operator=(SystemcommandParamsData&&) noexcept = delete;
70
+
71
+ ~SystemcommandParamsData() = default;
72
+
73
+ public:
74
+ bool IsDataValid() const
75
+ {
76
+ return (Command.IsSet() == true);
77
+ }
64
78
 
65
79
  public:
66
80
  Core::JSON::String Command; // Command to send to Netflix
67
81
  }; // class SystemcommandParamsData
68
82
 
69
83
  } // namespace Netflix
70
84
 
85
+ POP_WARNING()
86
+
71
87
  } // namespace JsonData
72
88
 
73
89
  // Enum conversion handlers
74
90
  ENUM_CONVERSION_HANDLER(JsonData::Netflix::VisibilityType)
75
91
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_NetworkControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for NetworkControl API JSON-RPC API.
1
+ // C++ types for NetworkControl API.
2
2
  // Generated automatically from 'INetworkControl.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace NetworkControl {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -33,17 +35,18 @@ namespace JsonData {
33
35
  , Mode(_other.Mode)
34
36
  {
35
37
  _Init();
36
38
  }
37
39
 
38
- NetworkInfoInfo& operator=(const NetworkInfoInfo& _rhs)
40
+ NetworkInfoInfo(NetworkInfoInfo&& _other) noexcept
41
+ : Core::JSON::Container()
42
+ , Address(std::move(_other.Address))
43
+ , DefaultGateway(std::move(_other.DefaultGateway))
44
+ , Mask(std::move(_other.Mask))
45
+ , Mode(std::move(_other.Mode))
39
46
  {
40
- Address = _rhs.Address;
41
- DefaultGateway = _rhs.DefaultGateway;
42
- Mask = _rhs.Mask;
43
- Mode = _rhs.Mode;
44
- return (*this);
47
+ _Init();
45
48
  }
46
49
 
47
50
  NetworkInfoInfo(const Exchange::INetworkControl::NetworkInfo& _other)
48
51
  : Core::JSON::Container()
49
52
  {
@@ -52,10 +55,28 @@ namespace JsonData {
52
55
  Mask = _other.mask;
53
56
  Mode = _other.mode;
54
57
  _Init();
55
58
  }
56
59
 
60
+ NetworkInfoInfo& operator=(const NetworkInfoInfo& _rhs)
61
+ {
62
+ Address = _rhs.Address;
63
+ DefaultGateway = _rhs.DefaultGateway;
64
+ Mask = _rhs.Mask;
65
+ Mode = _rhs.Mode;
66
+ return (*this);
67
+ }
68
+
69
+ NetworkInfoInfo& operator=(NetworkInfoInfo&& _rhs) noexcept
70
+ {
71
+ Address = std::move(_rhs.Address);
72
+ DefaultGateway = std::move(_rhs.DefaultGateway);
73
+ Mask = std::move(_rhs.Mask);
74
+ Mode = std::move(_rhs.Mode);
75
+ return (*this);
76
+ }
77
+
57
78
  NetworkInfoInfo& operator=(const Exchange::INetworkControl::NetworkInfo& _rhs)
58
79
  {
59
80
  Address = _rhs.address;
60
81
  DefaultGateway = _rhs.defaultGateway;
61
82
  Mask = _rhs.mask;
@@ -71,13 +92,16 @@ namespace JsonData {
71
92
  _value.mask = Mask;
72
93
  _value.mode = Mode;
73
94
  return (_value);
74
95
  }
75
96
 
76
- bool IsValid() const
97
+ ~NetworkInfoInfo() = default;
98
+
99
+ public:
100
+ bool IsDataValid() const
77
101
  {
78
- return (true);
102
+ return ((Address.IsSet() == true) && (DefaultGateway.IsSet() == true) && (Mask.IsSet() == true) && (Mode.IsSet() == true));
79
103
  }
80
104
 
81
105
  private:
82
106
  void _Init()
83
107
  {
@@ -103,17 +127,23 @@ namespace JsonData {
103
127
  : Core::JSON::Container()
104
128
  {
105
129
  Add(_T("value"), &Value);
106
130
  }
107
131
 
108
- bool IsValid() const
109
- {
110
- return (true);
111
- }
112
-
113
132
  DNSData(const DNSData&) = delete;
133
+ DNSData(DNSData&&) noexcept = delete;
134
+
114
135
  DNSData& operator=(const DNSData&) = delete;
136
+ DNSData& operator=(DNSData&&) noexcept = delete;
137
+
138
+ ~DNSData() = default;
139
+
140
+ public:
141
+ bool IsDataValid() const
142
+ {
143
+ return (Value.IsSet() == true);
144
+ }
115
145
 
116
146
  public:
117
147
  Core::JSON::ArrayType<Core::JSON::String> Value; // DNS list
118
148
  }; // class DNSData
119
149
 
@@ -123,17 +153,23 @@ namespace JsonData {
123
153
  : Core::JSON::Container()
124
154
  {
125
155
  Add(_T("interface"), &Interface);
126
156
  }
127
157
 
128
- bool IsValid() const
129
- {
130
- return (true);
131
- }
132
-
133
158
  FlushParamsData(const FlushParamsData&) = delete;
159
+ FlushParamsData(FlushParamsData&&) noexcept = delete;
160
+
134
161
  FlushParamsData& operator=(const FlushParamsData&) = delete;
162
+ FlushParamsData& operator=(FlushParamsData&&) noexcept = delete;
163
+
164
+ ~FlushParamsData() = default;
165
+
166
+ public:
167
+ bool IsDataValid() const
168
+ {
169
+ return (Interface.IsSet() == true);
170
+ }
135
171
 
136
172
  public:
137
173
  Core::JSON::String Interface; // Flush and reload requested interface
138
174
  }; // class FlushParamsData
139
175
 
@@ -143,17 +179,23 @@ namespace JsonData {
143
179
  : Core::JSON::Container()
144
180
  {
145
181
  Add(_T("value"), &Value);
146
182
  }
147
183
 
148
- bool IsValid() const
149
- {
150
- return (true);
151
- }
152
-
153
184
  NetworkData(const NetworkData&) = delete;
185
+ NetworkData(NetworkData&&) noexcept = delete;
186
+
154
187
  NetworkData& operator=(const NetworkData&) = delete;
188
+ NetworkData& operator=(NetworkData&&) noexcept = delete;
189
+
190
+ ~NetworkData() = default;
191
+
192
+ public:
193
+ bool IsDataValid() const
194
+ {
195
+ return (Value.IsSet() == true);
196
+ }
155
197
 
156
198
  public:
157
199
  Core::JSON::ArrayType<NetworkInfoInfo> Value; // Network info of requested interface
158
200
  }; // class NetworkData
159
201
 
@@ -163,17 +205,23 @@ namespace JsonData {
163
205
  : Core::JSON::Container()
164
206
  {
165
207
  Add(_T("value"), &Value);
166
208
  }
167
209
 
168
- bool IsValid() const
169
- {
170
- return (true);
171
- }
172
-
173
210
  UpData(const UpData&) = delete;
211
+ UpData(UpData&&) noexcept = delete;
212
+
174
213
  UpData& operator=(const UpData&) = delete;
214
+ UpData& operator=(UpData&&) noexcept = delete;
215
+
216
+ ~UpData() = default;
217
+
218
+ public:
219
+ bool IsDataValid() const
220
+ {
221
+ return (Value.IsSet() == true);
222
+ }
175
223
 
176
224
  public:
177
225
  Core::JSON::Boolean Value; // Provides given requested interface is up or not
178
226
  }; // class UpData
179
227
 
@@ -183,24 +231,32 @@ namespace JsonData {
183
231
  : Core::JSON::Container()
184
232
  {
185
233
  Add(_T("interfacename"), &InterfaceName);
186
234
  }
187
235
 
188
- bool IsValid() const
189
- {
190
- return (true);
191
- }
192
-
193
236
  UpdateParamsData(const UpdateParamsData&) = delete;
237
+ UpdateParamsData(UpdateParamsData&&) noexcept = delete;
238
+
194
239
  UpdateParamsData& operator=(const UpdateParamsData&) = delete;
240
+ UpdateParamsData& operator=(UpdateParamsData&&) noexcept = delete;
241
+
242
+ ~UpdateParamsData() = default;
243
+
244
+ public:
245
+ bool IsDataValid() const
246
+ {
247
+ return (InterfaceName.IsSet() == true);
248
+ }
195
249
 
196
250
  public:
197
251
  Core::JSON::String InterfaceName;
198
252
  }; // class UpdateParamsData
199
253
 
200
254
  } // namespace NetworkControl
201
255
 
256
+ POP_WARNING()
257
+
202
258
  } // namespace JsonData
203
259
 
204
260
  // Enum conversion handlers
205
261
  ENUM_CONVERSION_HANDLER(Exchange::INetworkControl::StatusType)
206
262
  ENUM_CONVERSION_HANDLER(Exchange::INetworkControl::ModeType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_NetworkTools.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for NetworkTools API JSON-RPC API.
1
+ // C++ types for NetworkTools API.
2
2
  // Generated automatically from 'INetworkTools.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace NetworkTools {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -25,17 +27,23 @@ namespace JsonData {
25
27
  Add(_T("destination"), &Destination);
26
28
  Add(_T("timeoutinseconds"), &TimeOutInSeconds);
27
29
  Add(_T("count"), &Count);
28
30
  }
29
31
 
30
- bool IsValid() const
31
- {
32
- return (true);
33
- }
34
-
35
32
  PingParamsData(const PingParamsData&) = delete;
33
+ PingParamsData(PingParamsData&&) noexcept = delete;
34
+
36
35
  PingParamsData& operator=(const PingParamsData&) = delete;
36
+ PingParamsData& operator=(PingParamsData&&) noexcept = delete;
37
+
38
+ ~PingParamsData() = default;
39
+
40
+ public:
41
+ bool IsDataValid() const
42
+ {
43
+ return ((Destination.IsSet() == true) && (TimeOutInSeconds.IsSet() == true) && (Count.IsSet() == true));
44
+ }
37
45
 
38
46
  public:
39
47
  Core::JSON::String Destination; // Ping the given destination with ICMP packages.
40
48
  Core::JSON::DecUInt16 TimeOutInSeconds; // Ping the given destination with ICMP packages.
41
49
  Core::JSON::DecUInt16 Count; // Ping the given destination with ICMP packages.
@@ -48,17 +56,23 @@ namespace JsonData {
48
56
  {
49
57
  Add(_T("source"), &Source);
50
58
  Add(_T("metadata"), &Metadata);
51
59
  }
52
60
 
53
- bool IsValid() const
54
- {
55
- return (true);
56
- }
57
-
58
61
  ReportParamsData(const ReportParamsData&) = delete;
62
+ ReportParamsData(ReportParamsData&&) noexcept = delete;
63
+
59
64
  ReportParamsData& operator=(const ReportParamsData&) = delete;
65
+ ReportParamsData& operator=(ReportParamsData&&) noexcept = delete;
66
+
67
+ ~ReportParamsData() = default;
68
+
69
+ public:
70
+ bool IsDataValid() const
71
+ {
72
+ return ((Source.IsSet() == true) && (Metadata.IsSet() == true));
73
+ }
60
74
 
61
75
  public:
62
76
  Core::JSON::String Source; // is the NodeId of the system that send the metadta presented in the next field.
63
77
  Core::JSON::String Metadata; // depending on the tool started, this JSON string will contain additiona information on this notification.
64
78
  }; // class ReportParamsData
@@ -70,24 +84,32 @@ namespace JsonData {
70
84
  {
71
85
  Add(_T("destination"), &Destination);
72
86
  Add(_T("timeoutinseconds"), &TimeOutInSeconds);
73
87
  }
74
88
 
75
- bool IsValid() const
76
- {
77
- return (true);
78
- }
79
-
80
89
  TraceRouteParamsData(const TraceRouteParamsData&) = delete;
90
+ TraceRouteParamsData(TraceRouteParamsData&&) noexcept = delete;
91
+
81
92
  TraceRouteParamsData& operator=(const TraceRouteParamsData&) = delete;
93
+ TraceRouteParamsData& operator=(TraceRouteParamsData&&) noexcept = delete;
94
+
95
+ ~TraceRouteParamsData() = default;
96
+
97
+ public:
98
+ bool IsDataValid() const
99
+ {
100
+ return ((Destination.IsSet() == true) && (TimeOutInSeconds.IsSet() == true));
101
+ }
82
102
 
83
103
  public:
84
104
  Core::JSON::String Destination; // TraceRoute to the given destination with ICMP packages.
85
105
  Core::JSON::DecUInt16 TimeOutInSeconds; // TraceRoute to the given destination with ICMP packages.
86
106
  }; // class TraceRouteParamsData
87
107
 
88
108
  } // namespace NetworkTools
89
109
 
110
+ POP_WARNING()
111
+
90
112
  } // namespace JsonData
91
113
 
92
114
  }
93
115
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_OCDM.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for OpenCDMi API JSON-RPC API.
1
+ // C++ types for OpenCDMi API.
2
2
  // Generated automatically from 'OCDM.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace OCDM {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -30,19 +32,35 @@ namespace JsonData {
30
32
  , Drm(_other.Drm)
31
33
  {
32
34
  _Init();
33
35
  }
34
36
 
37
+ SessionInfo(SessionInfo&& _other) noexcept
38
+ : Core::JSON::Container()
39
+ , Drm(std::move(_other.Drm))
40
+ {
41
+ _Init();
42
+ }
43
+
35
44
  SessionInfo& operator=(const SessionInfo& _rhs)
36
45
  {
37
46
  Drm = _rhs.Drm;
38
47
  return (*this);
39
48
  }
40
49
 
41
- bool IsValid() const
50
+ SessionInfo& operator=(SessionInfo&& _rhs) noexcept
42
51
  {
43
- return (true);
52
+ Drm = std::move(_rhs.Drm);
53
+ return (*this);
54
+ }
55
+
56
+ ~SessionInfo() = default;
57
+
58
+ public:
59
+ bool IsDataValid() const
60
+ {
61
+ return (Drm.IsSet() == true);
44
62
  }
45
63
 
46
64
  private:
47
65
  void _Init()
48
66
  {
@@ -70,21 +88,26 @@ namespace JsonData {
70
88
  {
71
89
  Add(_T("status"), &Status);
72
90
  Add(_T("drm"), &Drm);
73
91
  }
74
92
 
75
- bool IsValid() const
76
- {
77
- return (true);
78
- }
79
-
80
93
  DrminitializationstatusParamsData(const DrminitializationstatusParamsData&) = delete;
94
+ DrminitializationstatusParamsData(DrminitializationstatusParamsData&&) noexcept = delete;
95
+
81
96
  DrminitializationstatusParamsData& operator=(const DrminitializationstatusParamsData&) = delete;
97
+ DrminitializationstatusParamsData& operator=(DrminitializationstatusParamsData&&) noexcept = delete;
98
+
99
+ ~DrminitializationstatusParamsData() = default;
82
100
 
83
101
  public:
84
- Core::JSON::EnumType<DrminitializationstatusParamsData::StatusType> Status; // BUSY - drm is used by another process,
85
- // SUCCESS - recovered from BUSY state after retry, FAILED - not recovered after re-trying from BUSY
102
+ bool IsDataValid() const
103
+ {
104
+ return ((Status.IsSet() == true) && (Drm.IsSet() == true));
105
+ }
106
+
107
+ public:
108
+ Core::JSON::EnumType<DrminitializationstatusParamsData::StatusType> Status; // BUSY - drm is used by another process, SUCCESS - recovered from BUSY state after retry, FAILED - not recovered after re-trying from BUSY
86
109
  Core::JSON::String Drm; // Name of the DRM system
87
110
  }; // class DrminitializationstatusParamsData
88
111
 
89
112
  class DrmData : public Core::JSON::Container {
90
113
  public:
@@ -100,20 +123,38 @@ namespace JsonData {
100
123
  , Keysystems(_other.Keysystems)
101
124
  {
102
125
  _Init();
103
126
  }
104
127
 
128
+ DrmData(DrmData&& _other) noexcept
129
+ : Core::JSON::Container()
130
+ , Name(std::move(_other.Name))
131
+ , Keysystems(std::move(_other.Keysystems))
132
+ {
133
+ _Init();
134
+ }
135
+
105
136
  DrmData& operator=(const DrmData& _rhs)
106
137
  {
107
138
  Name = _rhs.Name;
108
139
  Keysystems = _rhs.Keysystems;
109
140
  return (*this);
110
141
  }
111
142
 
112
- bool IsValid() const
143
+ DrmData& operator=(DrmData&& _rhs) noexcept
144
+ {
145
+ Name = std::move(_rhs.Name);
146
+ Keysystems = std::move(_rhs.Keysystems);
147
+ return (*this);
148
+ }
149
+
150
+ ~DrmData() = default;
151
+
152
+ public:
153
+ bool IsDataValid() const
113
154
  {
114
- return (true);
155
+ return ((Name.IsSet() == true) && (Keysystems.IsSet() == true));
115
156
  }
116
157
 
117
158
  private:
118
159
  void _Init()
119
160
  {
@@ -126,10 +167,12 @@ namespace JsonData {
126
167
  Core::JSON::ArrayType<Core::JSON::String> Keysystems;
127
168
  }; // class DrmData
128
169
 
129
170
  } // namespace OCDM
130
171
 
172
+ POP_WARNING()
173
+
131
174
  } // namespace JsonData
132
175
 
133
176
  // Enum conversion handlers
134
177
  ENUM_CONVERSION_HANDLER(JsonData::OCDM::DrminitializationstatusParamsData::StatusType)
135
178
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PackageManager.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for PackageManager API JSON-RPC API.
1
+ // C++ types for PackageManager API.
2
2
  // Generated automatically from 'IPackageManager.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace PackageManager {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("handle"), &Handle);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  CancelParamsInfo(const CancelParamsInfo&) = delete;
31
+ CancelParamsInfo(CancelParamsInfo&&) noexcept = delete;
32
+
34
33
  CancelParamsInfo& operator=(const CancelParamsInfo&) = delete;
34
+ CancelParamsInfo& operator=(CancelParamsInfo&&) noexcept = delete;
35
+
36
+ ~CancelParamsInfo() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Handle.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Handle; // Cancel asynchronous request.
38
46
  }; // class CancelParamsInfo
39
47
 
@@ -45,17 +53,23 @@ namespace JsonData {
45
53
  Add(_T("type"), &Type);
46
54
  Add(_T("id"), &Id);
47
55
  Add(_T("version"), &Version);
48
56
  }
49
57
 
50
- bool IsValid() const
51
- {
52
- return (true);
53
- }
54
-
55
58
  GetStorageDetailsParamsInfo(const GetStorageDetailsParamsInfo&) = delete;
59
+ GetStorageDetailsParamsInfo(GetStorageDetailsParamsInfo&&) noexcept = delete;
60
+
56
61
  GetStorageDetailsParamsInfo& operator=(const GetStorageDetailsParamsInfo&) = delete;
62
+ GetStorageDetailsParamsInfo& operator=(GetStorageDetailsParamsInfo&&) noexcept = delete;
63
+
64
+ ~GetStorageDetailsParamsInfo() = default;
65
+
66
+ public:
67
+ bool IsDataValid() const
68
+ {
69
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true));
70
+ }
57
71
 
58
72
  public:
59
73
  Core::JSON::String Type; // Information on the storage usage.
60
74
  Core::JSON::String Id; // Information on the storage usage.
61
75
  Core::JSON::String Version; // Information on the storage usage.
@@ -75,25 +89,40 @@ namespace JsonData {
75
89
  , Value(_other.Value)
76
90
  {
77
91
  _Init();
78
92
  }
79
93
 
80
- KeyValueInfo& operator=(const KeyValueInfo& _rhs)
94
+ KeyValueInfo(KeyValueInfo&& _other) noexcept
95
+ : Core::JSON::Container()
96
+ , Key(std::move(_other.Key))
97
+ , Value(std::move(_other.Value))
81
98
  {
82
- Key = _rhs.Key;
83
- Value = _rhs.Value;
84
- return (*this);
99
+ _Init();
85
100
  }
86
101
 
87
102
  KeyValueInfo(const Exchange::IPackageManager::KeyValue& _other)
88
103
  : Core::JSON::Container()
89
104
  {
90
105
  Key = _other.key;
91
106
  Value = _other.value;
92
107
  _Init();
93
108
  }
94
109
 
110
+ KeyValueInfo& operator=(const KeyValueInfo& _rhs)
111
+ {
112
+ Key = _rhs.Key;
113
+ Value = _rhs.Value;
114
+ return (*this);
115
+ }
116
+
117
+ KeyValueInfo& operator=(KeyValueInfo&& _rhs) noexcept
118
+ {
119
+ Key = std::move(_rhs.Key);
120
+ Value = std::move(_rhs.Value);
121
+ return (*this);
122
+ }
123
+
95
124
  KeyValueInfo& operator=(const Exchange::IPackageManager::KeyValue& _rhs)
96
125
  {
97
126
  Key = _rhs.key;
98
127
  Value = _rhs.value;
99
128
  return (*this);
@@ -105,13 +134,16 @@ namespace JsonData {
105
134
  _value.key = Key;
106
135
  _value.value = Value;
107
136
  return (_value);
108
137
  }
109
138
 
110
- bool IsValid() const
139
+ ~KeyValueInfo() = default;
140
+
141
+ public:
142
+ bool IsDataValid() const
111
143
  {
112
- return (true);
144
+ return ((Key.IsSet() == true) && (Value.IsSet() == true));
113
145
  }
114
146
 
115
147
  private:
116
148
  void _Init()
117
149
  {
@@ -136,17 +168,23 @@ namespace JsonData {
136
168
  Add(_T("id"), &Id);
137
169
  Add(_T("version"), &Version);
138
170
  Add(_T("key"), &Key);
139
171
  }
140
172
 
141
- bool IsValid() const
142
- {
143
- return (true);
144
- }
145
-
146
173
  ClearAuxMetadataParamsData(const ClearAuxMetadataParamsData&) = delete;
174
+ ClearAuxMetadataParamsData(ClearAuxMetadataParamsData&&) noexcept = delete;
175
+
147
176
  ClearAuxMetadataParamsData& operator=(const ClearAuxMetadataParamsData&) = delete;
177
+ ClearAuxMetadataParamsData& operator=(ClearAuxMetadataParamsData&&) noexcept = delete;
178
+
179
+ ~ClearAuxMetadataParamsData() = default;
180
+
181
+ public:
182
+ bool IsDataValid() const
183
+ {
184
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Key.IsSet() == true));
185
+ }
148
186
 
149
187
  public:
150
188
  Core::JSON::String Type; // Clears an arbitrary metadata.
151
189
  Core::JSON::String Id; // Clears an arbitrary metadata.
152
190
  Core::JSON::String Version; // Clears an arbitrary metadata.
@@ -163,17 +201,23 @@ namespace JsonData {
163
201
  Add(_T("version"), &Version);
164
202
  Add(_T("reskey"), &ResKey);
165
203
  Add(_T("url"), &Url);
166
204
  }
167
205
 
168
- bool IsValid() const
169
- {
170
- return (true);
171
- }
172
-
173
206
  DownloadParamsData(const DownloadParamsData&) = delete;
207
+ DownloadParamsData(DownloadParamsData&&) noexcept = delete;
208
+
174
209
  DownloadParamsData& operator=(const DownloadParamsData&) = delete;
210
+ DownloadParamsData& operator=(DownloadParamsData&&) noexcept = delete;
211
+
212
+ ~DownloadParamsData() = default;
213
+
214
+ public:
215
+ bool IsDataValid() const
216
+ {
217
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (ResKey.IsSet() == true) && (Url.IsSet() == true));
218
+ }
175
219
 
176
220
  public:
177
221
  Core::JSON::String Type; // Download arbitrary application's resource file.
178
222
  Core::JSON::String Id; // Download arbitrary application's resource file.
179
223
  Core::JSON::String Version; // Download arbitrary application's resource file.
@@ -191,17 +235,23 @@ namespace JsonData {
191
235
  Add(_T("version"), &Version);
192
236
  Add(_T("appname"), &AppName);
193
237
  Add(_T("category"), &Category);
194
238
  }
195
239
 
196
- bool IsValid() const
197
- {
198
- return (true);
199
- }
200
-
201
240
  GetListParamsData(const GetListParamsData&) = delete;
241
+ GetListParamsData(GetListParamsData&&) noexcept = delete;
242
+
202
243
  GetListParamsData& operator=(const GetListParamsData&) = delete;
244
+ GetListParamsData& operator=(GetListParamsData&&) noexcept = delete;
245
+
246
+ ~GetListParamsData() = default;
247
+
248
+ public:
249
+ bool IsDataValid() const
250
+ {
251
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (AppName.IsSet() == true) && (Category.IsSet() == true));
252
+ }
203
253
 
204
254
  public:
205
255
  Core::JSON::String Type; // List installed applications.
206
256
  Core::JSON::String Id; // List installed applications.
207
257
  Core::JSON::String Version; // List installed applications.
@@ -223,25 +273,40 @@ namespace JsonData {
223
273
  , Version(_other.Version)
224
274
  {
225
275
  _Init();
226
276
  }
227
277
 
228
- PackageKeyData& operator=(const PackageKeyData& _rhs)
278
+ PackageKeyData(PackageKeyData&& _other) noexcept
279
+ : Core::JSON::Container()
280
+ , Id(std::move(_other.Id))
281
+ , Version(std::move(_other.Version))
229
282
  {
230
- Id = _rhs.Id;
231
- Version = _rhs.Version;
232
- return (*this);
283
+ _Init();
233
284
  }
234
285
 
235
286
  PackageKeyData(const Exchange::IPackageManager::PackageKey& _other)
236
287
  : Core::JSON::Container()
237
288
  {
238
289
  Id = _other.id;
239
290
  Version = _other.version;
240
291
  _Init();
241
292
  }
242
293
 
294
+ PackageKeyData& operator=(const PackageKeyData& _rhs)
295
+ {
296
+ Id = _rhs.Id;
297
+ Version = _rhs.Version;
298
+ return (*this);
299
+ }
300
+
301
+ PackageKeyData& operator=(PackageKeyData&& _rhs) noexcept
302
+ {
303
+ Id = std::move(_rhs.Id);
304
+ Version = std::move(_rhs.Version);
305
+ return (*this);
306
+ }
307
+
243
308
  PackageKeyData& operator=(const Exchange::IPackageManager::PackageKey& _rhs)
244
309
  {
245
310
  Id = _rhs.id;
246
311
  Version = _rhs.version;
247
312
  return (*this);
@@ -253,13 +318,16 @@ namespace JsonData {
253
318
  _value.id = Id;
254
319
  _value.version = Version;
255
320
  return (_value);
256
321
  }
257
322
 
258
- bool IsValid() const
323
+ ~PackageKeyData() = default;
324
+
325
+ public:
326
+ bool IsDataValid() const
259
327
  {
260
- return (true);
328
+ return ((Id.IsSet() == true) && (Version.IsSet() == true));
261
329
  }
262
330
 
263
331
  private:
264
332
  void _Init()
265
333
  {
@@ -278,18 +346,48 @@ namespace JsonData {
278
346
  : Core::JSON::Container()
279
347
  {
280
348
  _Init();
281
349
  }
282
350
 
351
+ LockInfoData(const LockInfoData& _other)
352
+ : Core::JSON::Container()
353
+ , Reason(_other.Reason)
354
+ , Owner(_other.Owner)
355
+ {
356
+ _Init();
357
+ }
358
+
359
+ LockInfoData(LockInfoData&& _other) noexcept
360
+ : Core::JSON::Container()
361
+ , Reason(std::move(_other.Reason))
362
+ , Owner(std::move(_other.Owner))
363
+ {
364
+ _Init();
365
+ }
366
+
283
367
  LockInfoData(const Exchange::IPackageManager::LockInfo& _other)
284
368
  : Core::JSON::Container()
285
369
  {
286
370
  Reason = _other.reason;
287
371
  Owner = _other.owner;
288
372
  _Init();
289
373
  }
290
374
 
375
+ LockInfoData& operator=(const LockInfoData& _rhs)
376
+ {
377
+ Reason = _rhs.Reason;
378
+ Owner = _rhs.Owner;
379
+ return (*this);
380
+ }
381
+
382
+ LockInfoData& operator=(LockInfoData&& _rhs) noexcept
383
+ {
384
+ Reason = std::move(_rhs.Reason);
385
+ Owner = std::move(_rhs.Owner);
386
+ return (*this);
387
+ }
388
+
291
389
  LockInfoData& operator=(const Exchange::IPackageManager::LockInfo& _rhs)
292
390
  {
293
391
  Reason = _rhs.reason;
294
392
  Owner = _rhs.owner;
295
393
  return (*this);
@@ -301,13 +399,16 @@ namespace JsonData {
301
399
  _value.reason = Reason;
302
400
  _value.owner = Owner;
303
401
  return (_value);
304
402
  }
305
403
 
306
- bool IsValid() const
404
+ ~LockInfoData() = default;
405
+
406
+ public:
407
+ bool IsDataValid() const
307
408
  {
308
- return (true);
409
+ return ((Reason.IsSet() == true) && (Owner.IsSet() == true));
309
410
  }
310
411
 
311
412
  private:
312
413
  void _Init()
313
414
  {
@@ -328,20 +429,58 @@ namespace JsonData {
328
429
  : Core::JSON::Container()
329
430
  {
330
431
  _Init();
331
432
  }
332
433
 
434
+ MetadataPayloadData(const MetadataPayloadData& _other)
435
+ : Core::JSON::Container()
436
+ , AppName(_other.AppName)
437
+ , Type(_other.Type)
438
+ , Category(_other.Category)
439
+ , Url(_other.Url)
440
+ {
441
+ _Init();
442
+ }
443
+
444
+ MetadataPayloadData(MetadataPayloadData&& _other) noexcept
445
+ : Core::JSON::Container()
446
+ , AppName(std::move(_other.AppName))
447
+ , Type(std::move(_other.Type))
448
+ , Category(std::move(_other.Category))
449
+ , Url(std::move(_other.Url))
450
+ {
451
+ _Init();
452
+ }
453
+
333
454
  MetadataPayloadData(const Exchange::IPackageManager::MetadataPayload& _other)
334
455
  : Core::JSON::Container()
335
456
  {
336
457
  AppName = _other.appName;
337
458
  Type = _other.type;
338
459
  Category = _other.category;
339
460
  Url = _other.url;
340
461
  _Init();
341
462
  }
342
463
 
464
+ MetadataPayloadData& operator=(const MetadataPayloadData& _rhs)
465
+ {
466
+ AppName = _rhs.AppName;
467
+ Type = _rhs.Type;
468
+ Category = _rhs.Category;
469
+ Url = _rhs.Url;
470
+ return (*this);
471
+ }
472
+
473
+ MetadataPayloadData& operator=(MetadataPayloadData&& _rhs) noexcept
474
+ {
475
+ AppName = std::move(_rhs.AppName);
476
+ Type = std::move(_rhs.Type);
477
+ Category = std::move(_rhs.Category);
478
+ Url = std::move(_rhs.Url);
479
+ return (*this);
480
+ }
481
+
343
482
  MetadataPayloadData& operator=(const Exchange::IPackageManager::MetadataPayload& _rhs)
344
483
  {
345
484
  AppName = _rhs.appName;
346
485
  Type = _rhs.type;
347
486
  Category = _rhs.category;
@@ -357,13 +496,16 @@ namespace JsonData {
357
496
  _value.category = Category;
358
497
  _value.url = Url;
359
498
  return (_value);
360
499
  }
361
500
 
362
- bool IsValid() const
501
+ ~MetadataPayloadData() = default;
502
+
503
+ public:
504
+ bool IsDataValid() const
363
505
  {
364
- return (true);
506
+ return ((AppName.IsSet() == true) && (Type.IsSet() == true) && (Category.IsSet() == true) && (Url.IsSet() == true));
365
507
  }
366
508
 
367
509
  private:
368
510
  void _Init()
369
511
  {
@@ -386,17 +528,23 @@ namespace JsonData {
386
528
  Add(_T("metadata"), &Metadata);
387
529
  Add(_T("resources"), &Resources);
388
530
  Add(_T("auxmetadata"), &AuxMetadata);
389
531
  }
390
532
 
391
- bool IsValid() const
392
- {
393
- return (true);
394
- }
395
-
396
533
  GetMetadataResultData(const GetMetadataResultData&) = delete;
534
+ GetMetadataResultData(GetMetadataResultData&&) noexcept = delete;
535
+
397
536
  GetMetadataResultData& operator=(const GetMetadataResultData&) = delete;
537
+ GetMetadataResultData& operator=(GetMetadataResultData&&) noexcept = delete;
538
+
539
+ ~GetMetadataResultData() = default;
540
+
541
+ public:
542
+ bool IsDataValid() const
543
+ {
544
+ return (((Metadata.IsSet() == true) && (Metadata.IsDataValid() == true)) && (Resources.IsSet() == true) && (AuxMetadata.IsSet() == true));
545
+ }
398
546
 
399
547
  public:
400
548
  GetMetadataResultData::MetadataPayloadData Metadata; // Get application metadata.
401
549
  Core::JSON::ArrayType<KeyValueInfo> Resources; // Get application metadata.
402
550
  Core::JSON::ArrayType<KeyValueInfo> AuxMetadata; // Get application metadata.
@@ -410,19 +558,53 @@ namespace JsonData {
410
558
  : Core::JSON::Container()
411
559
  {
412
560
  _Init();
413
561
  }
414
562
 
563
+ StorageDetailsData(const StorageDetailsData& _other)
564
+ : Core::JSON::Container()
565
+ , Path(_other.Path)
566
+ , QuotaKB(_other.QuotaKB)
567
+ , UsedKB(_other.UsedKB)
568
+ {
569
+ _Init();
570
+ }
571
+
572
+ StorageDetailsData(StorageDetailsData&& _other) noexcept
573
+ : Core::JSON::Container()
574
+ , Path(std::move(_other.Path))
575
+ , QuotaKB(std::move(_other.QuotaKB))
576
+ , UsedKB(std::move(_other.UsedKB))
577
+ {
578
+ _Init();
579
+ }
580
+
415
581
  StorageDetailsData(const Exchange::IPackageManager::StorageInfo::StorageDetails& _other)
416
582
  : Core::JSON::Container()
417
583
  {
418
584
  Path = _other.path;
419
585
  QuotaKB = _other.quotaKB;
420
586
  UsedKB = _other.usedKB;
421
587
  _Init();
422
588
  }
423
589
 
590
+ StorageDetailsData& operator=(const StorageDetailsData& _rhs)
591
+ {
592
+ Path = _rhs.Path;
593
+ QuotaKB = _rhs.QuotaKB;
594
+ UsedKB = _rhs.UsedKB;
595
+ return (*this);
596
+ }
597
+
598
+ StorageDetailsData& operator=(StorageDetailsData&& _rhs) noexcept
599
+ {
600
+ Path = std::move(_rhs.Path);
601
+ QuotaKB = std::move(_rhs.QuotaKB);
602
+ UsedKB = std::move(_rhs.UsedKB);
603
+ return (*this);
604
+ }
605
+
424
606
  StorageDetailsData& operator=(const Exchange::IPackageManager::StorageInfo::StorageDetails& _rhs)
425
607
  {
426
608
  Path = _rhs.path;
427
609
  QuotaKB = _rhs.quotaKB;
428
610
  UsedKB = _rhs.usedKB;
@@ -436,13 +618,16 @@ namespace JsonData {
436
618
  _value.quotaKB = QuotaKB;
437
619
  _value.usedKB = UsedKB;
438
620
  return (_value);
439
621
  }
440
622
 
441
- bool IsValid() const
623
+ ~StorageDetailsData() = default;
624
+
625
+ public:
626
+ bool IsDataValid() const
442
627
  {
443
- return (true);
628
+ return ((Path.IsSet() == true) && (QuotaKB.IsSet() == true) && (UsedKB.IsSet() == true));
444
629
  }
445
630
 
446
631
  private:
447
632
  void _Init()
448
633
  {
@@ -461,21 +646,55 @@ namespace JsonData {
461
646
  : Core::JSON::Container()
462
647
  {
463
648
  _Init();
464
649
  }
465
650
 
651
+ StorageInfoData(const StorageInfoData& _other)
652
+ : Core::JSON::Container()
653
+ , Apps(_other.Apps)
654
+ , Persistent(_other.Persistent)
655
+ {
656
+ _Init();
657
+ }
658
+
659
+ StorageInfoData(StorageInfoData&& _other) noexcept
660
+ : Core::JSON::Container()
661
+ , Apps(std::move(_other.Apps))
662
+ , Persistent(std::move(_other.Persistent))
663
+ {
664
+ _Init();
665
+ }
666
+
466
667
  StorageInfoData(const Exchange::IPackageManager::StorageInfo& _other)
467
668
  : Core::JSON::Container()
468
669
  {
670
+ Apps.Set(true);
469
671
  Apps = _other.apps;
672
+ Persistent.Set(true);
470
673
  Persistent = _other.persistent;
471
674
  _Init();
472
675
  }
473
676
 
677
+ StorageInfoData& operator=(const StorageInfoData& _rhs)
678
+ {
679
+ Apps = _rhs.Apps;
680
+ Persistent = _rhs.Persistent;
681
+ return (*this);
682
+ }
683
+
684
+ StorageInfoData& operator=(StorageInfoData&& _rhs) noexcept
685
+ {
686
+ Apps = std::move(_rhs.Apps);
687
+ Persistent = std::move(_rhs.Persistent);
688
+ return (*this);
689
+ }
690
+
474
691
  StorageInfoData& operator=(const Exchange::IPackageManager::StorageInfo& _rhs)
475
692
  {
693
+ Apps.Set(true);
476
694
  Apps = _rhs.apps;
695
+ Persistent.Set(true);
477
696
  Persistent = _rhs.persistent;
478
697
  return (*this);
479
698
  }
480
699
 
481
700
  operator Exchange::IPackageManager::StorageInfo() const
@@ -484,13 +703,16 @@ namespace JsonData {
484
703
  _value.apps = Apps;
485
704
  _value.persistent = Persistent;
486
705
  return (_value);
487
706
  }
488
707
 
489
- bool IsValid() const
708
+ ~StorageInfoData() = default;
709
+
710
+ public:
711
+ bool IsDataValid() const
490
712
  {
491
- return (true);
713
+ return (((Apps.IsSet() == true) && (Apps.IsDataValid() == true)) && ((Persistent.IsSet() == true) && (Persistent.IsDataValid() == true)));
492
714
  }
493
715
 
494
716
  private:
495
717
  void _Init()
496
718
  {
@@ -514,17 +736,23 @@ namespace JsonData {
514
736
  Add(_T("url"), &Url);
515
737
  Add(_T("appname"), &AppName);
516
738
  Add(_T("category"), &Category);
517
739
  }
518
740
 
519
- bool IsValid() const
520
- {
521
- return (true);
522
- }
523
-
524
741
  InstallParamsData(const InstallParamsData&) = delete;
742
+ InstallParamsData(InstallParamsData&&) noexcept = delete;
743
+
525
744
  InstallParamsData& operator=(const InstallParamsData&) = delete;
745
+ InstallParamsData& operator=(InstallParamsData&&) noexcept = delete;
746
+
747
+ ~InstallParamsData() = default;
748
+
749
+ public:
750
+ bool IsDataValid() const
751
+ {
752
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Url.IsSet() == true) && (AppName.IsSet() == true) && (Category.IsSet() == true));
753
+ }
526
754
 
527
755
  public:
528
756
  Core::JSON::String Type; // Download the application bundle.
529
757
  Core::JSON::String Id; // Download the application bundle.
530
758
  Core::JSON::String Version; // Download the application bundle.
@@ -543,17 +771,23 @@ namespace JsonData {
543
771
  Add(_T("version"), &Version);
544
772
  Add(_T("reason"), &Reason);
545
773
  Add(_T("owner"), &Owner);
546
774
  }
547
775
 
548
- bool IsValid() const
549
- {
550
- return (true);
551
- }
552
-
553
776
  LockParamsData(const LockParamsData&) = delete;
777
+ LockParamsData(LockParamsData&&) noexcept = delete;
778
+
554
779
  LockParamsData& operator=(const LockParamsData&) = delete;
780
+ LockParamsData& operator=(LockParamsData&&) noexcept = delete;
781
+
782
+ ~LockParamsData() = default;
783
+
784
+ public:
785
+ bool IsDataValid() const
786
+ {
787
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Reason.IsSet() == true) && (Owner.IsSet() == true));
788
+ }
555
789
 
556
790
  public:
557
791
  Core::JSON::String Type; // Lock the application. Preventing uninstallation.
558
792
  Core::JSON::String Id; // Lock the application. Preventing uninstallation.
559
793
  Core::JSON::String Version; // Lock the application. Preventing uninstallation.
@@ -573,17 +807,23 @@ namespace JsonData {
573
807
  Add(_T("version"), &Version);
574
808
  Add(_T("status"), &Status);
575
809
  Add(_T("details"), &Details);
576
810
  }
577
811
 
578
- bool IsValid() const
579
- {
580
- return (true);
581
- }
582
-
583
812
  OperationStatusParamsData(const OperationStatusParamsData&) = delete;
813
+ OperationStatusParamsData(OperationStatusParamsData&&) noexcept = delete;
814
+
584
815
  OperationStatusParamsData& operator=(const OperationStatusParamsData&) = delete;
816
+ OperationStatusParamsData& operator=(OperationStatusParamsData&&) noexcept = delete;
817
+
818
+ ~OperationStatusParamsData() = default;
819
+
820
+ public:
821
+ bool IsDataValid() const
822
+ {
823
+ return ((Handle.IsSet() == true) && (Operation.IsSet() == true) && (Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Status.IsSet() == true) && (Details.IsSet() == true));
824
+ }
585
825
 
586
826
  public:
587
827
  Core::JSON::String Handle; // Completion of asynchronous operation.
588
828
  Core::JSON::String Operation; // Completion of asynchronous operation.
589
829
  Core::JSON::String Type; // Completion of asynchronous operation.
@@ -602,17 +842,23 @@ namespace JsonData {
602
842
  Add(_T("id"), &Id);
603
843
  Add(_T("version"), &Version);
604
844
  Add(_T("resettype"), &ResetType);
605
845
  }
606
846
 
607
- bool IsValid() const
608
- {
609
- return (true);
610
- }
611
-
612
847
  ResetParamsData(const ResetParamsData&) = delete;
848
+ ResetParamsData(ResetParamsData&&) noexcept = delete;
849
+
613
850
  ResetParamsData& operator=(const ResetParamsData&) = delete;
851
+ ResetParamsData& operator=(ResetParamsData&&) noexcept = delete;
852
+
853
+ ~ResetParamsData() = default;
854
+
855
+ public:
856
+ bool IsDataValid() const
857
+ {
858
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (ResetType.IsSet() == true));
859
+ }
614
860
 
615
861
  public:
616
862
  Core::JSON::String Type; // Delete persistent data stored locally.
617
863
  Core::JSON::String Id; // Delete persistent data stored locally.
618
864
  Core::JSON::String Version; // Delete persistent data stored locally.
@@ -629,17 +875,23 @@ namespace JsonData {
629
875
  Add(_T("version"), &Version);
630
876
  Add(_T("key"), &Key);
631
877
  Add(_T("value"), &Value);
632
878
  }
633
879
 
634
- bool IsValid() const
635
- {
636
- return (true);
637
- }
638
-
639
880
  SetAuxMetadataParamsData(const SetAuxMetadataParamsData&) = delete;
881
+ SetAuxMetadataParamsData(SetAuxMetadataParamsData&&) noexcept = delete;
882
+
640
883
  SetAuxMetadataParamsData& operator=(const SetAuxMetadataParamsData&) = delete;
884
+ SetAuxMetadataParamsData& operator=(SetAuxMetadataParamsData&&) noexcept = delete;
885
+
886
+ ~SetAuxMetadataParamsData() = default;
887
+
888
+ public:
889
+ bool IsDataValid() const
890
+ {
891
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (Key.IsSet() == true) && (Value.IsSet() == true));
892
+ }
641
893
 
642
894
  public:
643
895
  Core::JSON::String Type; // Set an arbitrary metadata.
644
896
  Core::JSON::String Id; // Set an arbitrary metadata.
645
897
  Core::JSON::String Version; // Set an arbitrary metadata.
@@ -656,26 +908,34 @@ namespace JsonData {
656
908
  Add(_T("id"), &Id);
657
909
  Add(_T("version"), &Version);
658
910
  Add(_T("uninstalltype"), &UninstallType);
659
911
  }
660
912
 
661
- bool IsValid() const
662
- {
663
- return (true);
664
- }
665
-
666
913
  UninstallParamsData(const UninstallParamsData&) = delete;
914
+ UninstallParamsData(UninstallParamsData&&) noexcept = delete;
915
+
667
916
  UninstallParamsData& operator=(const UninstallParamsData&) = delete;
917
+ UninstallParamsData& operator=(UninstallParamsData&&) noexcept = delete;
918
+
919
+ ~UninstallParamsData() = default;
920
+
921
+ public:
922
+ bool IsDataValid() const
923
+ {
924
+ return ((Type.IsSet() == true) && (Id.IsSet() == true) && (Version.IsSet() == true) && (UninstallType.IsSet() == true));
925
+ }
668
926
 
669
927
  public:
670
928
  Core::JSON::String Type; // Uninstall the application.
671
929
  Core::JSON::String Id; // Uninstall the application.
672
930
  Core::JSON::String Version; // Uninstall the application.
673
931
  Core::JSON::String UninstallType; // Uninstall the application.
674
932
  }; // class UninstallParamsData
675
933
 
676
934
  } // namespace PackageManager
677
935
 
936
+ POP_WARNING()
937
+
678
938
  } // namespace JsonData
679
939
 
680
940
  }
681
941
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Packager.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Packager API JSON-RPC API.
1
+ // C++ types for Packager API.
2
2
  // Generated automatically from 'Packager.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace Packager {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -24,25 +26,33 @@ namespace JsonData {
24
26
  Add(_T("package"), &Package);
25
27
  Add(_T("version"), &Version);
26
28
  Add(_T("architecture"), &Architecture);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  InstallParamsData(const InstallParamsData&) = delete;
32
+ InstallParamsData(InstallParamsData&&) noexcept = delete;
33
+
35
34
  InstallParamsData& operator=(const InstallParamsData&) = delete;
35
+ InstallParamsData& operator=(InstallParamsData&&) noexcept = delete;
36
+
37
+ ~InstallParamsData() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return (Package.IsSet() == true);
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::String Package; // A name, an URL or a file path of the package to install
39
47
  Core::JSON::String Version; // Version of the package to install
40
48
  Core::JSON::String Architecture; // Architecture of the package to install
41
49
  }; // class InstallParamsData
42
50
 
43
51
  } // namespace Packager
44
52
 
53
+ POP_WARNING()
54
+
45
55
  } // namespace JsonData
46
56
 
47
57
  }
48
58
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PerformanceMonitor.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Performance Monitor API JSON-RPC API.
1
+ // C++ types for Performance Monitor API.
2
2
  // Generated automatically from 'PerformanceMonitor.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace PerformanceMonitor {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -24,17 +26,23 @@ namespace JsonData {
24
26
  Add(_T("data"), &Data);
25
27
  Add(_T("length"), &Length);
26
28
  Add(_T("duration"), &Duration);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  BufferInfo(const BufferInfo&) = delete;
32
+ BufferInfo(BufferInfo&&) noexcept = delete;
33
+
35
34
  BufferInfo& operator=(const BufferInfo&) = delete;
35
+ BufferInfo& operator=(BufferInfo&&) noexcept = delete;
36
+
37
+ ~BufferInfo() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((Data.IsSet() == true) && (Length.IsSet() == true) && (Duration.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::String Data; // Any string data upto the size specified in the length
39
47
  Core::JSON::DecUInt16 Length;
40
48
  Core::JSON::DecUInt16 Duration;
@@ -54,17 +62,23 @@ namespace JsonData {
54
62
  Add(_T("maximum"), &Maximum);
55
63
  Add(_T("average"), &Average);
56
64
  Add(_T("count"), &Count);
57
65
  }
58
66
 
59
- bool IsValid() const
60
- {
61
- return (true);
62
- }
63
-
64
67
  StatisticsData(const StatisticsData&) = delete;
68
+ StatisticsData(StatisticsData&&) noexcept = delete;
69
+
65
70
  StatisticsData& operator=(const StatisticsData&) = delete;
71
+ StatisticsData& operator=(StatisticsData&&) noexcept = delete;
72
+
73
+ ~StatisticsData() = default;
74
+
75
+ public:
76
+ bool IsDataValid() const
77
+ {
78
+ return ((Minimum.IsSet() == true) && (Maximum.IsSet() == true) && (Average.IsSet() == true) && (Count.IsSet() == true));
79
+ }
66
80
 
67
81
  public:
68
82
  Core::JSON::DecUInt32 Minimum;
69
83
  Core::JSON::DecUInt32 Maximum;
70
84
  Core::JSON::DecUInt32 Average;
@@ -80,17 +94,23 @@ namespace JsonData {
80
94
  Add(_T("threadpool"), &Threadpool);
81
95
  Add(_T("communication"), &Communication);
82
96
  Add(_T("total"), &Total);
83
97
  }
84
98
 
85
- bool IsValid() const
86
- {
87
- return (true);
88
- }
89
-
90
99
  MeasurementData(const MeasurementData&) = delete;
100
+ MeasurementData(MeasurementData&&) noexcept = delete;
101
+
91
102
  MeasurementData& operator=(const MeasurementData&) = delete;
103
+ MeasurementData& operator=(MeasurementData&&) noexcept = delete;
104
+
105
+ ~MeasurementData() = default;
106
+
107
+ public:
108
+ bool IsDataValid() const
109
+ {
110
+ return (((Serialization.IsSet() == true) && (Serialization.IsDataValid() == true)) && ((Deserialization.IsSet() == true) && (Deserialization.IsDataValid() == true)) && ((Execution.IsSet() == true) && (Execution.IsDataValid() == true)) && ((Threadpool.IsSet() == true) && (Threadpool.IsDataValid() == true)) && ((Communication.IsSet() == true) && (Communication.IsDataValid() == true)) && ((Total.IsSet() == true) && (Total.IsDataValid() == true)));
111
+ }
92
112
 
93
113
  public:
94
114
  MeasurementData::StatisticsData Serialization; // Time taken to complete serialization
95
115
  StatisticsData Deserialization; // Time taken to complete deserialization
96
116
  StatisticsData Execution; // Time taken to complete execution
@@ -99,9 +119,11 @@ namespace JsonData {
99
119
  StatisticsData Total; // Time taken to complete whole jsonrpc process
100
120
  }; // class MeasurementData
101
121
 
102
122
  } // namespace PerformanceMonitor
103
123
 
124
+ POP_WARNING()
125
+
104
126
  } // namespace JsonData
105
127
 
106
128
  }
107
129
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PersistentStore.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for PertsistentStore API JSON-RPC API.
1
+ // C++ types for PertsistentStore API.
2
2
  // Generated automatically from 'PersistentStore.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace PersistentStore {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -34,17 +36,23 @@ namespace JsonData {
34
36
  Add(_T("namespace"), &Namespace);
35
37
  Add(_T("key"), &Key);
36
38
  Add(_T("scope"), &Scope);
37
39
  }
38
40
 
39
- bool IsValid() const
40
- {
41
- return (true);
42
- }
43
-
44
41
  DeleteKeyParamsInfo(const DeleteKeyParamsInfo&) = delete;
42
+ DeleteKeyParamsInfo(DeleteKeyParamsInfo&&) noexcept = delete;
43
+
45
44
  DeleteKeyParamsInfo& operator=(const DeleteKeyParamsInfo&) = delete;
45
+ DeleteKeyParamsInfo& operator=(DeleteKeyParamsInfo&&) noexcept = delete;
46
+
47
+ ~DeleteKeyParamsInfo() = default;
48
+
49
+ public:
50
+ bool IsDataValid() const
51
+ {
52
+ return ((Namespace.IsSet() == true) && (Key.IsSet() == true));
53
+ }
46
54
 
47
55
  public:
48
56
  Core::JSON::String Namespace; // Deletes a key from the specified namespace
49
57
  Core::JSON::String Key; // Deletes a key from the specified namespace
50
58
  Core::JSON::EnumType<ScopeType> Scope; // Deletes a key from the specified namespace
@@ -56,17 +64,23 @@ namespace JsonData {
56
64
  : Core::JSON::Container()
57
65
  {
58
66
  Add(_T("success"), &Success);
59
67
  }
60
68
 
61
- bool IsValid() const
62
- {
63
- return (true);
64
- }
65
-
66
69
  DeleteKeyResultInfo(const DeleteKeyResultInfo&) = delete;
70
+ DeleteKeyResultInfo(DeleteKeyResultInfo&&) noexcept = delete;
71
+
67
72
  DeleteKeyResultInfo& operator=(const DeleteKeyResultInfo&) = delete;
73
+ DeleteKeyResultInfo& operator=(DeleteKeyResultInfo&&) noexcept = delete;
74
+
75
+ ~DeleteKeyResultInfo() = default;
76
+
77
+ public:
78
+ bool IsDataValid() const
79
+ {
80
+ return (Success.IsSet() == true);
81
+ }
68
82
 
69
83
  public:
70
84
  Core::JSON::Boolean Success; // Deletes a key from the specified namespace
71
85
  }; // class DeleteKeyResultInfo
72
86
 
@@ -77,17 +91,23 @@ namespace JsonData {
77
91
  {
78
92
  Add(_T("namespace"), &Namespace);
79
93
  Add(_T("scope"), &Scope);
80
94
  }
81
95
 
82
- bool IsValid() const
83
- {
84
- return (true);
85
- }
86
-
87
96
  DeleteNamespaceParamsInfo(const DeleteNamespaceParamsInfo&) = delete;
97
+ DeleteNamespaceParamsInfo(DeleteNamespaceParamsInfo&&) noexcept = delete;
98
+
88
99
  DeleteNamespaceParamsInfo& operator=(const DeleteNamespaceParamsInfo&) = delete;
100
+ DeleteNamespaceParamsInfo& operator=(DeleteNamespaceParamsInfo&&) noexcept = delete;
101
+
102
+ ~DeleteNamespaceParamsInfo() = default;
103
+
104
+ public:
105
+ bool IsDataValid() const
106
+ {
107
+ return (Namespace.IsSet() == true);
108
+ }
89
109
 
90
110
  public:
91
111
  Core::JSON::String Namespace; // Deletes the specified namespace
92
112
  Core::JSON::EnumType<ScopeType> Scope; // Deletes the specified namespace
93
113
  }; // class DeleteNamespaceParamsInfo
@@ -98,18 +118,24 @@ namespace JsonData {
98
118
  : Core::JSON::Container()
99
119
  {
100
120
  Add(_T("scope"), &Scope);
101
121
  }
102
122
 
103
- bool IsValid() const
123
+ GetNamespacesParamsInfo(const GetNamespacesParamsInfo&) = delete;
124
+ GetNamespacesParamsInfo(GetNamespacesParamsInfo&&) noexcept = delete;
125
+
126
+ GetNamespacesParamsInfo& operator=(const GetNamespacesParamsInfo&) = delete;
127
+ GetNamespacesParamsInfo& operator=(GetNamespacesParamsInfo&&) noexcept = delete;
128
+
129
+ ~GetNamespacesParamsInfo() = default;
130
+
131
+ public:
132
+ bool IsDataValid() const
104
133
  {
105
134
  return (true);
106
135
  }
107
136
 
108
- GetNamespacesParamsInfo(const GetNamespacesParamsInfo&) = delete;
109
- GetNamespacesParamsInfo& operator=(const GetNamespacesParamsInfo&) = delete;
110
-
111
137
  public:
112
138
  Core::JSON::EnumType<ScopeType> Scope; // Returns the namespaces
113
139
  }; // class GetNamespacesParamsInfo
114
140
 
115
141
  // Method params/result classes
@@ -122,17 +148,23 @@ namespace JsonData {
122
148
  {
123
149
  Add(_T("keys"), &Keys);
124
150
  Add(_T("success"), &Success);
125
151
  }
126
152
 
127
- bool IsValid() const
128
- {
129
- return (true);
130
- }
131
-
132
153
  GetKeysResultData(const GetKeysResultData&) = delete;
154
+ GetKeysResultData(GetKeysResultData&&) noexcept = delete;
155
+
133
156
  GetKeysResultData& operator=(const GetKeysResultData&) = delete;
157
+ GetKeysResultData& operator=(GetKeysResultData&&) noexcept = delete;
158
+
159
+ ~GetKeysResultData() = default;
160
+
161
+ public:
162
+ bool IsDataValid() const
163
+ {
164
+ return ((Keys.IsSet() == true) && (Success.IsSet() == true));
165
+ }
134
166
 
135
167
  public:
136
168
  Core::JSON::ArrayType<Core::JSON::String> Keys; // Returns the keys that are stored in the specified namespace
137
169
  Core::JSON::Boolean Success; // Returns the keys that are stored in the specified namespace
138
170
  }; // class GetKeysResultData
@@ -143,17 +175,23 @@ namespace JsonData {
143
175
  : Core::JSON::Container()
144
176
  {
145
177
  Add(_T("storageLimit"), &StorageLimit);
146
178
  }
147
179
 
148
- bool IsValid() const
149
- {
150
- return (true);
151
- }
152
-
153
180
  GetNamespaceStorageLimitResultData(const GetNamespaceStorageLimitResultData&) = delete;
181
+ GetNamespaceStorageLimitResultData(GetNamespaceStorageLimitResultData&&) noexcept = delete;
182
+
154
183
  GetNamespaceStorageLimitResultData& operator=(const GetNamespaceStorageLimitResultData&) = delete;
184
+ GetNamespaceStorageLimitResultData& operator=(GetNamespaceStorageLimitResultData&&) noexcept = delete;
185
+
186
+ ~GetNamespaceStorageLimitResultData() = default;
187
+
188
+ public:
189
+ bool IsDataValid() const
190
+ {
191
+ return (StorageLimit.IsSet() == true);
192
+ }
155
193
 
156
194
  public:
157
195
  Core::JSON::DecUInt32 StorageLimit; // Returns the storage limit for a given namespace
158
196
  }; // class GetNamespaceStorageLimitResultData
159
197
 
@@ -164,17 +202,23 @@ namespace JsonData {
164
202
  {
165
203
  Add(_T("namespaces"), &Namespaces);
166
204
  Add(_T("success"), &Success);
167
205
  }
168
206
 
169
- bool IsValid() const
170
- {
171
- return (true);
172
- }
173
-
174
207
  GetNamespacesResultData(const GetNamespacesResultData&) = delete;
208
+ GetNamespacesResultData(GetNamespacesResultData&&) noexcept = delete;
209
+
175
210
  GetNamespacesResultData& operator=(const GetNamespacesResultData&) = delete;
211
+ GetNamespacesResultData& operator=(GetNamespacesResultData&&) noexcept = delete;
212
+
213
+ ~GetNamespacesResultData() = default;
214
+
215
+ public:
216
+ bool IsDataValid() const
217
+ {
218
+ return ((Namespaces.IsSet() == true) && (Success.IsSet() == true));
219
+ }
176
220
 
177
221
  public:
178
222
  Core::JSON::ArrayType<Core::JSON::String> Namespaces; // Returns the namespaces
179
223
  Core::JSON::Boolean Success; // Returns the namespaces
180
224
  }; // class GetNamespacesResultData
@@ -195,20 +239,38 @@ namespace JsonData {
195
239
  , Size(_other.Size)
196
240
  {
197
241
  _Init();
198
242
  }
199
243
 
244
+ StorageListDataElem(StorageListDataElem&& _other) noexcept
245
+ : Core::JSON::Container()
246
+ , Namespace(std::move(_other.Namespace))
247
+ , Size(std::move(_other.Size))
248
+ {
249
+ _Init();
250
+ }
251
+
200
252
  StorageListDataElem& operator=(const StorageListDataElem& _rhs)
201
253
  {
202
254
  Namespace = _rhs.Namespace;
203
255
  Size = _rhs.Size;
204
256
  return (*this);
205
257
  }
206
258
 
207
- bool IsValid() const
259
+ StorageListDataElem& operator=(StorageListDataElem&& _rhs) noexcept
208
260
  {
209
- return (true);
261
+ Namespace = std::move(_rhs.Namespace);
262
+ Size = std::move(_rhs.Size);
263
+ return (*this);
264
+ }
265
+
266
+ ~StorageListDataElem() = default;
267
+
268
+ public:
269
+ bool IsDataValid() const
270
+ {
271
+ return ((Namespace.IsSet() == true) && (Size.IsSet() == true));
210
272
  }
211
273
 
212
274
  private:
213
275
  void _Init()
214
276
  {
@@ -225,17 +287,23 @@ namespace JsonData {
225
287
  : Core::JSON::Container()
226
288
  {
227
289
  Add(_T("storageList"), &StorageList);
228
290
  }
229
291
 
230
- bool IsValid() const
231
- {
232
- return (true);
233
- }
234
-
235
292
  GetStorageSizesResultData(const GetStorageSizesResultData&) = delete;
293
+ GetStorageSizesResultData(GetStorageSizesResultData&&) noexcept = delete;
294
+
236
295
  GetStorageSizesResultData& operator=(const GetStorageSizesResultData&) = delete;
296
+ GetStorageSizesResultData& operator=(GetStorageSizesResultData&&) noexcept = delete;
297
+
298
+ ~GetStorageSizesResultData() = default;
299
+
300
+ public:
301
+ bool IsDataValid() const
302
+ {
303
+ return (StorageList.IsSet() == true);
304
+ }
237
305
 
238
306
  public:
239
307
  Core::JSON::ArrayType<GetStorageSizesResultData::StorageListDataElem> StorageList; // Returns the size occupied by each namespace
240
308
  }; // class GetStorageSizesResultData
241
309
 
@@ -247,17 +315,23 @@ namespace JsonData {
247
315
  Add(_T("value"), &Value);
248
316
  Add(_T("success"), &Success);
249
317
  Add(_T("ttl"), &Ttl);
250
318
  }
251
319
 
252
- bool IsValid() const
253
- {
254
- return (true);
255
- }
256
-
257
320
  GetValueResultData(const GetValueResultData&) = delete;
321
+ GetValueResultData(GetValueResultData&&) noexcept = delete;
322
+
258
323
  GetValueResultData& operator=(const GetValueResultData&) = delete;
324
+ GetValueResultData& operator=(GetValueResultData&&) noexcept = delete;
325
+
326
+ ~GetValueResultData() = default;
327
+
328
+ public:
329
+ bool IsDataValid() const
330
+ {
331
+ return ((Value.IsSet() == true) && (Success.IsSet() == true));
332
+ }
259
333
 
260
334
  public:
261
335
  Core::JSON::String Value; // Returns the value of a key from the specified namespace
262
336
  Core::JSON::Boolean Success; // Returns the value of a key from the specified namespace
263
337
  Core::JSON::DecUInt32 Ttl; // Returns the value of a key from the specified namespace
@@ -272,17 +346,23 @@ namespace JsonData {
272
346
  Add(_T("key"), &Key);
273
347
  Add(_T("value"), &Value);
274
348
  Add(_T("scope"), &Scope);
275
349
  }
276
350
 
277
- bool IsValid() const
278
- {
279
- return (true);
280
- }
281
-
282
351
  OnValueChangedParamsData(const OnValueChangedParamsData&) = delete;
352
+ OnValueChangedParamsData(OnValueChangedParamsData&&) noexcept = delete;
353
+
283
354
  OnValueChangedParamsData& operator=(const OnValueChangedParamsData&) = delete;
355
+ OnValueChangedParamsData& operator=(OnValueChangedParamsData&&) noexcept = delete;
356
+
357
+ ~OnValueChangedParamsData() = default;
358
+
359
+ public:
360
+ bool IsDataValid() const
361
+ {
362
+ return ((Namespace.IsSet() == true) && (Key.IsSet() == true) && (Value.IsSet() == true) && (Scope.IsSet() == true));
363
+ }
284
364
 
285
365
  public:
286
366
  Core::JSON::String Namespace; // Triggered whenever any of the values stored are changed using setValue
287
367
  Core::JSON::String Key; // Triggered whenever any of the values stored are changed using setValue
288
368
  Core::JSON::String Value; // Triggered whenever any of the values stored are changed using setValue
@@ -297,17 +377,23 @@ namespace JsonData {
297
377
  Add(_T("namespace"), &Namespace);
298
378
  Add(_T("storageLimit"), &StorageLimit);
299
379
  Add(_T("scope"), &Scope);
300
380
  }
301
381
 
302
- bool IsValid() const
303
- {
304
- return (true);
305
- }
306
-
307
382
  SetNamespaceStorageLimitParamsData(const SetNamespaceStorageLimitParamsData&) = delete;
383
+ SetNamespaceStorageLimitParamsData(SetNamespaceStorageLimitParamsData&&) noexcept = delete;
384
+
308
385
  SetNamespaceStorageLimitParamsData& operator=(const SetNamespaceStorageLimitParamsData&) = delete;
386
+ SetNamespaceStorageLimitParamsData& operator=(SetNamespaceStorageLimitParamsData&&) noexcept = delete;
387
+
388
+ ~SetNamespaceStorageLimitParamsData() = default;
389
+
390
+ public:
391
+ bool IsDataValid() const
392
+ {
393
+ return ((Namespace.IsSet() == true) && (StorageLimit.IsSet() == true));
394
+ }
309
395
 
310
396
  public:
311
397
  Core::JSON::String Namespace; // Sets the storage limit for a given namespace
312
398
  Core::JSON::DecUInt32 StorageLimit; // Sets the storage limit for a given namespace
313
399
  Core::JSON::EnumType<ScopeType> Scope; // Sets the storage limit for a given namespace
@@ -323,17 +409,23 @@ namespace JsonData {
323
409
  Add(_T("value"), &Value);
324
410
  Add(_T("scope"), &Scope);
325
411
  Add(_T("ttl"), &Ttl);
326
412
  }
327
413
 
328
- bool IsValid() const
329
- {
330
- return (true);
331
- }
332
-
333
414
  SetValueParamsData(const SetValueParamsData&) = delete;
415
+ SetValueParamsData(SetValueParamsData&&) noexcept = delete;
416
+
334
417
  SetValueParamsData& operator=(const SetValueParamsData&) = delete;
418
+ SetValueParamsData& operator=(SetValueParamsData&&) noexcept = delete;
419
+
420
+ ~SetValueParamsData() = default;
421
+
422
+ public:
423
+ bool IsDataValid() const
424
+ {
425
+ return ((Namespace.IsSet() == true) && (Key.IsSet() == true) && (Value.IsSet() == true));
426
+ }
335
427
 
336
428
  public:
337
429
  Core::JSON::String Namespace; // Sets the value of a key in the the specified namespace
338
430
  Core::JSON::String Key; // Sets the value of a key in the the specified namespace
339
431
  Core::JSON::String Value; // Sets the value of a key in the the specified namespace
@@ -341,10 +433,12 @@ namespace JsonData {
341
433
  Core::JSON::DecUInt32 Ttl; // Sets the value of a key in the the specified namespace
342
434
  }; // class SetValueParamsData
343
435
 
344
436
  } // namespace PersistentStore
345
437
 
438
+ POP_WARNING()
439
+
346
440
  } // namespace JsonData
347
441
 
348
442
  // Enum conversion handlers
349
443
  ENUM_CONVERSION_HANDLER(JsonData::PersistentStore::ScopeType)
350
444
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PlayerInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Player Info API JSON-RPC API.
1
+ // C++ types for Player Info API.
2
2
  // Generated automatically from 'PlayerInfo.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace PlayerInfo {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -31,17 +33,23 @@ namespace JsonData {
31
33
  : Core::JSON::Container()
32
34
  {
33
35
  Add(_T("value"), &Value);
34
36
  }
35
37
 
36
- bool IsValid() const
37
- {
38
- return (true);
39
- }
40
-
41
38
  DolbymodeData(const DolbymodeData&) = delete;
39
+ DolbymodeData(DolbymodeData&&) noexcept = delete;
40
+
42
41
  DolbymodeData& operator=(const DolbymodeData&) = delete;
42
+ DolbymodeData& operator=(DolbymodeData&&) noexcept = delete;
43
+
44
+ ~DolbymodeData() = default;
45
+
46
+ public:
47
+ bool IsDataValid() const
48
+ {
49
+ return (Value.IsSet() == true);
50
+ }
43
51
 
44
52
  public:
45
53
  Core::JSON::EnumType<DolbymodeData::DolbyType> Value; // Dolby output mode
46
54
  }; // class DolbymodeData
47
55
 
@@ -81,25 +89,33 @@ namespace JsonData {
81
89
  {
82
90
  Add(_T("audio"), &Audio);
83
91
  Add(_T("video"), &Video);
84
92
  }
85
93
 
86
- bool IsValid() const
87
- {
88
- return (true);
89
- }
90
-
91
94
  CodecsData(const CodecsData&) = delete;
95
+ CodecsData(CodecsData&&) noexcept = delete;
96
+
92
97
  CodecsData& operator=(const CodecsData&) = delete;
98
+ CodecsData& operator=(CodecsData&&) noexcept = delete;
99
+
100
+ ~CodecsData() = default;
101
+
102
+ public:
103
+ bool IsDataValid() const
104
+ {
105
+ return ((Audio.IsSet() == true) && (Video.IsSet() == true));
106
+ }
93
107
 
94
108
  public:
95
109
  Core::JSON::ArrayType<Core::JSON::EnumType<CodecsData::AudiocodecsType>> Audio; // Player general information
96
110
  Core::JSON::ArrayType<Core::JSON::EnumType<CodecsData::VideocodecsType>> Video; // Player general information
97
111
  }; // class CodecsData
98
112
 
99
113
  } // namespace PlayerInfo
100
114
 
115
+ POP_WARNING()
116
+
101
117
  } // namespace JsonData
102
118
 
103
119
  // Enum conversion handlers
104
120
  ENUM_CONVERSION_HANDLER(JsonData::PlayerInfo::CodecsData::AudiocodecsType)
105
121
  ENUM_CONVERSION_HANDLER(JsonData::PlayerInfo::CodecsData::VideocodecsType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_PlayerProperties.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for PlayerProperties API JSON-RPC API.
1
+ // C++ types for PlayerProperties API.
2
2
  // Generated automatically from 'IPlayerInfo.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,17 +10,21 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace PlayerProperties {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
20
22
  } // namespace PlayerProperties
21
23
 
24
+ POP_WARNING()
25
+
22
26
  } // namespace JsonData
23
27
 
24
28
  // Enum conversion handlers
25
29
  ENUM_CONVERSION_HANDLER(Exchange::IPlayerProperties::AudioCodec)
26
30
  ENUM_CONVERSION_HANDLER(Exchange::IPlayerProperties::VideoCodec)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Power.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Power API JSON-RPC API.
1
+ // C++ types for Power API.
2
2
  // Generated automatically from 'Power.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Power {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -37,25 +39,33 @@ namespace JsonData {
37
39
  {
38
40
  Add(_T("powerstate"), &Powerstate);
39
41
  Add(_T("timeout"), &Timeout);
40
42
  }
41
43
 
42
- bool IsValid() const
43
- {
44
- return (true);
45
- }
46
-
47
44
  PowerData(const PowerData&) = delete;
45
+ PowerData(PowerData&&) noexcept = delete;
46
+
48
47
  PowerData& operator=(const PowerData&) = delete;
48
+ PowerData& operator=(PowerData&&) noexcept = delete;
49
+
50
+ ~PowerData() = default;
51
+
52
+ public:
53
+ bool IsDataValid() const
54
+ {
55
+ return ((Powerstate.IsSet() == true) && (Timeout.IsSet() == true));
56
+ }
49
57
 
50
58
  public:
51
59
  Core::JSON::EnumType<StateType> Powerstate; // Power state
52
60
  Core::JSON::DecUInt32 Timeout; // Time to wait for power state change
53
61
  }; // class PowerData
54
62
 
55
63
  } // namespace Power
56
64
 
65
+ POP_WARNING()
66
+
57
67
  } // namespace JsonData
58
68
 
59
69
  // Enum conversion handlers
60
70
  ENUM_CONVERSION_HANDLER(JsonData::Power::StateType)
61
71
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Provisioning.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Provisioning API JSON-RPC API.
1
+ // C++ types for Provisioning API.
2
2
  // Generated automatically from 'Provisioning.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace Provisioning {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  {
24
26
  Add(_T("label"), &Label);
25
27
  Add(_T("index"), &Index);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  IndexParamsData(const IndexParamsData&) = delete;
31
+ IndexParamsData(IndexParamsData&&) noexcept = delete;
32
+
34
33
  IndexParamsData& operator=(const IndexParamsData&) = delete;
34
+ IndexParamsData& operator=(IndexParamsData&&) noexcept = delete;
35
+
36
+ ~IndexParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return ((Label.IsSet() == true) && (Index.IsSet() == true));
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Label; // The label name for which the index should be changed
38
46
  Core::JSON::DecUInt32 Index; // Index to be used for the key
39
47
  }; // class IndexParamsData
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  : Core::JSON::Container()
45
53
  {
46
54
  Add(_T("status"), &Status);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  ProvisioningchangeParamsData(const ProvisioningchangeParamsData&) = delete;
58
+ ProvisioningchangeParamsData(ProvisioningchangeParamsData&&) noexcept = delete;
59
+
55
60
  ProvisioningchangeParamsData& operator=(const ProvisioningchangeParamsData&) = delete;
61
+ ProvisioningchangeParamsData& operator=(ProvisioningchangeParamsData&&) noexcept = delete;
62
+
63
+ ~ProvisioningchangeParamsData() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return (Status.IsSet() == true);
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::DecUInt32 Status; // Provision status
59
73
  }; // class ProvisioningchangeParamsData
60
74
 
@@ -66,25 +80,33 @@ namespace JsonData {
66
80
  Add(_T("id"), &Id);
67
81
  Add(_T("status"), &Status);
68
82
  Add(_T("tokens"), &Tokens);
69
83
  }
70
84
 
71
- bool IsValid() const
72
- {
73
- return (true);
74
- }
75
-
76
85
  StateData(const StateData&) = delete;
86
+ StateData(StateData&&) noexcept = delete;
87
+
77
88
  StateData& operator=(const StateData&) = delete;
89
+ StateData& operator=(StateData&&) noexcept = delete;
90
+
91
+ ~StateData() = default;
92
+
93
+ public:
94
+ bool IsDataValid() const
95
+ {
96
+ return ((Id.IsSet() == true) && (Status.IsSet() == true) && (Tokens.IsSet() == true));
97
+ }
78
98
 
79
99
  public:
80
100
  Core::JSON::String Id; // Provision ID value
81
101
  Core::JSON::DecUInt32 Status; // Provision status
82
102
  Core::JSON::ArrayType<Core::JSON::String> Tokens; // List of provisioned systems
83
103
  }; // class StateData
84
104
 
85
105
  } // namespace Provisioning
86
106
 
107
+ POP_WARNING()
108
+
87
109
  } // namespace JsonData
88
110
 
89
111
  }
90
112
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_RemoteControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Remote Control API JSON-RPC API.
1
+ // C++ types for Remote Control API.
2
2
  // Generated automatically from 'RemoteControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace RemoteControl {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -37,17 +39,23 @@ namespace JsonData {
37
39
  {
38
40
  Add(_T("device"), &Device);
39
41
  Add(_T("code"), &Code);
40
42
  }
41
43
 
42
- bool IsValid() const
43
- {
44
- return (true);
45
- }
46
-
47
44
  KeyobjInfo(const KeyobjInfo&) = delete;
45
+ KeyobjInfo(KeyobjInfo&&) noexcept = delete;
46
+
48
47
  KeyobjInfo& operator=(const KeyobjInfo&) = delete;
48
+ KeyobjInfo& operator=(KeyobjInfo&&) noexcept = delete;
49
+
50
+ ~KeyobjInfo() = default;
51
+
52
+ public:
53
+ bool IsDataValid() const
54
+ {
55
+ return ((Device.IsSet() == true) && (Code.IsSet() == true));
56
+ }
49
57
 
50
58
  public:
51
59
  Core::JSON::String Device; // Device name
52
60
  Core::JSON::DecUInt32 Code; // Key code
53
61
  }; // class KeyobjInfo
@@ -58,17 +66,23 @@ namespace JsonData {
58
66
  : Core::JSON::Container()
59
67
  {
60
68
  Add(_T("device"), &Device);
61
69
  }
62
70
 
63
- bool IsValid() const
64
- {
65
- return (true);
66
- }
67
-
68
71
  LoadParamsInfo(const LoadParamsInfo&) = delete;
72
+ LoadParamsInfo(LoadParamsInfo&&) noexcept = delete;
73
+
69
74
  LoadParamsInfo& operator=(const LoadParamsInfo&) = delete;
75
+ LoadParamsInfo& operator=(LoadParamsInfo&&) noexcept = delete;
76
+
77
+ ~LoadParamsInfo() = default;
78
+
79
+ public:
80
+ bool IsDataValid() const
81
+ {
82
+ return (Device.IsSet() == true);
83
+ }
70
84
 
71
85
  public:
72
86
  Core::JSON::String Device; // Device name
73
87
  }; // class LoadParamsInfo
74
88
 
@@ -81,17 +95,23 @@ namespace JsonData {
81
95
  Add(_T("code"), &Code);
82
96
  Add(_T("key"), &Key);
83
97
  Add(_T("modifiers"), &Modifiers);
84
98
  }
85
99
 
86
- bool IsValid() const
87
- {
88
- return (true);
89
- }
90
-
91
100
  RcobjInfo(const RcobjInfo&) = delete;
101
+ RcobjInfo(RcobjInfo&&) noexcept = delete;
102
+
92
103
  RcobjInfo& operator=(const RcobjInfo&) = delete;
104
+ RcobjInfo& operator=(RcobjInfo&&) noexcept = delete;
105
+
106
+ ~RcobjInfo() = default;
107
+
108
+ public:
109
+ bool IsDataValid() const
110
+ {
111
+ return ((Device.IsSet() == true) && (Code.IsSet() == true) && (Key.IsSet() == true));
112
+ }
93
113
 
94
114
  public:
95
115
  Core::JSON::String Device; // Device name
96
116
  Core::JSON::DecUInt32 Code; // Key code
97
117
  Core::JSON::DecUInt16 Key; // Key ingest value
@@ -107,17 +127,23 @@ namespace JsonData {
107
127
  : Core::JSON::Container()
108
128
  {
109
129
  Add(_T("metadata"), &Metadata);
110
130
  }
111
131
 
112
- bool IsValid() const
113
- {
114
- return (true);
115
- }
116
-
117
132
  DeviceData(const DeviceData&) = delete;
133
+ DeviceData(DeviceData&&) noexcept = delete;
134
+
118
135
  DeviceData& operator=(const DeviceData&) = delete;
136
+ DeviceData& operator=(DeviceData&&) noexcept = delete;
137
+
138
+ ~DeviceData() = default;
139
+
140
+ public:
141
+ bool IsDataValid() const
142
+ {
143
+ return (Metadata.IsSet() == true);
144
+ }
119
145
 
120
146
  public:
121
147
  Core::JSON::String Metadata; // Device metadata
122
148
  }; // class DeviceData
123
149
 
@@ -129,17 +155,23 @@ namespace JsonData {
129
155
  Add(_T("code"), &Code);
130
156
  Add(_T("key"), &Key);
131
157
  Add(_T("modifiers"), &Modifiers);
132
158
  }
133
159
 
134
- bool IsValid() const
135
- {
136
- return (true);
137
- }
138
-
139
160
  KeyResultData(const KeyResultData&) = delete;
161
+ KeyResultData(KeyResultData&&) noexcept = delete;
162
+
140
163
  KeyResultData& operator=(const KeyResultData&) = delete;
164
+ KeyResultData& operator=(KeyResultData&&) noexcept = delete;
165
+
166
+ ~KeyResultData() = default;
167
+
168
+ public:
169
+ bool IsDataValid() const
170
+ {
171
+ return ((Code.IsSet() == true) && (Key.IsSet() == true));
172
+ }
141
173
 
142
174
  public:
143
175
  Core::JSON::DecUInt32 Code; // Key code
144
176
  Core::JSON::DecUInt16 Key; // Key ingest value
145
177
  Core::JSON::ArrayType<Core::JSON::EnumType<ModifiersType>> Modifiers; // List of key modifiers
@@ -151,17 +183,23 @@ namespace JsonData {
151
183
  : Core::JSON::Container()
152
184
  {
153
185
  Add(_T("pressed"), &Pressed);
154
186
  }
155
187
 
156
- bool IsValid() const
157
- {
158
- return (true);
159
- }
160
-
161
188
  KeypressedParamsData(const KeypressedParamsData&) = delete;
189
+ KeypressedParamsData(KeypressedParamsData&&) noexcept = delete;
190
+
162
191
  KeypressedParamsData& operator=(const KeypressedParamsData&) = delete;
192
+ KeypressedParamsData& operator=(KeypressedParamsData&&) noexcept = delete;
193
+
194
+ ~KeypressedParamsData() = default;
195
+
196
+ public:
197
+ bool IsDataValid() const
198
+ {
199
+ return (Pressed.IsSet() == true);
200
+ }
163
201
 
164
202
  public:
165
203
  Core::JSON::Boolean Pressed; // Denotes if the key was pressed (true) or released (false)
166
204
  }; // class KeypressedParamsData
167
205
 
@@ -172,25 +210,33 @@ namespace JsonData {
172
210
  {
173
211
  Add(_T("device"), &Device);
174
212
  Add(_T("bindid"), &Bindid);
175
213
  }
176
214
 
177
- bool IsValid() const
178
- {
179
- return (true);
180
- }
181
-
182
215
  UnpairParamsData(const UnpairParamsData&) = delete;
216
+ UnpairParamsData(UnpairParamsData&&) noexcept = delete;
217
+
183
218
  UnpairParamsData& operator=(const UnpairParamsData&) = delete;
219
+ UnpairParamsData& operator=(UnpairParamsData&&) noexcept = delete;
220
+
221
+ ~UnpairParamsData() = default;
222
+
223
+ public:
224
+ bool IsDataValid() const
225
+ {
226
+ return ((Device.IsSet() == true) && (Bindid.IsSet() == true));
227
+ }
184
228
 
185
229
  public:
186
230
  Core::JSON::String Device; // Device name
187
231
  Core::JSON::String Bindid; // Binding ID
188
232
  }; // class UnpairParamsData
189
233
 
190
234
  } // namespace RemoteControl
191
235
 
236
+ POP_WARNING()
237
+
192
238
  } // namespace JsonData
193
239
 
194
240
  // Enum conversion handlers
195
241
  ENUM_CONVERSION_HANDLER(JsonData::RemoteControl::ModifiersType)
196
242
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ScriptEngine.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for ScriptEngine API JSON-RPC API.
1
+ // C++ types for ScriptEngine API.
2
2
  // Generated automatically from 'IScriptEngine.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace ScriptEngine {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("url"), &URL);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  URLChangedParamsData(const URLChangedParamsData&) = delete;
31
+ URLChangedParamsData(URLChangedParamsData&&) noexcept = delete;
32
+
34
33
  URLChangedParamsData& operator=(const URLChangedParamsData&) = delete;
34
+ URLChangedParamsData& operator=(URLChangedParamsData&&) noexcept = delete;
35
+
36
+ ~URLChangedParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (URL.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String URL;
38
46
  }; // class URLChangedParamsData
39
47
 
@@ -43,23 +51,31 @@ namespace JsonData {
43
51
  : Core::JSON::Container()
44
52
  {
45
53
  Add(_T("value"), &Value);
46
54
  }
47
55
 
48
- bool IsValid() const
49
- {
50
- return (true);
51
- }
52
-
53
56
  URLData(const URLData&) = delete;
57
+ URLData(URLData&&) noexcept = delete;
58
+
54
59
  URLData& operator=(const URLData&) = delete;
60
+ URLData& operator=(URLData&&) noexcept = delete;
61
+
62
+ ~URLData() = default;
63
+
64
+ public:
65
+ bool IsDataValid() const
66
+ {
67
+ return (Value.IsSet() == true);
68
+ }
55
69
 
56
70
  public:
57
71
  Core::JSON::String Value; // Script to be loaded into the engine and to be executed.
58
72
  }; // class URLData
59
73
 
60
74
  } // namespace ScriptEngine
61
75
 
76
+ POP_WARNING()
77
+
62
78
  } // namespace JsonData
63
79
 
64
80
  }
65
81
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SecureShellServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for SecureShell Server API JSON-RPC API.
1
+ // C++ types for SecureShell Server API.
2
2
  // Generated automatically from 'SecureShellServer.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace SecureShellServer {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("clientpid"), &Clientpid);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  Close_client_sessionParamsData(const Close_client_sessionParamsData&) = delete;
30
+ Close_client_sessionParamsData(Close_client_sessionParamsData&&) noexcept = delete;
31
+
33
32
  Close_client_sessionParamsData& operator=(const Close_client_sessionParamsData&) = delete;
33
+ Close_client_sessionParamsData& operator=(Close_client_sessionParamsData&&) noexcept = delete;
34
+
35
+ ~Close_client_sessionParamsData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Clientpid.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Clientpid; // SSH client process id
37
45
  }; // class Close_client_sessionParamsData
38
46
 
@@ -51,21 +59,41 @@ namespace JsonData {
51
59
  , Timestamp(_other.Timestamp)
52
60
  {
53
61
  _Init();
54
62
  }
55
63
 
64
+ Get_active_sessions_infoResultDataElem(Get_active_sessions_infoResultDataElem&& _other) noexcept
65
+ : Core::JSON::Container()
66
+ , Pid(std::move(_other.Pid))
67
+ , Ipaddress(std::move(_other.Ipaddress))
68
+ , Timestamp(std::move(_other.Timestamp))
69
+ {
70
+ _Init();
71
+ }
72
+
56
73
  Get_active_sessions_infoResultDataElem& operator=(const Get_active_sessions_infoResultDataElem& _rhs)
57
74
  {
58
75
  Pid = _rhs.Pid;
59
76
  Ipaddress = _rhs.Ipaddress;
60
77
  Timestamp = _rhs.Timestamp;
61
78
  return (*this);
62
79
  }
63
80
 
64
- bool IsValid() const
81
+ Get_active_sessions_infoResultDataElem& operator=(Get_active_sessions_infoResultDataElem&& _rhs) noexcept
65
82
  {
66
- return (true);
83
+ Pid = std::move(_rhs.Pid);
84
+ Ipaddress = std::move(_rhs.Ipaddress);
85
+ Timestamp = std::move(_rhs.Timestamp);
86
+ return (*this);
87
+ }
88
+
89
+ ~Get_active_sessions_infoResultDataElem() = default;
90
+
91
+ public:
92
+ bool IsDataValid() const
93
+ {
94
+ return ((Pid.IsSet() == true) && (Ipaddress.IsSet() == true) && (Timestamp.IsSet() == true));
67
95
  }
68
96
 
69
97
  private:
70
98
  void _Init()
71
99
  {
@@ -80,9 +108,11 @@ namespace JsonData {
80
108
  Core::JSON::String Timestamp; // SSH client connected at this timestamp
81
109
  }; // class Get_active_sessions_infoResultDataElem
82
110
 
83
111
  } // namespace SecureShellServer
84
112
 
113
+ POP_WARNING()
114
+
85
115
  } // namespace JsonData
86
116
 
87
117
  }
88
118
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SecurityAgent.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Security Agent API JSON-RPC API.
1
+ // C++ types for Security Agent API.
2
2
  // Generated automatically from 'SecurityAgent.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace SecurityAgent {
15
17
 
16
18
  // Common classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("token"), &Token);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  CreatetokenResultInfo(const CreatetokenResultInfo&) = delete;
30
+ CreatetokenResultInfo(CreatetokenResultInfo&&) noexcept = delete;
31
+
33
32
  CreatetokenResultInfo& operator=(const CreatetokenResultInfo&) = delete;
33
+ CreatetokenResultInfo& operator=(CreatetokenResultInfo&&) noexcept = delete;
34
+
35
+ ~CreatetokenResultInfo() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Token.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Token; // Signed JsonWeb token
37
45
  }; // class CreatetokenResultInfo
38
46
 
@@ -47,17 +55,23 @@ namespace JsonData {
47
55
  Add(_T("url"), &Url);
48
56
  Add(_T("user"), &User);
49
57
  Add(_T("hash"), &Hash);
50
58
  }
51
59
 
52
- bool IsValid() const
53
- {
54
- return (true);
55
- }
56
-
57
60
  CreatetokenParamsData(const CreatetokenParamsData&) = delete;
61
+ CreatetokenParamsData(CreatetokenParamsData&&) noexcept = delete;
62
+
58
63
  CreatetokenParamsData& operator=(const CreatetokenParamsData&) = delete;
64
+ CreatetokenParamsData& operator=(CreatetokenParamsData&&) noexcept = delete;
65
+
66
+ ~CreatetokenParamsData() = default;
67
+
68
+ public:
69
+ bool IsDataValid() const
70
+ {
71
+ return ((Url.IsSet() == true) && (User.IsSet() == true) && (Hash.IsSet() == true));
72
+ }
59
73
 
60
74
  public:
61
75
  Core::JSON::String Url; // Url of application origin
62
76
  Core::JSON::String User; // Username
63
77
  Core::JSON::String Hash; // Random hash
@@ -69,23 +83,31 @@ namespace JsonData {
69
83
  : Core::JSON::Container()
70
84
  {
71
85
  Add(_T("valid"), &Valid);
72
86
  }
73
87
 
74
- bool IsValid() const
75
- {
76
- return (true);
77
- }
78
-
79
88
  ValidateResultData(const ValidateResultData&) = delete;
89
+ ValidateResultData(ValidateResultData&&) noexcept = delete;
90
+
80
91
  ValidateResultData& operator=(const ValidateResultData&) = delete;
92
+ ValidateResultData& operator=(ValidateResultData&&) noexcept = delete;
93
+
94
+ ~ValidateResultData() = default;
95
+
96
+ public:
97
+ bool IsDataValid() const
98
+ {
99
+ return (Valid.IsSet() == true);
100
+ }
81
101
 
82
102
  public:
83
103
  Core::JSON::Boolean Valid; // Tells whether token is signature is correct
84
104
  }; // class ValidateResultData
85
105
 
86
106
  } // namespace SecurityAgent
87
107
 
108
+ POP_WARNING()
109
+
88
110
  } // namespace JsonData
89
111
 
90
112
  }
91
113
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_StateControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for StateControl API JSON-RPC API.
1
+ // C++ types for StateControl API.
2
2
  // Generated automatically from 'StateControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace StateControl {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -32,24 +34,32 @@ namespace JsonData {
32
34
  : Core::JSON::Container()
33
35
  {
34
36
  Add(_T("suspended"), &Suspended);
35
37
  }
36
38
 
37
- bool IsValid() const
38
- {
39
- return (true);
40
- }
41
-
42
39
  StatechangeParamsData(const StatechangeParamsData&) = delete;
40
+ StatechangeParamsData(StatechangeParamsData&&) noexcept = delete;
41
+
43
42
  StatechangeParamsData& operator=(const StatechangeParamsData&) = delete;
43
+ StatechangeParamsData& operator=(StatechangeParamsData&&) noexcept = delete;
44
+
45
+ ~StatechangeParamsData() = default;
46
+
47
+ public:
48
+ bool IsDataValid() const
49
+ {
50
+ return (Suspended.IsSet() == true);
51
+ }
44
52
 
45
53
  public:
46
54
  Core::JSON::Boolean Suspended; // Determines if the service has entered suspended state (true) or resumed state (false)
47
55
  }; // class StatechangeParamsData
48
56
 
49
57
  } // namespace StateControl
50
58
 
59
+ POP_WARNING()
60
+
51
61
  } // namespace JsonData
52
62
 
53
63
  // Enum conversion handlers
54
64
  ENUM_CONVERSION_HANDLER(JsonData::StateControl::StateType)
55
65
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_Streamer.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Streamer API JSON-RPC API.
1
+ // C++ types for Streamer API.
2
2
  // Generated automatically from 'Streamer.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace Streamer {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -58,17 +60,23 @@ namespace JsonData {
58
60
  : Core::JSON::Container()
59
61
  {
60
62
  Add(_T("id"), &Id);
61
63
  }
62
64
 
63
- bool IsValid() const
64
- {
65
- return (true);
66
- }
67
-
68
65
  IdInfo(const IdInfo&) = delete;
66
+ IdInfo(IdInfo&&) noexcept = delete;
67
+
69
68
  IdInfo& operator=(const IdInfo&) = delete;
69
+ IdInfo& operator=(IdInfo&&) noexcept = delete;
70
+
71
+ ~IdInfo() = default;
72
+
73
+ public:
74
+ bool IsDataValid() const
75
+ {
76
+ return (Id.IsSet() == true);
77
+ }
70
78
 
71
79
  public:
72
80
  Core::JSON::DecUInt8 Id; // Stream ID
73
81
  }; // class IdInfo
74
82
 
@@ -78,17 +86,23 @@ namespace JsonData {
78
86
  : Core::JSON::Container()
79
87
  {
80
88
  Add(_T("code"), &Code);
81
89
  }
82
90
 
83
- bool IsValid() const
84
- {
85
- return (true);
86
- }
87
-
88
91
  StreamParamsInfo(const StreamParamsInfo&) = delete;
92
+ StreamParamsInfo(StreamParamsInfo&&) noexcept = delete;
93
+
89
94
  StreamParamsInfo& operator=(const StreamParamsInfo&) = delete;
95
+ StreamParamsInfo& operator=(StreamParamsInfo&&) noexcept = delete;
96
+
97
+ ~StreamParamsInfo() = default;
98
+
99
+ public:
100
+ bool IsDataValid() const
101
+ {
102
+ return (Code.IsSet() == true);
103
+ }
90
104
 
91
105
  public:
92
106
  Core::JSON::DecUInt32 Code; // Implementation-specific incident code
93
107
  }; // class StreamParamsInfo
94
108
 
@@ -101,17 +115,23 @@ namespace JsonData {
101
115
  : Core::JSON::Container()
102
116
  {
103
117
  Add(_T("type"), &Type);
104
118
  }
105
119
 
106
- bool IsValid() const
107
- {
108
- return (true);
109
- }
110
-
111
120
  CreateParamsData(const CreateParamsData&) = delete;
121
+ CreateParamsData(CreateParamsData&&) noexcept = delete;
122
+
112
123
  CreateParamsData& operator=(const CreateParamsData&) = delete;
124
+ CreateParamsData& operator=(CreateParamsData&&) noexcept = delete;
125
+
126
+ ~CreateParamsData() = default;
127
+
128
+ public:
129
+ bool IsDataValid() const
130
+ {
131
+ return (Type.IsSet() == true);
132
+ }
113
133
 
114
134
  public:
115
135
  Core::JSON::EnumType<StreamType> Type; // Stream type
116
136
  }; // class CreateParamsData
117
137
 
@@ -137,19 +157,35 @@ namespace JsonData {
137
157
  , Type(_other.Type)
138
158
  {
139
159
  _Init();
140
160
  }
141
161
 
162
+ StreamelementData(StreamelementData&& _other) noexcept
163
+ : Core::JSON::Container()
164
+ , Type(std::move(_other.Type))
165
+ {
166
+ _Init();
167
+ }
168
+
142
169
  StreamelementData& operator=(const StreamelementData& _rhs)
143
170
  {
144
171
  Type = _rhs.Type;
145
172
  return (*this);
146
173
  }
147
174
 
148
- bool IsValid() const
175
+ StreamelementData& operator=(StreamelementData&& _rhs) noexcept
176
+ {
177
+ Type = std::move(_rhs.Type);
178
+ return (*this);
179
+ }
180
+
181
+ ~StreamelementData() = default;
182
+
183
+ public:
184
+ bool IsDataValid() const
149
185
  {
150
- return (true);
186
+ return (Type.IsSet() == true);
151
187
  }
152
188
 
153
189
  private:
154
190
  void _Init()
155
191
  {
@@ -167,17 +203,23 @@ namespace JsonData {
167
203
  {
168
204
  Add(_T("id"), &Id);
169
205
  Add(_T("location"), &Location);
170
206
  }
171
207
 
172
- bool IsValid() const
173
- {
174
- return (true);
175
- }
176
-
177
208
  LoadParamsData(const LoadParamsData&) = delete;
209
+ LoadParamsData(LoadParamsData&&) noexcept = delete;
210
+
178
211
  LoadParamsData& operator=(const LoadParamsData&) = delete;
212
+ LoadParamsData& operator=(LoadParamsData&&) noexcept = delete;
213
+
214
+ ~LoadParamsData() = default;
215
+
216
+ public:
217
+ bool IsDataValid() const
218
+ {
219
+ return ((Id.IsSet() == true) && (Location.IsSet() == true));
220
+ }
179
221
 
180
222
  public:
181
223
  Core::JSON::DecUInt8 Id; // Stream ID
182
224
  Core::JSON::String Location; // Location of the source to load
183
225
  }; // class LoadParamsData
@@ -188,17 +230,23 @@ namespace JsonData {
188
230
  : Core::JSON::Container()
189
231
  {
190
232
  Add(_T("state"), &State);
191
233
  }
192
234
 
193
- bool IsValid() const
194
- {
195
- return (true);
196
- }
197
-
198
235
  StatechangeParamsData(const StatechangeParamsData&) = delete;
236
+ StatechangeParamsData(StatechangeParamsData&&) noexcept = delete;
237
+
199
238
  StatechangeParamsData& operator=(const StatechangeParamsData&) = delete;
239
+ StatechangeParamsData& operator=(StatechangeParamsData&&) noexcept = delete;
240
+
241
+ ~StatechangeParamsData() = default;
242
+
243
+ public:
244
+ bool IsDataValid() const
245
+ {
246
+ return (State.IsSet() == true);
247
+ }
200
248
 
201
249
  public:
202
250
  Core::JSON::EnumType<StateType> State; // Stream state
203
251
  }; // class StatechangeParamsData
204
252
 
@@ -208,17 +256,23 @@ namespace JsonData {
208
256
  : Core::JSON::Container()
209
257
  {
210
258
  Add(_T("time"), &Time);
211
259
  }
212
260
 
213
- bool IsValid() const
214
- {
215
- return (true);
216
- }
217
-
218
261
  TimeupdateParamsData(const TimeupdateParamsData&) = delete;
262
+ TimeupdateParamsData(TimeupdateParamsData&&) noexcept = delete;
263
+
219
264
  TimeupdateParamsData& operator=(const TimeupdateParamsData&) = delete;
265
+ TimeupdateParamsData& operator=(TimeupdateParamsData&&) noexcept = delete;
266
+
267
+ ~TimeupdateParamsData() = default;
268
+
269
+ public:
270
+ bool IsDataValid() const
271
+ {
272
+ return (Time.IsSet() == true);
273
+ }
220
274
 
221
275
  public:
222
276
  Core::JSON::DecUInt64 Time; // Stream position in miliseconds
223
277
  }; // class TimeupdateParamsData
224
278
 
@@ -231,27 +285,35 @@ namespace JsonData {
231
285
  Add(_T("y"), &Y);
232
286
  Add(_T("width"), &Width);
233
287
  Add(_T("height"), &Height);
234
288
  }
235
289
 
236
- bool IsValid() const
237
- {
238
- return (true);
239
- }
240
-
241
290
  WindowData(const WindowData&) = delete;
291
+ WindowData(WindowData&&) noexcept = delete;
292
+
242
293
  WindowData& operator=(const WindowData&) = delete;
294
+ WindowData& operator=(WindowData&&) noexcept = delete;
295
+
296
+ ~WindowData() = default;
297
+
298
+ public:
299
+ bool IsDataValid() const
300
+ {
301
+ return ((X.IsSet() == true) && (Y.IsSet() == true) && (Width.IsSet() == true) && (Height.IsSet() == true));
302
+ }
243
303
 
244
304
  public:
245
305
  Core::JSON::DecUInt32 X; // Horizontal position of the window (in pixels)
246
306
  Core::JSON::DecUInt32 Y; // Vertical position of the window (in pixels)
247
307
  Core::JSON::DecUInt32 Width; // Width of the window (in pixels)
248
308
  Core::JSON::DecUInt32 Height; // Height of the window (in pixels)
249
309
  }; // class WindowData
250
310
 
251
311
  } // namespace Streamer
252
312
 
313
+ POP_WARNING()
314
+
253
315
  } // namespace JsonData
254
316
 
255
317
  // Enum conversion handlers
256
318
  ENUM_CONVERSION_HANDLER(JsonData::Streamer::StreamType)
257
319
  ENUM_CONVERSION_HANDLER(JsonData::Streamer::DrmType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SubsystemControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Subsystem Control API JSON-RPC API.
1
+ // C++ types for Subsystem Control API.
2
2
  // Generated automatically from 'SubsystemControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace SubsystemControl {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -46,25 +48,33 @@ namespace JsonData {
46
48
  {
47
49
  Add(_T("system"), &System);
48
50
  Add(_T("configuration"), &Configuration);
49
51
  }
50
52
 
51
- bool IsValid() const
52
- {
53
- return (true);
54
- }
55
-
56
53
  ActivateParamsData(const ActivateParamsData&) = delete;
54
+ ActivateParamsData(ActivateParamsData&&) noexcept = delete;
55
+
57
56
  ActivateParamsData& operator=(const ActivateParamsData&) = delete;
57
+ ActivateParamsData& operator=(ActivateParamsData&&) noexcept = delete;
58
+
59
+ ~ActivateParamsData() = default;
60
+
61
+ public:
62
+ bool IsDataValid() const
63
+ {
64
+ return (System.IsSet() == true);
65
+ }
58
66
 
59
67
  public:
60
68
  Core::JSON::EnumType<SubsystemType> System; // Subsystem to activate
61
69
  Core::JSON::String Configuration; // A JSON string that holds the information applicable to the subsystem to be activated
62
70
  }; // class ActivateParamsData
63
71
 
64
72
  } // namespace SubsystemControl
65
73
 
74
+ POP_WARNING()
75
+
66
76
  } // namespace JsonData
67
77
 
68
78
  // Enum conversion handlers
69
79
  ENUM_CONVERSION_HANDLER(JsonData::SubsystemControl::SubsystemType)
70
80
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_SystemCommands.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for System Commands API JSON-RPC API.
1
+ // C++ types for System Commands API.
2
2
  // Generated automatically from 'SystemCommands.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace SystemCommands {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,23 +24,31 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("device"), &Device);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  UsbresetParamsData(const UsbresetParamsData&) = delete;
30
+ UsbresetParamsData(UsbresetParamsData&&) noexcept = delete;
31
+
33
32
  UsbresetParamsData& operator=(const UsbresetParamsData&) = delete;
33
+ UsbresetParamsData& operator=(UsbresetParamsData&&) noexcept = delete;
34
+
35
+ ~UsbresetParamsData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Device.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Device; // USB device to reset
37
45
  }; // class UsbresetParamsData
38
46
 
39
47
  } // namespace SystemCommands
40
48
 
49
+ POP_WARNING()
50
+
41
51
  } // namespace JsonData
42
52
 
43
53
  }
44
54
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TestController.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Test Controller API JSON-RPC API.
1
+ // C++ types for Test Controller API.
2
2
  // Generated automatically from 'TestController.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace TestController {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("description"), &Description);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  DescriptionData(const DescriptionData&) = delete;
30
+ DescriptionData(DescriptionData&&) noexcept = delete;
31
+
33
32
  DescriptionData& operator=(const DescriptionData&) = delete;
33
+ DescriptionData& operator=(DescriptionData&&) noexcept = delete;
34
+
35
+ ~DescriptionData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Description.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Description; // Test description
37
45
  }; // class DescriptionData
38
46
 
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  Add(_T("category"), &Category);
45
53
  Add(_T("test"), &Test);
46
54
  Add(_T("args"), &Args);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  RunParamsData(const RunParamsData&) = delete;
58
+ RunParamsData(RunParamsData&&) noexcept = delete;
59
+
55
60
  RunParamsData& operator=(const RunParamsData&) = delete;
61
+ RunParamsData& operator=(RunParamsData&&) noexcept = delete;
62
+
63
+ ~RunParamsData() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return ((Category.IsSet() == true) && (Test.IsSet() == true) && (Args.IsSet() == true));
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::String Category; // Test category name, if omitted: all tests are executed
59
73
  Core::JSON::String Test; // Test name, if omitted: all tests of category are executed
60
74
  Core::JSON::String Args; // The test arguments in JSON format
@@ -74,20 +88,38 @@ namespace JsonData {
74
88
  , Status(_other.Status)
75
89
  {
76
90
  _Init();
77
91
  }
78
92
 
93
+ RunResultDataElem(RunResultDataElem&& _other) noexcept
94
+ : Core::JSON::Container()
95
+ , Test(std::move(_other.Test))
96
+ , Status(std::move(_other.Status))
97
+ {
98
+ _Init();
99
+ }
100
+
79
101
  RunResultDataElem& operator=(const RunResultDataElem& _rhs)
80
102
  {
81
103
  Test = _rhs.Test;
82
104
  Status = _rhs.Status;
83
105
  return (*this);
84
106
  }
85
107
 
86
- bool IsValid() const
108
+ RunResultDataElem& operator=(RunResultDataElem&& _rhs) noexcept
87
109
  {
88
- return (true);
110
+ Test = std::move(_rhs.Test);
111
+ Status = std::move(_rhs.Status);
112
+ return (*this);
113
+ }
114
+
115
+ ~RunResultDataElem() = default;
116
+
117
+ public:
118
+ bool IsDataValid() const
119
+ {
120
+ return ((Test.IsSet() == true) && (Status.IsSet() == true));
89
121
  }
90
122
 
91
123
  private:
92
124
  void _Init()
93
125
  {
@@ -100,9 +132,11 @@ namespace JsonData {
100
132
  Core::JSON::String Status; // Test status
101
133
  }; // class RunResultDataElem
102
134
 
103
135
  } // namespace TestController
104
136
 
137
+ POP_WARNING()
138
+
105
139
  } // namespace JsonData
106
140
 
107
141
  }
108
142
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TestUtility.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Test Utility API JSON-RPC API.
1
+ // C++ types for Test Utility API.
2
2
  // Generated automatically from 'TestUtility.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace TestUtility {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -44,21 +46,41 @@ namespace JsonData {
44
46
  , Comment(_other.Comment)
45
47
  {
46
48
  _Init();
47
49
  }
48
50
 
51
+ InputInfo(InputInfo&& _other) noexcept
52
+ : Core::JSON::Container()
53
+ , Name(std::move(_other.Name))
54
+ , Type(std::move(_other.Type))
55
+ , Comment(std::move(_other.Comment))
56
+ {
57
+ _Init();
58
+ }
59
+
49
60
  InputInfo& operator=(const InputInfo& _rhs)
50
61
  {
51
62
  Name = _rhs.Name;
52
63
  Type = _rhs.Type;
53
64
  Comment = _rhs.Comment;
54
65
  return (*this);
55
66
  }
56
67
 
57
- bool IsValid() const
68
+ InputInfo& operator=(InputInfo&& _rhs) noexcept
58
69
  {
59
- return (true);
70
+ Name = std::move(_rhs.Name);
71
+ Type = std::move(_rhs.Type);
72
+ Comment = std::move(_rhs.Comment);
73
+ return (*this);
74
+ }
75
+
76
+ ~InputInfo() = default;
77
+
78
+ public:
79
+ bool IsDataValid() const
80
+ {
81
+ return ((Name.IsSet() == true) && (Type.IsSet() == true) && (Comment.IsSet() == true));
60
82
  }
61
83
 
62
84
  private:
63
85
  void _Init()
64
86
  {
@@ -82,17 +104,23 @@ namespace JsonData {
82
104
  : Core::JSON::Container()
83
105
  {
84
106
  Add(_T("description"), &Description);
85
107
  }
86
108
 
87
- bool IsValid() const
88
- {
89
- return (true);
90
- }
91
-
92
109
  DescriptionData(const DescriptionData&) = delete;
110
+ DescriptionData(DescriptionData&&) noexcept = delete;
111
+
93
112
  DescriptionData& operator=(const DescriptionData&) = delete;
113
+ DescriptionData& operator=(DescriptionData&&) noexcept = delete;
114
+
115
+ ~DescriptionData() = default;
116
+
117
+ public:
118
+ bool IsDataValid() const
119
+ {
120
+ return (Description.IsSet() == true);
121
+ }
94
122
 
95
123
  public:
96
124
  Core::JSON::String Description; // Test command description
97
125
  }; // class DescriptionData
98
126
 
@@ -103,17 +131,23 @@ namespace JsonData {
103
131
  {
104
132
  Add(_T("input"), &Input);
105
133
  Add(_T("output"), &Output);
106
134
  }
107
135
 
108
- bool IsValid() const
109
- {
110
- return (true);
111
- }
112
-
113
136
  ParametersData(const ParametersData&) = delete;
137
+ ParametersData(ParametersData&&) noexcept = delete;
138
+
114
139
  ParametersData& operator=(const ParametersData&) = delete;
140
+ ParametersData& operator=(ParametersData&&) noexcept = delete;
141
+
142
+ ~ParametersData() = default;
143
+
144
+ public:
145
+ bool IsDataValid() const
146
+ {
147
+ return ((Output.IsSet() == true) && (Output.IsDataValid() == true));
148
+ }
115
149
 
116
150
  public:
117
151
  Core::JSON::ArrayType<InputInfo> Input;
118
152
  InputInfo Output;
119
153
  }; // class ParametersData
@@ -126,17 +160,23 @@ namespace JsonData {
126
160
  Add(_T("command"), &Command);
127
161
  Add(_T("delay"), &Delay);
128
162
  Add(_T("count"), &Count);
129
163
  }
130
164
 
131
- bool IsValid() const
132
- {
133
- return (true);
134
- }
135
-
136
165
  RuncrashParamsData(const RuncrashParamsData&) = delete;
166
+ RuncrashParamsData(RuncrashParamsData&&) noexcept = delete;
167
+
137
168
  RuncrashParamsData& operator=(const RuncrashParamsData&) = delete;
169
+ RuncrashParamsData& operator=(RuncrashParamsData&&) noexcept = delete;
170
+
171
+ ~RuncrashParamsData() = default;
172
+
173
+ public:
174
+ bool IsDataValid() const
175
+ {
176
+ return (Command.IsSet() == true);
177
+ }
138
178
 
139
179
  public:
140
180
  Core::JSON::String Command; // Test command name
141
181
  Core::JSON::DecUInt8 Delay; // Delay (in seconds) before the crash attempt (applicable for *Crash* command)
142
182
  Core::JSON::DecUInt8 Count; // How many times a Crash command will be executed consecutively (applicable for *CrashNTimes* command)
@@ -149,17 +189,23 @@ namespace JsonData {
149
189
  {
150
190
  Add(_T("command"), &Command);
151
191
  Add(_T("size"), &Size);
152
192
  }
153
193
 
154
- bool IsValid() const
155
- {
156
- return (true);
157
- }
158
-
159
194
  RunmemoryParamsData(const RunmemoryParamsData&) = delete;
195
+ RunmemoryParamsData(RunmemoryParamsData&&) noexcept = delete;
196
+
160
197
  RunmemoryParamsData& operator=(const RunmemoryParamsData&) = delete;
198
+ RunmemoryParamsData& operator=(RunmemoryParamsData&&) noexcept = delete;
199
+
200
+ ~RunmemoryParamsData() = default;
201
+
202
+ public:
203
+ bool IsDataValid() const
204
+ {
205
+ return (Command.IsSet() == true);
206
+ }
161
207
 
162
208
  public:
163
209
  Core::JSON::String Command; // Test command name
164
210
  Core::JSON::DecUInt32 Size; // The amount of memory in KB for allocation (applicable for *Malloc* commands)
165
211
  }; // class RunmemoryParamsData
@@ -172,26 +218,34 @@ namespace JsonData {
172
218
  Add(_T("allocated"), &Allocated);
173
219
  Add(_T("size"), &Size);
174
220
  Add(_T("resident"), &Resident);
175
221
  }
176
222
 
177
- bool IsValid() const
178
- {
179
- return (true);
180
- }
181
-
182
223
  RunmemoryResultData(const RunmemoryResultData&) = delete;
224
+ RunmemoryResultData(RunmemoryResultData&&) noexcept = delete;
225
+
183
226
  RunmemoryResultData& operator=(const RunmemoryResultData&) = delete;
227
+ RunmemoryResultData& operator=(RunmemoryResultData&&) noexcept = delete;
228
+
229
+ ~RunmemoryResultData() = default;
230
+
231
+ public:
232
+ bool IsDataValid() const
233
+ {
234
+ return ((Allocated.IsSet() == true) && (Size.IsSet() == true) && (Resident.IsSet() == true));
235
+ }
184
236
 
185
237
  public:
186
238
  Core::JSON::DecUInt32 Allocated; // Already allocated memory in KB
187
239
  Core::JSON::DecUInt32 Size; // Current allocation in KB
188
240
  Core::JSON::DecUInt32 Resident; // Resident memory in KB
189
241
  }; // class RunmemoryResultData
190
242
 
191
243
  } // namespace TestUtility
192
244
 
245
+ POP_WARNING()
246
+
193
247
  } // namespace JsonData
194
248
 
195
249
  // Enum conversion handlers
196
250
  ENUM_CONVERSION_HANDLER(JsonData::TestUtility::TypeType)
197
251
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TimeSync.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Time Sync API JSON-RPC API.
1
+ // C++ types for Time Sync API.
2
2
  // Generated automatically from 'TimeSync.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace TimeSync {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -23,24 +25,32 @@ namespace JsonData {
23
25
  {
24
26
  Add(_T("time"), &Time);
25
27
  Add(_T("source"), &Source);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  SynctimeData(const SynctimeData&) = delete;
31
+ SynctimeData(SynctimeData&&) noexcept = delete;
32
+
34
33
  SynctimeData& operator=(const SynctimeData&) = delete;
34
+ SynctimeData& operator=(SynctimeData&&) noexcept = delete;
35
+
36
+ ~SynctimeData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Time.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Time; // Synchronized time (in ISO8601 format); empty string if the time has never been synchronized
38
46
  Core::JSON::String Source; // The synchronization source e.g. an NTP server
39
47
  }; // class SynctimeData
40
48
 
41
49
  } // namespace TimeSync
42
50
 
51
+ POP_WARNING()
52
+
43
53
  } // namespace JsonData
44
54
 
45
55
  }
46
56
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_TraceControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for Trace Control API JSON-RPC API.
1
+ // C++ types for Trace Control API.
2
2
  // Generated automatically from 'TraceControl.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace TraceControl {
16
18
 
17
19
  // Common enums
18
20
  //
19
21
 
@@ -42,21 +44,41 @@ namespace JsonData {
42
44
  , State(_other.State)
43
45
  {
44
46
  _Init();
45
47
  }
46
48
 
49
+ TraceInfo(TraceInfo&& _other) noexcept
50
+ : Core::JSON::Container()
51
+ , Module(std::move(_other.Module))
52
+ , Category(std::move(_other.Category))
53
+ , State(std::move(_other.State))
54
+ {
55
+ _Init();
56
+ }
57
+
47
58
  TraceInfo& operator=(const TraceInfo& _rhs)
48
59
  {
49
60
  Module = _rhs.Module;
50
61
  Category = _rhs.Category;
51
62
  State = _rhs.State;
52
63
  return (*this);
53
64
  }
54
65
 
55
- bool IsValid() const
66
+ TraceInfo& operator=(TraceInfo&& _rhs) noexcept
67
+ {
68
+ Module = std::move(_rhs.Module);
69
+ Category = std::move(_rhs.Category);
70
+ State = std::move(_rhs.State);
71
+ return (*this);
72
+ }
73
+
74
+ ~TraceInfo() = default;
75
+
76
+ public:
77
+ bool IsDataValid() const
56
78
  {
57
- return (true);
79
+ return ((Module.IsSet() == true) && (Category.IsSet() == true) && (State.IsSet() == true));
58
80
  }
59
81
 
60
82
  private:
61
83
  void _Init()
62
84
  {
@@ -81,17 +103,23 @@ namespace JsonData {
81
103
  {
82
104
  Add(_T("module"), &Module);
83
105
  Add(_T("category"), &Category);
84
106
  }
85
107
 
86
- bool IsValid() const
87
- {
88
- return (true);
89
- }
90
-
91
108
  StatusParamsData(const StatusParamsData&) = delete;
109
+ StatusParamsData(StatusParamsData&&) noexcept = delete;
110
+
92
111
  StatusParamsData& operator=(const StatusParamsData&) = delete;
112
+ StatusParamsData& operator=(StatusParamsData&&) noexcept = delete;
113
+
114
+ ~StatusParamsData() = default;
115
+
116
+ public:
117
+ bool IsDataValid() const
118
+ {
119
+ return ((Module.IsSet() == true) && (Category.IsSet() == true));
120
+ }
93
121
 
94
122
  public:
95
123
  Core::JSON::String Module; // Module name
96
124
  Core::JSON::String Category; // Category name
97
125
  }; // class StatusParamsData
@@ -105,17 +133,23 @@ namespace JsonData {
105
133
  {
106
134
  Add(_T("port"), &Port);
107
135
  Add(_T("binding"), &Binding);
108
136
  }
109
137
 
110
- bool IsValid() const
111
- {
112
- return (true);
113
- }
114
-
115
138
  RemoteData(const RemoteData&) = delete;
139
+ RemoteData(RemoteData&&) noexcept = delete;
140
+
116
141
  RemoteData& operator=(const RemoteData&) = delete;
142
+ RemoteData& operator=(RemoteData&&) noexcept = delete;
143
+
144
+ ~RemoteData() = default;
145
+
146
+ public:
147
+ bool IsDataValid() const
148
+ {
149
+ return ((Port.IsSet() == true) && (Binding.IsSet() == true));
150
+ }
117
151
 
118
152
  public:
119
153
  Core::JSON::DecUInt16 Port; // Config attribute (port)
120
154
  Core::JSON::String Binding; // Config attribute (binding)
121
155
  }; // class RemoteData
@@ -126,26 +160,34 @@ namespace JsonData {
126
160
  Add(_T("console"), &Console);
127
161
  Add(_T("remote"), &Remote);
128
162
  Add(_T("settings"), &Settings);
129
163
  }
130
164
 
131
- bool IsValid() const
132
- {
133
- return (true);
134
- }
135
-
136
165
  StatusResultData(const StatusResultData&) = delete;
166
+ StatusResultData(StatusResultData&&) noexcept = delete;
167
+
137
168
  StatusResultData& operator=(const StatusResultData&) = delete;
169
+ StatusResultData& operator=(StatusResultData&&) noexcept = delete;
170
+
171
+ ~StatusResultData() = default;
172
+
173
+ public:
174
+ bool IsDataValid() const
175
+ {
176
+ return ((Console.IsSet() == true) && ((Remote.IsSet() == true) && (Remote.IsDataValid() == true)) && (Settings.IsSet() == true));
177
+ }
138
178
 
139
179
  public:
140
180
  Core::JSON::Boolean Console; // Config attribute (Console)
141
181
  StatusResultData::RemoteData Remote; // Retrieves general information
142
182
  Core::JSON::ArrayType<TraceInfo> Settings; // Retrieves general information
143
183
  }; // class StatusResultData
144
184
 
145
185
  } // namespace TraceControl
146
186
 
187
+ POP_WARNING()
188
+
147
189
  } // namespace JsonData
148
190
 
149
191
  // Enum conversion handlers
150
192
  ENUM_CONVERSION_HANDLER(JsonData::TraceControl::StateType)
151
193
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_UserSettings.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for UserSettings API JSON-RPC API.
1
+ // C++ types for UserSettings API.
2
2
  // Generated automatically from 'IUserSettings.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace UserSettings {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("enabled"), &Enabled);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  OnAudioDescriptionChangedParamsInfo(const OnAudioDescriptionChangedParamsInfo&) = delete;
31
+ OnAudioDescriptionChangedParamsInfo(OnAudioDescriptionChangedParamsInfo&&) noexcept = delete;
32
+
34
33
  OnAudioDescriptionChangedParamsInfo& operator=(const OnAudioDescriptionChangedParamsInfo&) = delete;
34
+ OnAudioDescriptionChangedParamsInfo& operator=(OnAudioDescriptionChangedParamsInfo&&) noexcept = delete;
35
+
36
+ ~OnAudioDescriptionChangedParamsInfo() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Enabled.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::Boolean Enabled; // Enabled/Disabled.
38
46
  }; // class OnAudioDescriptionChangedParamsInfo
39
47
 
@@ -43,17 +51,23 @@ namespace JsonData {
43
51
  : Core::JSON::Container()
44
52
  {
45
53
  Add(_T("preferredlanguages"), &PreferredLanguages);
46
54
  }
47
55
 
48
- bool IsValid() const
49
- {
50
- return (true);
51
- }
52
-
53
56
  OnPreferredAudioLanguagesChangedParamsInfo(const OnPreferredAudioLanguagesChangedParamsInfo&) = delete;
57
+ OnPreferredAudioLanguagesChangedParamsInfo(OnPreferredAudioLanguagesChangedParamsInfo&&) noexcept = delete;
58
+
54
59
  OnPreferredAudioLanguagesChangedParamsInfo& operator=(const OnPreferredAudioLanguagesChangedParamsInfo&) = delete;
60
+ OnPreferredAudioLanguagesChangedParamsInfo& operator=(OnPreferredAudioLanguagesChangedParamsInfo&&) noexcept = delete;
61
+
62
+ ~OnPreferredAudioLanguagesChangedParamsInfo() = default;
63
+
64
+ public:
65
+ bool IsDataValid() const
66
+ {
67
+ return (PreferredLanguages.IsSet() == true);
68
+ }
55
69
 
56
70
  public:
57
71
  Core::JSON::String PreferredLanguages; // PreferredLanguages.
58
72
  }; // class OnPreferredAudioLanguagesChangedParamsInfo
59
73
 
@@ -63,17 +77,23 @@ namespace JsonData {
63
77
  : Core::JSON::Container()
64
78
  {
65
79
  Add(_T("value"), &Value);
66
80
  }
67
81
 
68
- bool IsValid() const
69
- {
70
- return (true);
71
- }
72
-
73
82
  SetAudioDescriptionInfo(const SetAudioDescriptionInfo&) = delete;
83
+ SetAudioDescriptionInfo(SetAudioDescriptionInfo&&) noexcept = delete;
84
+
74
85
  SetAudioDescriptionInfo& operator=(const SetAudioDescriptionInfo&) = delete;
86
+ SetAudioDescriptionInfo& operator=(SetAudioDescriptionInfo&&) noexcept = delete;
87
+
88
+ ~SetAudioDescriptionInfo() = default;
89
+
90
+ public:
91
+ bool IsDataValid() const
92
+ {
93
+ return (Value.IsSet() == true);
94
+ }
75
95
 
76
96
  public:
77
97
  Core::JSON::Boolean Value; // Enabled/Disabled
78
98
  }; // class SetAudioDescriptionInfo
79
99
 
@@ -83,17 +103,23 @@ namespace JsonData {
83
103
  : Core::JSON::Container()
84
104
  {
85
105
  Add(_T("value"), &Value);
86
106
  }
87
107
 
88
- bool IsValid() const
89
- {
90
- return (true);
91
- }
92
-
93
108
  SetPreferredAudioLanguagesInfo(const SetPreferredAudioLanguagesInfo&) = delete;
109
+ SetPreferredAudioLanguagesInfo(SetPreferredAudioLanguagesInfo&&) noexcept = delete;
110
+
94
111
  SetPreferredAudioLanguagesInfo& operator=(const SetPreferredAudioLanguagesInfo&) = delete;
112
+ SetPreferredAudioLanguagesInfo& operator=(SetPreferredAudioLanguagesInfo&&) noexcept = delete;
113
+
114
+ ~SetPreferredAudioLanguagesInfo() = default;
115
+
116
+ public:
117
+ bool IsDataValid() const
118
+ {
119
+ return (Value.IsSet() == true);
120
+ }
95
121
 
96
122
  public:
97
123
  Core::JSON::String Value; // PreferredLanguages
98
124
  }; // class SetPreferredAudioLanguagesInfo
99
125
 
@@ -106,17 +132,23 @@ namespace JsonData {
106
132
  : Core::JSON::Container()
107
133
  {
108
134
  Add(_T("service"), &Service);
109
135
  }
110
136
 
111
- bool IsValid() const
112
- {
113
- return (true);
114
- }
115
-
116
137
  OnPreferredClosedCaptionServiceChangedParamsData(const OnPreferredClosedCaptionServiceChangedParamsData&) = delete;
138
+ OnPreferredClosedCaptionServiceChangedParamsData(OnPreferredClosedCaptionServiceChangedParamsData&&) noexcept = delete;
139
+
117
140
  OnPreferredClosedCaptionServiceChangedParamsData& operator=(const OnPreferredClosedCaptionServiceChangedParamsData&) = delete;
141
+ OnPreferredClosedCaptionServiceChangedParamsData& operator=(OnPreferredClosedCaptionServiceChangedParamsData&&) noexcept = delete;
142
+
143
+ ~OnPreferredClosedCaptionServiceChangedParamsData() = default;
144
+
145
+ public:
146
+ bool IsDataValid() const
147
+ {
148
+ return (Service.IsSet() == true);
149
+ }
118
150
 
119
151
  public:
120
152
  Core::JSON::String Service; // "CC[1-4]", "TEXT[1-4]", "SERVICE[1-64]".
121
153
  }; // class OnPreferredClosedCaptionServiceChangedParamsData
122
154
 
@@ -126,17 +158,23 @@ namespace JsonData {
126
158
  : Core::JSON::Container()
127
159
  {
128
160
  Add(_T("presentationlanguages"), &PresentationLanguages);
129
161
  }
130
162
 
131
- bool IsValid() const
132
- {
133
- return (true);
134
- }
135
-
136
163
  OnPresentationLanguageChangedParamsData(const OnPresentationLanguageChangedParamsData&) = delete;
164
+ OnPresentationLanguageChangedParamsData(OnPresentationLanguageChangedParamsData&&) noexcept = delete;
165
+
137
166
  OnPresentationLanguageChangedParamsData& operator=(const OnPresentationLanguageChangedParamsData&) = delete;
167
+ OnPresentationLanguageChangedParamsData& operator=(OnPresentationLanguageChangedParamsData&&) noexcept = delete;
168
+
169
+ ~OnPresentationLanguageChangedParamsData() = default;
170
+
171
+ public:
172
+ bool IsDataValid() const
173
+ {
174
+ return (PresentationLanguages.IsSet() == true);
175
+ }
138
176
 
139
177
  public:
140
178
  Core::JSON::String PresentationLanguages; // PresentationLanguages.
141
179
  }; // class OnPresentationLanguageChangedParamsData
142
180
 
@@ -146,23 +184,31 @@ namespace JsonData {
146
184
  : Core::JSON::Container()
147
185
  {
148
186
  Add(_T("privacymode"), &PrivacyMode);
149
187
  }
150
188
 
151
- bool IsValid() const
152
- {
153
- return (true);
154
- }
155
-
156
189
  OnPrivacyModeChangedParamsData(const OnPrivacyModeChangedParamsData&) = delete;
190
+ OnPrivacyModeChangedParamsData(OnPrivacyModeChangedParamsData&&) noexcept = delete;
191
+
157
192
  OnPrivacyModeChangedParamsData& operator=(const OnPrivacyModeChangedParamsData&) = delete;
193
+ OnPrivacyModeChangedParamsData& operator=(OnPrivacyModeChangedParamsData&&) noexcept = delete;
194
+
195
+ ~OnPrivacyModeChangedParamsData() = default;
196
+
197
+ public:
198
+ bool IsDataValid() const
199
+ {
200
+ return (PrivacyMode.IsSet() == true);
201
+ }
158
202
 
159
203
  public:
160
204
  Core::JSON::String PrivacyMode; // "SHARE", "DO_NOT_SHARE".
161
205
  }; // class OnPrivacyModeChangedParamsData
162
206
 
163
207
  } // namespace UserSettings
164
208
 
209
+ POP_WARNING()
210
+
165
211
  } // namespace JsonData
166
212
 
167
213
  }
168
214
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_VolumeControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for VolumeControl API JSON-RPC API.
1
+ // C++ types for VolumeControl API.
2
2
  // Generated automatically from 'IVolumeControl.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace VolumeControl {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("muted"), &Muted);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  MutedParamsData(const MutedParamsData&) = delete;
31
+ MutedParamsData(MutedParamsData&&) noexcept = delete;
32
+
34
33
  MutedParamsData& operator=(const MutedParamsData&) = delete;
34
+ MutedParamsData& operator=(MutedParamsData&&) noexcept = delete;
35
+
36
+ ~MutedParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Muted.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::Boolean Muted; // New mute state (true: muted, false: un-muted)
38
46
  }; // class MutedParamsData
39
47
 
@@ -43,23 +51,31 @@ namespace JsonData {
43
51
  : Core::JSON::Container()
44
52
  {
45
53
  Add(_T("volume"), &Volume);
46
54
  }
47
55
 
48
- bool IsValid() const
49
- {
50
- return (true);
51
- }
52
-
53
56
  VolumeParamsData(const VolumeParamsData&) = delete;
57
+ VolumeParamsData(VolumeParamsData&&) noexcept = delete;
58
+
54
59
  VolumeParamsData& operator=(const VolumeParamsData&) = delete;
60
+ VolumeParamsData& operator=(VolumeParamsData&&) noexcept = delete;
61
+
62
+ ~VolumeParamsData() = default;
63
+
64
+ public:
65
+ bool IsDataValid() const
66
+ {
67
+ return (Volume.IsSet() == true);
68
+ }
55
69
 
56
70
  public:
57
71
  Core::JSON::DecUInt8 Volume; // New bolume level in percent
58
72
  }; // class VolumeParamsData
59
73
 
60
74
  } // namespace VolumeControl
61
75
 
76
+ POP_WARNING()
77
+
62
78
  } // namespace JsonData
63
79
 
64
80
  }
65
81
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WatchDog.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for WatchDog API JSON-RPC API.
1
+ // C++ types for WatchDog API.
2
2
  // Generated automatically from 'IWatchDog.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace WatchDog {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,23 +25,31 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("callsign"), &Callsign);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  TouchParamsData(const TouchParamsData&) = delete;
31
+ TouchParamsData(TouchParamsData&&) noexcept = delete;
32
+
34
33
  TouchParamsData& operator=(const TouchParamsData&) = delete;
34
+ TouchParamsData& operator=(TouchParamsData&&) noexcept = delete;
35
+
36
+ ~TouchParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (Callsign.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String Callsign; // In case a specific watchdog needs to be padded pass the name of the callsign for which we want to touch.
38
46
  }; // class TouchParamsData
39
47
 
40
48
  } // namespace WatchDog
41
49
 
50
+ POP_WARNING()
51
+
42
52
  } // namespace JsonData
43
53
 
44
54
  }
45
55
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WebBrowser.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for WebBrowser API JSON-RPC API.
1
+ // C++ types for WebBrowser API.
2
2
  // Generated automatically from 'IBrowser.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace WebBrowser {
16
18
 
17
19
  // Method params/result classes
18
20
  //
19
21
 
@@ -23,17 +25,23 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  Add(_T("url"), &URL);
26
28
  }
27
29
 
28
- bool IsValid() const
29
- {
30
- return (true);
31
- }
32
-
33
30
  LoadFailedParamsData(const LoadFailedParamsData&) = delete;
31
+ LoadFailedParamsData(LoadFailedParamsData&&) noexcept = delete;
32
+
34
33
  LoadFailedParamsData& operator=(const LoadFailedParamsData&) = delete;
34
+ LoadFailedParamsData& operator=(LoadFailedParamsData&&) noexcept = delete;
35
+
36
+ ~LoadFailedParamsData() = default;
37
+
38
+ public:
39
+ bool IsDataValid() const
40
+ {
41
+ return (URL.IsSet() == true);
42
+ }
35
43
 
36
44
  public:
37
45
  Core::JSON::String URL; // The URL that has been failed to load
38
46
  }; // class LoadFailedParamsData
39
47
 
@@ -44,17 +52,23 @@ namespace JsonData {
44
52
  {
45
53
  Add(_T("url"), &URL);
46
54
  Add(_T("httpstatus"), &Httpstatus);
47
55
  }
48
56
 
49
- bool IsValid() const
50
- {
51
- return (true);
52
- }
53
-
54
57
  LoadFinishedParamsData(const LoadFinishedParamsData&) = delete;
58
+ LoadFinishedParamsData(LoadFinishedParamsData&&) noexcept = delete;
59
+
55
60
  LoadFinishedParamsData& operator=(const LoadFinishedParamsData&) = delete;
61
+ LoadFinishedParamsData& operator=(LoadFinishedParamsData&&) noexcept = delete;
62
+
63
+ ~LoadFinishedParamsData() = default;
64
+
65
+ public:
66
+ bool IsDataValid() const
67
+ {
68
+ return ((URL.IsSet() == true) && (Httpstatus.IsSet() == true));
69
+ }
56
70
 
57
71
  public:
58
72
  Core::JSON::String URL; // The URL that has been loaded
59
73
  Core::JSON::DecSInt32 Httpstatus; // The response code of main resource request
60
74
  }; // class LoadFinishedParamsData
@@ -66,17 +80,23 @@ namespace JsonData {
66
80
  {
67
81
  Add(_T("url"), &URL);
68
82
  Add(_T("loaded"), &Loaded);
69
83
  }
70
84
 
71
- bool IsValid() const
72
- {
73
- return (true);
74
- }
75
-
76
85
  URLChangeParamsData(const URLChangeParamsData&) = delete;
86
+ URLChangeParamsData(URLChangeParamsData&&) noexcept = delete;
87
+
77
88
  URLChangeParamsData& operator=(const URLChangeParamsData&) = delete;
89
+ URLChangeParamsData& operator=(URLChangeParamsData&&) noexcept = delete;
90
+
91
+ ~URLChangeParamsData() = default;
92
+
93
+ public:
94
+ bool IsDataValid() const
95
+ {
96
+ return ((URL.IsSet() == true) && (Loaded.IsSet() == true));
97
+ }
78
98
 
79
99
  public:
80
100
  Core::JSON::String URL; // The URL that has been loaded or requested
81
101
  Core::JSON::Boolean Loaded; // loaded (true) or not (false)
82
102
  }; // class URLChangeParamsData
@@ -87,24 +107,32 @@ namespace JsonData {
87
107
  : Core::JSON::Container()
88
108
  {
89
109
  Add(_T("hidden"), &Hidden);
90
110
  }
91
111
 
92
- bool IsValid() const
93
- {
94
- return (true);
95
- }
96
-
97
112
  VisibilityChangeParamsData(const VisibilityChangeParamsData&) = delete;
113
+ VisibilityChangeParamsData(VisibilityChangeParamsData&&) noexcept = delete;
114
+
98
115
  VisibilityChangeParamsData& operator=(const VisibilityChangeParamsData&) = delete;
116
+ VisibilityChangeParamsData& operator=(VisibilityChangeParamsData&&) noexcept = delete;
117
+
118
+ ~VisibilityChangeParamsData() = default;
119
+
120
+ public:
121
+ bool IsDataValid() const
122
+ {
123
+ return (Hidden.IsSet() == true);
124
+ }
99
125
 
100
126
  public:
101
127
  Core::JSON::Boolean Hidden; // hidden (true) or visible (false)
102
128
  }; // class VisibilityChangeParamsData
103
129
 
104
130
  } // namespace WebBrowser
105
131
 
132
+ POP_WARNING()
133
+
106
134
  } // namespace JsonData
107
135
 
108
136
  // Enum conversion handlers
109
137
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::VisibilityType)
110
138
  ENUM_CONVERSION_HANDLER(Exchange::IWebBrowser::HTTPCookieAcceptPolicyType)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WebKitBrowser.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for WebKit Browser API JSON-RPC API.
1
+ // C++ types for WebKit Browser API.
2
2
  // Generated automatically from 'WebKitBrowser.json'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -9,10 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  namespace JsonData {
13
13
 
14
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
15
+
14
16
  namespace WebKitBrowser {
15
17
 
16
18
  // Method params/result classes
17
19
  //
18
20
 
@@ -22,17 +24,23 @@ namespace JsonData {
22
24
  : Core::JSON::Container()
23
25
  {
24
26
  Add(_T("path"), &Path);
25
27
  }
26
28
 
27
- bool IsValid() const
28
- {
29
- return (true);
30
- }
31
-
32
29
  DeleteParamsData(const DeleteParamsData&) = delete;
30
+ DeleteParamsData(DeleteParamsData&&) noexcept = delete;
31
+
33
32
  DeleteParamsData& operator=(const DeleteParamsData&) = delete;
33
+ DeleteParamsData& operator=(DeleteParamsData&&) noexcept = delete;
34
+
35
+ ~DeleteParamsData() = default;
36
+
37
+ public:
38
+ bool IsDataValid() const
39
+ {
40
+ return (Path.IsSet() == true);
41
+ }
34
42
 
35
43
  public:
36
44
  Core::JSON::String Path; // Path to directory (within the persistent storage) to delete contents of
37
45
  }; // class DeleteParamsData
38
46
 
@@ -50,20 +58,38 @@ namespace JsonData {
50
58
  , Value(_other.Value)
51
59
  {
52
60
  _Init();
53
61
  }
54
62
 
63
+ HeadersData(HeadersData&& _other) noexcept
64
+ : Core::JSON::Container()
65
+ , Name(std::move(_other.Name))
66
+ , Value(std::move(_other.Value))
67
+ {
68
+ _Init();
69
+ }
70
+
55
71
  HeadersData& operator=(const HeadersData& _rhs)
56
72
  {
57
73
  Name = _rhs.Name;
58
74
  Value = _rhs.Value;
59
75
  return (*this);
60
76
  }
61
77
 
62
- bool IsValid() const
78
+ HeadersData& operator=(HeadersData&& _rhs) noexcept
63
79
  {
64
- return (true);
80
+ Name = std::move(_rhs.Name);
81
+ Value = std::move(_rhs.Value);
82
+ return (*this);
83
+ }
84
+
85
+ ~HeadersData() = default;
86
+
87
+ public:
88
+ bool IsDataValid() const
89
+ {
90
+ return ((Name.IsSet() == true) && (Value.IsSet() == true));
65
91
  }
66
92
 
67
93
  private:
68
94
  void _Init()
69
95
  {
@@ -76,9 +102,11 @@ namespace JsonData {
76
102
  Core::JSON::String Value; // Header value
77
103
  }; // class HeadersData
78
104
 
79
105
  } // namespace WebKitBrowser
80
106
 
107
+ POP_WARNING()
108
+
81
109
  } // namespace JsonData
82
110
 
83
111
  }
84
112
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_WifiControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for WifiControl API JSON-RPC API.
1
+ // C++ types for WifiControl API.
2
2
  // Generated automatically from 'IWifiControl.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace WifiControl {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -23,10 +25,36 @@ namespace JsonData {
23
25
  : Core::JSON::Container()
24
26
  {
25
27
  _Init();
26
28
  }
27
29
 
30
+ ConfigInfoInfo(const ConfigInfoInfo& _other)
31
+ : Core::JSON::Container()
32
+ , Hidden(_other.Hidden)
33
+ , Accesspoint(_other.Accesspoint)
34
+ , Ssid(_other.Ssid)
35
+ , Secret(_other.Secret)
36
+ , Identity(_other.Identity)
37
+ , Method(_other.Method)
38
+ , Key(_other.Key)
39
+ {
40
+ _Init();
41
+ }
42
+
43
+ ConfigInfoInfo(ConfigInfoInfo&& _other) noexcept
44
+ : Core::JSON::Container()
45
+ , Hidden(std::move(_other.Hidden))
46
+ , Accesspoint(std::move(_other.Accesspoint))
47
+ , Ssid(std::move(_other.Ssid))
48
+ , Secret(std::move(_other.Secret))
49
+ , Identity(std::move(_other.Identity))
50
+ , Method(std::move(_other.Method))
51
+ , Key(std::move(_other.Key))
52
+ {
53
+ _Init();
54
+ }
55
+
28
56
  ConfigInfoInfo(const Exchange::IWifiControl::ConfigInfo& _other)
29
57
  : Core::JSON::Container()
30
58
  {
31
59
  Hidden = _other.hidden;
32
60
  Accesspoint = _other.accesspoint;
@@ -36,10 +64,34 @@ namespace JsonData {
36
64
  Method = _other.method;
37
65
  Key = _other.key;
38
66
  _Init();
39
67
  }
40
68
 
69
+ ConfigInfoInfo& operator=(const ConfigInfoInfo& _rhs)
70
+ {
71
+ Hidden = _rhs.Hidden;
72
+ Accesspoint = _rhs.Accesspoint;
73
+ Ssid = _rhs.Ssid;
74
+ Secret = _rhs.Secret;
75
+ Identity = _rhs.Identity;
76
+ Method = _rhs.Method;
77
+ Key = _rhs.Key;
78
+ return (*this);
79
+ }
80
+
81
+ ConfigInfoInfo& operator=(ConfigInfoInfo&& _rhs) noexcept
82
+ {
83
+ Hidden = std::move(_rhs.Hidden);
84
+ Accesspoint = std::move(_rhs.Accesspoint);
85
+ Ssid = std::move(_rhs.Ssid);
86
+ Secret = std::move(_rhs.Secret);
87
+ Identity = std::move(_rhs.Identity);
88
+ Method = std::move(_rhs.Method);
89
+ Key = std::move(_rhs.Key);
90
+ return (*this);
91
+ }
92
+
41
93
  ConfigInfoInfo& operator=(const Exchange::IWifiControl::ConfigInfo& _rhs)
42
94
  {
43
95
  Hidden = _rhs.hidden;
44
96
  Accesspoint = _rhs.accesspoint;
45
97
  Ssid = _rhs.ssid;
@@ -61,13 +113,16 @@ namespace JsonData {
61
113
  _value.method = Method;
62
114
  _value.key = Key;
63
115
  return (_value);
64
116
  }
65
117
 
66
- bool IsValid() const
118
+ ~ConfigInfoInfo() = default;
119
+
120
+ public:
121
+ bool IsDataValid() const
67
122
  {
68
- return (true);
123
+ return ((Hidden.IsSet() == true) && (Accesspoint.IsSet() == true) && (Ssid.IsSet() == true) && (Secret.IsSet() == true) && (Identity.IsSet() == true) && (Method.IsSet() == true) && (Key.IsSet() == true));
69
124
  }
70
125
 
71
126
  private:
72
127
  void _Init()
73
128
  {
@@ -96,17 +151,23 @@ namespace JsonData {
96
151
  : Core::JSON::Container()
97
152
  {
98
153
  Add(_T("configssid"), &ConfigSSID);
99
154
  }
100
155
 
101
- bool IsValid() const
102
- {
103
- return (true);
104
- }
105
-
106
156
  ConnectParamsInfo(const ConnectParamsInfo&) = delete;
157
+ ConnectParamsInfo(ConnectParamsInfo&&) noexcept = delete;
158
+
107
159
  ConnectParamsInfo& operator=(const ConnectParamsInfo&) = delete;
160
+ ConnectParamsInfo& operator=(ConnectParamsInfo&&) noexcept = delete;
161
+
162
+ ~ConnectParamsInfo() = default;
163
+
164
+ public:
165
+ bool IsDataValid() const
166
+ {
167
+ return (ConfigSSID.IsSet() == true);
168
+ }
108
169
 
109
170
  public:
110
171
  Core::JSON::String ConfigSSID; // Connect device to requested SSID
111
172
  }; // class ConnectParamsInfo
112
173
 
@@ -119,17 +180,23 @@ namespace JsonData {
119
180
  : Core::JSON::Container()
120
181
  {
121
182
  Add(_T("value"), &Value);
122
183
  }
123
184
 
124
- bool IsValid() const
125
- {
126
- return (true);
127
- }
128
-
129
185
  ConfigData(const ConfigData&) = delete;
186
+ ConfigData(ConfigData&&) noexcept = delete;
187
+
130
188
  ConfigData& operator=(const ConfigData&) = delete;
189
+ ConfigData& operator=(ConfigData&&) noexcept = delete;
190
+
191
+ ~ConfigData() = default;
192
+
193
+ public:
194
+ bool IsDataValid() const
195
+ {
196
+ return ((Value.IsSet() == true) && (Value.IsDataValid() == true));
197
+ }
131
198
 
132
199
  public:
133
200
  ConfigInfoInfo Value; // Provide config details for requested SSID
134
201
  }; // class ConfigData
135
202
 
@@ -139,17 +206,23 @@ namespace JsonData {
139
206
  : Core::JSON::Container()
140
207
  {
141
208
  Add(_T("ssid"), &Ssid);
142
209
  }
143
210
 
144
- bool IsValid() const
145
- {
146
- return (true);
147
- }
148
-
149
211
  ConnectionChangeParamsData(const ConnectionChangeParamsData&) = delete;
212
+ ConnectionChangeParamsData(ConnectionChangeParamsData&&) noexcept = delete;
213
+
150
214
  ConnectionChangeParamsData& operator=(const ConnectionChangeParamsData&) = delete;
215
+ ConnectionChangeParamsData& operator=(ConnectionChangeParamsData&&) noexcept = delete;
216
+
217
+ ~ConnectionChangeParamsData() = default;
218
+
219
+ public:
220
+ bool IsDataValid() const
221
+ {
222
+ return (Ssid.IsSet() == true);
223
+ }
151
224
 
152
225
  public:
153
226
  Core::JSON::String Ssid; // Notifies that wifi connection changes
154
227
  }; // class ConnectionChangeParamsData
155
228
 
@@ -170,37 +243,60 @@ namespace JsonData {
170
243
  , Security(_other.Security)
171
244
  {
172
245
  _Init();
173
246
  }
174
247
 
175
- NetworkInfoData& operator=(const NetworkInfoData& _rhs)
248
+ NetworkInfoData(NetworkInfoData&& _other) noexcept
249
+ : Core::JSON::Container()
250
+ , Ssid(std::move(_other.Ssid))
251
+ , Bssid(std::move(_other.Bssid))
252
+ , Frequency(std::move(_other.Frequency))
253
+ , Signal(std::move(_other.Signal))
254
+ , Security(std::move(_other.Security))
176
255
  {
177
- Ssid = _rhs.Ssid;
178
- Bssid = _rhs.Bssid;
179
- Frequency = _rhs.Frequency;
180
- Signal = _rhs.Signal;
181
- Security = _rhs.Security;
182
- return (*this);
256
+ _Init();
183
257
  }
184
258
 
185
259
  NetworkInfoData(const Exchange::IWifiControl::NetworkInfo& _other)
186
260
  : Core::JSON::Container()
187
261
  {
188
262
  Ssid = _other.ssid;
189
263
  Bssid = _other.bssid;
190
264
  Frequency = _other.frequency;
191
265
  Signal = _other.signal;
266
+ Security.Set(true);
192
267
  Security = _other.security;
193
268
  _Init();
194
269
  }
195
270
 
271
+ NetworkInfoData& operator=(const NetworkInfoData& _rhs)
272
+ {
273
+ Ssid = _rhs.Ssid;
274
+ Bssid = _rhs.Bssid;
275
+ Frequency = _rhs.Frequency;
276
+ Signal = _rhs.Signal;
277
+ Security = _rhs.Security;
278
+ return (*this);
279
+ }
280
+
281
+ NetworkInfoData& operator=(NetworkInfoData&& _rhs) noexcept
282
+ {
283
+ Ssid = std::move(_rhs.Ssid);
284
+ Bssid = std::move(_rhs.Bssid);
285
+ Frequency = std::move(_rhs.Frequency);
286
+ Signal = std::move(_rhs.Signal);
287
+ Security = std::move(_rhs.Security);
288
+ return (*this);
289
+ }
290
+
196
291
  NetworkInfoData& operator=(const Exchange::IWifiControl::NetworkInfo& _rhs)
197
292
  {
198
293
  Ssid = _rhs.ssid;
199
294
  Bssid = _rhs.bssid;
200
295
  Frequency = _rhs.frequency;
201
296
  Signal = _rhs.signal;
297
+ Security.Set(true);
202
298
  Security = _rhs.security;
203
299
  return (*this);
204
300
  }
205
301
 
206
302
  operator Exchange::IWifiControl::NetworkInfo() const
@@ -212,13 +308,16 @@ namespace JsonData {
212
308
  _value.signal = Signal;
213
309
  _value.security = Security;
214
310
  return (_value);
215
311
  }
216
312
 
217
- bool IsValid() const
313
+ ~NetworkInfoData() = default;
314
+
315
+ public:
316
+ bool IsDataValid() const
218
317
  {
219
- return (true);
318
+ return ((Ssid.IsSet() == true) && (Bssid.IsSet() == true) && (Frequency.IsSet() == true) && (Signal.IsSet() == true) && (Security.IsSet() == true));
220
319
  }
221
320
 
222
321
  private:
223
322
  void _Init()
224
323
  {
@@ -251,28 +350,45 @@ namespace JsonData {
251
350
  , Keys(_other.Keys)
252
351
  {
253
352
  _Init();
254
353
  }
255
354
 
256
- SecurityInfoData& operator=(const SecurityInfoData& _rhs)
355
+ SecurityInfoData(SecurityInfoData&& _other) noexcept
356
+ : Core::JSON::Container()
357
+ , Method(std::move(_other.Method))
358
+ , Keys(std::move(_other.Keys))
257
359
  {
258
- Method = _rhs.Method;
259
- Keys = _rhs.Keys;
260
- return (*this);
360
+ _Init();
261
361
  }
262
362
 
263
363
  SecurityInfoData(const Exchange::IWifiControl::SecurityInfo& _other)
264
364
  : Core::JSON::Container()
265
365
  {
266
366
  Method = _other.method;
367
+ Keys.Set(true);
267
368
  Keys = _other.keys;
268
369
  _Init();
269
370
  }
270
371
 
372
+ SecurityInfoData& operator=(const SecurityInfoData& _rhs)
373
+ {
374
+ Method = _rhs.Method;
375
+ Keys = _rhs.Keys;
376
+ return (*this);
377
+ }
378
+
379
+ SecurityInfoData& operator=(SecurityInfoData&& _rhs) noexcept
380
+ {
381
+ Method = std::move(_rhs.Method);
382
+ Keys = std::move(_rhs.Keys);
383
+ return (*this);
384
+ }
385
+
271
386
  SecurityInfoData& operator=(const Exchange::IWifiControl::SecurityInfo& _rhs)
272
387
  {
273
388
  Method = _rhs.method;
389
+ Keys.Set(true);
274
390
  Keys = _rhs.keys;
275
391
  return (*this);
276
392
  }
277
393
 
278
394
  operator Exchange::IWifiControl::SecurityInfo() const
@@ -281,13 +397,16 @@ namespace JsonData {
281
397
  _value.method = Method;
282
398
  _value.keys = Keys;
283
399
  return (_value);
284
400
  }
285
401
 
286
- bool IsValid() const
402
+ ~SecurityInfoData() = default;
403
+
404
+ public:
405
+ bool IsDataValid() const
287
406
  {
288
- return (true);
407
+ return ((Method.IsSet() == true) && (Keys.IsSet() == true));
289
408
  }
290
409
 
291
410
  private:
292
411
  void _Init()
293
412
  {
@@ -307,25 +426,33 @@ namespace JsonData {
307
426
  {
308
427
  Add(_T("connectedssid"), &ConnectedSsid);
309
428
  Add(_T("isscanning"), &IsScanning);
310
429
  }
311
430
 
312
- bool IsValid() const
313
- {
314
- return (true);
315
- }
316
-
317
431
  StatusResultData(const StatusResultData&) = delete;
432
+ StatusResultData(StatusResultData&&) noexcept = delete;
433
+
318
434
  StatusResultData& operator=(const StatusResultData&) = delete;
435
+ StatusResultData& operator=(StatusResultData&&) noexcept = delete;
436
+
437
+ ~StatusResultData() = default;
438
+
439
+ public:
440
+ bool IsDataValid() const
441
+ {
442
+ return ((ConnectedSsid.IsSet() == true) && (IsScanning.IsSet() == true));
443
+ }
319
444
 
320
445
  public:
321
446
  Core::JSON::String ConnectedSsid; // Status of current device, like which SSID is connected and it is in scanning state or not
322
447
  Core::JSON::Boolean IsScanning; // Status of current device, like which SSID is connected and it is in scanning state or not
323
448
  }; // class StatusResultData
324
449
 
325
450
  } // namespace WifiControl
326
451
 
452
+ POP_WARNING()
453
+
327
454
  } // namespace JsonData
328
455
 
329
456
  // Enum conversion handlers
330
457
  ENUM_CONVERSION_HANDLER(Exchange::IWifiControl::Security)
331
458
  ENUM_CONVERSION_HANDLER(Exchange::IWifiControl::SecurityInfo::Key)
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonData_ZigWave.h RENAMED
@@ -1,6 +1,6 @@
1
- // C++ classes for ZigWave API JSON-RPC API.
1
+ // C++ types for ZigWave API.
2
2
  // Generated automatically from 'IZigWave.h'. DO NOT EDIT.
3
3
 
4
4
  // Note: This code is inherently not thread safe. If required, proper synchronisation must be added.
5
5
 
6
6
  #pragma once
@@ -10,10 +10,12 @@
10
10
 
11
11
  namespace WPEFramework {
12
12
 
13
13
  namespace JsonData {
14
14
 
15
+ PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)
16
+
15
17
  namespace ZigWave {
16
18
 
17
19
  // Common classes
18
20
  //
19
21
 
@@ -24,17 +26,23 @@ namespace JsonData {
24
26
  {
25
27
  Add(_T("source"), &Source);
26
28
  Add(_T("destination"), &Destination);
27
29
  }
28
30
 
29
- bool IsValid() const
30
- {
31
- return (true);
32
- }
33
-
34
31
  BindParamsInfo(const BindParamsInfo&) = delete;
32
+ BindParamsInfo(BindParamsInfo&&) noexcept = delete;
33
+
35
34
  BindParamsInfo& operator=(const BindParamsInfo&) = delete;
35
+ BindParamsInfo& operator=(BindParamsInfo&&) noexcept = delete;
36
+
37
+ ~BindParamsInfo() = default;
38
+
39
+ public:
40
+ bool IsDataValid() const
41
+ {
42
+ return ((Source.IsSet() == true) && (Destination.IsSet() == true));
43
+ }
36
44
 
37
45
  public:
38
46
  Core::JSON::DecUInt32 Source; // Bind the *out* from the soure to the *in* of the destination
39
47
  Core::JSON::DecUInt32 Destination; // Bind the *out* from the soure to the *in* of the destination
40
48
  }; // class BindParamsInfo
@@ -45,27 +53,34 @@ namespace JsonData {
45
53
  : Core::JSON::Container()
46
54
  {
47
55
  Add(_T("value"), &Value);
48
56
  }
49
57
 
50
- bool IsValid() const
51
- {
52
- return (true);
53
- }
54
-
55
58
  PermutableInfo(const PermutableInfo&) = delete;
59
+ PermutableInfo(PermutableInfo&&) noexcept = delete;
60
+
56
61
  PermutableInfo& operator=(const PermutableInfo&) = delete;
62
+ PermutableInfo& operator=(PermutableInfo&&) noexcept = delete;
63
+
64
+ ~PermutableInfo() = default;
57
65
 
58
66
  public:
59
- Core::JSON::Boolean Value; // To allow new devices to the network, the controller should be placed into an accepting mode. By enabling this mode,
60
- // the controller can accept new devices.
67
+ bool IsDataValid() const
68
+ {
69
+ return (Value.IsSet() == true);
70
+ }
71
+
72
+ public:
73
+ Core::JSON::Boolean Value; // To allow new devices to the network, the controller should be placed into an accepting mode. By enabling this mode, the controller can accept new devices.
61
74
  }; // class PermutableInfo
62
75
 
63
76
  // Method params/result classes
64
77
  //
65
78
 
66
79
  } // namespace ZigWave
67
80
 
81
+ POP_WARNING()
82
+
68
83
  } // namespace JsonData
69
84
 
70
85
  }
71
86
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_AVSController.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for AVSController API JSON-RPC API.
1
+ // Enumeration code for AVSController API.
2
2
  // Generated automatically from 'IAVSClient.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Application.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Application API JSON-RPC API.
1
+ // Enumeration code for Application API.
2
2
  // Generated automatically from 'IApplication.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothAudioSink.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for BluetoothAudioSink API JSON-RPC API.
1
+ // Enumeration code for BluetoothAudioSink API.
2
2
  // Generated automatically from 'IBluetoothAudio.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Bluetooth Control API JSON-RPC API.
1
+ // Enumeration code for Bluetooth Control API.
2
2
  // Generated automatically from 'BluetoothControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BluetoothRemoteControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Bluetooth Remote Control API JSON-RPC API.
1
+ // Enumeration code for Bluetooth Remote Control API.
2
2
  // Generated automatically from 'BluetoothRemoteControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Browser.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Browser API JSON-RPC API.
1
+ // Enumeration code for Browser API.
2
2
  // Generated automatically from 'Browser.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_BrowserSecurity.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for BrowserSecurity API JSON-RPC API.
1
+ // Enumeration code for BrowserSecurity API.
2
2
  // Generated automatically from 'IBrowser.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Butler.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Butler API JSON-RPC API.
1
+ // Enumeration code for Butler API.
2
2
  // Generated automatically from 'Butler.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Compositor.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Compositor API JSON-RPC API.
1
+ // Enumeration code for Compositor API.
2
2
  // Generated automatically from 'Compositor.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_ConnectionProperties.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for ConnectionProperties API JSON-RPC API.
1
+ // Enumeration code for ConnectionProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
@@ -9,12 +9,12 @@
9
9
 
10
10
  namespace WPEFramework {
11
11
 
12
12
  ENUM_CONVERSION_BEGIN(Exchange::IConnectionProperties::HDCPProtectionType)
13
13
  { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_Unencrypted, _TXT("HdcpUnencrypted") },
14
- { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_1X, _TXT("Hdcp1X") },
15
- { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_2X, _TXT("Hdcp2X") },
14
+ { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_1X, _TXT("Hdcp1x") },
15
+ { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_2X, _TXT("Hdcp2x") },
16
16
  { Exchange::IConnectionProperties::HDCPProtectionType::HDCP_AUTO, _TXT("HdcpAuto") },
17
17
  ENUM_CONVERSION_END(Exchange::IConnectionProperties::HDCPProtectionType)
18
18
 
19
19
  ENUM_CONVERSION_BEGIN(Exchange::IConnectionProperties::INotification::Source)
20
20
  { Exchange::IConnectionProperties::INotification::Source::PRE_RESOLUTION_CHANGE, _TXT("PreResolutionChange") },
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DIALServer.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for DIAL Server API JSON-RPC API.
1
+ // Enumeration code for DIAL Server API.
2
2
  // Generated automatically from 'DIALServer.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DTV.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for DTV API JSON-RPC API.
1
+ // Enumeration code for DTV API.
2
2
  // Generated automatically from 'DTV.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DeviceInfo.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Device Info API JSON-RPC API.
1
+ // Enumeration code for Device Info API.
2
2
  // Generated automatically from 'DeviceInfo.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DisplayInfo.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Display Info API JSON-RPC API.
1
+ // Enumeration code for Display Info API.
2
2
  // Generated automatically from 'DisplayInfo.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DisplayProperties.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for DisplayProperties API JSON-RPC API.
1
+ // Enumeration code for DisplayProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
@@ -43,19 +43,19 @@ ENUM_CONVERSION_BEGIN(Exchange::IDisplayProperties::ColourDepthType)
43
43
  ENUM_CONVERSION_END(Exchange::IDisplayProperties::ColourDepthType)
44
44
 
45
45
  ENUM_CONVERSION_BEGIN(Exchange::IDisplayProperties::ColorimetryType)
46
46
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_UNKNOWN, _TXT("ColorimetryUnknown") },
47
47
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_OTHER, _TXT("ColorimetryOther") },
48
- { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_SMPTE170M, _TXT("ColorimetrySmpte170M") },
48
+ { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_SMPTE170M, _TXT("ColorimetrySmpte170m") },
49
49
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_BT709, _TXT("ColorimetryBt709") },
50
50
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_XVYCC601, _TXT("ColorimetryXvycc601") },
51
51
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_XVYCC709, _TXT("ColorimetryXvycc709") },
52
52
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_SYCC601, _TXT("ColorimetrySycc601") },
53
53
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_OPYCC601, _TXT("ColorimetryOpycc601") },
54
54
  { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_OPRGB, _TXT("ColorimetryOprgb") },
55
- { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_BT2020YCCBCBRC, _TXT("ColorimetryBt2020Yccbcbrc") },
56
- { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_BT2020RGB_YCBCR, _TXT("ColorimetryBt2020RgbYcbcr") },
55
+ { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_BT2020YCCBCBRC, _TXT("ColorimetryBt2020yccbcbrc") },
56
+ { Exchange::IDisplayProperties::ColorimetryType::COLORIMETRY_BT2020RGB_YCBCR, _TXT("ColorimetryBt2020rgbYcbcr") },
57
57
  ENUM_CONVERSION_END(Exchange::IDisplayProperties::ColorimetryType)
58
58
 
59
59
  ENUM_CONVERSION_BEGIN(Exchange::IDisplayProperties::QuantizationRangeType)
60
60
  { Exchange::IDisplayProperties::QuantizationRangeType::QUANTIZATIONRANGE_UNKNOWN, _TXT("QuantizationrangeUnknown") },
61
61
  { Exchange::IDisplayProperties::QuantizationRangeType::QUANTIZATIONRANGE_LIMITED, _TXT("QuantizationrangeLimited") },
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_DolbyOutput.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Output API JSON-RPC API.
1
+ // Enumeration code for Output API.
2
2
  // Generated automatically from 'IDolby.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_FirmwareControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Firmware Control API JSON-RPC API.
1
+ // Enumeration code for Firmware Control API.
2
2
  // Generated automatically from 'FirmwareControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_HDRProperties.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for HDRProperties API JSON-RPC API.
1
+ // Enumeration code for HDRProperties API.
2
2
  // Generated automatically from 'IDisplayInfo.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
@@ -10,11 +10,11 @@
10
10
  namespace WPEFramework {
11
11
 
12
12
  ENUM_CONVERSION_BEGIN(Exchange::IHDRProperties::HDRType)
13
13
  { Exchange::IHDRProperties::HDRType::HDR_OFF, _TXT("HdrOff") },
14
14
  { Exchange::IHDRProperties::HDRType::HDR_10, _TXT("Hdr10") },
15
- { Exchange::IHDRProperties::HDRType::HDR_10PLUS, _TXT("Hdr10Plus") },
15
+ { Exchange::IHDRProperties::HDRType::HDR_10PLUS, _TXT("Hdr10plus") },
16
16
  { Exchange::IHDRProperties::HDRType::HDR_HLG, _TXT("HdrHlg") },
17
17
  { Exchange::IHDRProperties::HDRType::HDR_DOLBYVISION, _TXT("HdrDolbyvision") },
18
18
  { Exchange::IHDRProperties::HDRType::HDR_TECHNICOLOR, _TXT("HdrTechnicolor") },
19
19
  ENUM_CONVERSION_END(Exchange::IHDRProperties::HDRType)
20
20
 
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_MessageControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for MessageControl API JSON-RPC API.
1
+ // Enumeration code for MessageControl API.
2
2
  // Generated automatically from 'IMessageControl.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Messenger.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Messenger API JSON-RPC API.
1
+ // Enumeration code for Messenger API.
2
2
  // Generated automatically from 'Messenger.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Netflix.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Netflix API JSON-RPC API.
1
+ // Enumeration code for Netflix API.
2
2
  // Generated automatically from 'Netflix.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_NetworkControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for NetworkControl API JSON-RPC API.
1
+ // Enumeration code for NetworkControl API.
2
2
  // Generated automatically from 'INetworkControl.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_OCDM.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for OpenCDMi API JSON-RPC API.
1
+ // Enumeration code for OpenCDMi API.
2
2
  // Generated automatically from 'OCDM.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PersistentStore.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for PertsistentStore API JSON-RPC API.
1
+ // Enumeration code for PertsistentStore API.
2
2
  // Generated automatically from 'PersistentStore.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PlayerInfo.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Player Info API JSON-RPC API.
1
+ // Enumeration code for Player Info API.
2
2
  // Generated automatically from 'PlayerInfo.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_PlayerProperties.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for PlayerProperties API JSON-RPC API.
1
+ // Enumeration code for PlayerProperties API.
2
2
  // Generated automatically from 'IPlayerInfo.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
@@ -34,53 +34,54 @@ ENUM_CONVERSION_BEGIN(Exchange::IPlayerProperties::VideoCodec)
34
34
  { Exchange::IPlayerProperties::VideoCodec::VIDEO_MPEG2, _TXT("VideoMpeg2") },
35
35
  { Exchange::IPlayerProperties::VideoCodec::VIDEO_MPEG4, _TXT("VideoMpeg4") },
36
36
  { Exchange::IPlayerProperties::VideoCodec::VIDEO_VP8, _TXT("VideoVp8") },
37
37
  { Exchange::IPlayerProperties::VideoCodec::VIDEO_VP9, _TXT("VideoVp9") },
38
38
  { Exchange::IPlayerProperties::VideoCodec::VIDEO_VP10, _TXT("VideoVp10") },
39
+ { Exchange::IPlayerProperties::VideoCodec::VIDEO_AV1, _TXT("VideoAv1") },
39
40
  ENUM_CONVERSION_END(Exchange::IPlayerProperties::VideoCodec)
40
41
 
41
42
  ENUM_CONVERSION_BEGIN(Exchange::IPlayerProperties::PlaybackResolution)
42
43
  { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_UNKNOWN, _TXT("ResolutionUnknown") },
43
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I24, _TXT("Resolution480I24") },
44
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I25, _TXT("Resolution480I25") },
45
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I30, _TXT("Resolution480I30") },
46
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I50, _TXT("Resolution480I50") },
47
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I, _TXT("Resolution480I") },
48
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P24, _TXT("Resolution480P24") },
49
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P25, _TXT("Resolution480P25") },
50
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P30, _TXT("Resolution480P30") },
51
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P50, _TXT("Resolution480P50") },
52
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P, _TXT("Resolution480P") },
53
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I24, _TXT("Resolution576I24") },
54
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I25, _TXT("Resolution576I25") },
55
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I30, _TXT("Resolution576I30") },
56
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I50, _TXT("Resolution576I50") },
57
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I, _TXT("Resolution576I") },
58
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P24, _TXT("Resolution576P24") },
59
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P25, _TXT("Resolution576P25") },
60
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P30, _TXT("Resolution576P30") },
61
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P50, _TXT("Resolution576P50") },
62
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P, _TXT("Resolution576P") },
63
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P24, _TXT("Resolution720P24") },
64
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P25, _TXT("Resolution720P25") },
65
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P30, _TXT("Resolution720P30") },
66
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P50, _TXT("Resolution720P50") },
67
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P, _TXT("Resolution720P") },
68
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I24, _TXT("Resolution1080I24") },
69
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I25, _TXT("Resolution1080I25") },
70
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I30, _TXT("Resolution1080I30") },
71
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I50, _TXT("Resolution1080I50") },
72
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I, _TXT("Resolution1080I") },
73
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P24, _TXT("Resolution1080P24") },
74
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P25, _TXT("Resolution1080P25") },
75
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P30, _TXT("Resolution1080P30") },
76
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P50, _TXT("Resolution1080P50") },
77
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P, _TXT("Resolution1080P") },
78
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P24, _TXT("Resolution2160P24") },
79
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P25, _TXT("Resolution2160P25") },
80
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P30, _TXT("Resolution2160P30") },
81
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P50, _TXT("Resolution2160P50") },
82
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P60, _TXT("Resolution2160P60") },
83
- { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P, _TXT("Resolution2160P") },
44
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I24, _TXT("Resolution480i24") },
45
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I25, _TXT("Resolution480i25") },
46
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I30, _TXT("Resolution480i30") },
47
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I50, _TXT("Resolution480i50") },
48
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480I, _TXT("Resolution480i") },
49
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P24, _TXT("Resolution480p24") },
50
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P25, _TXT("Resolution480p25") },
51
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P30, _TXT("Resolution480p30") },
52
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P50, _TXT("Resolution480p50") },
53
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_480P, _TXT("Resolution480p") },
54
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I24, _TXT("Resolution576i24") },
55
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I25, _TXT("Resolution576i25") },
56
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I30, _TXT("Resolution576i30") },
57
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I50, _TXT("Resolution576i50") },
58
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576I, _TXT("Resolution576i") },
59
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P24, _TXT("Resolution576p24") },
60
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P25, _TXT("Resolution576p25") },
61
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P30, _TXT("Resolution576p30") },
62
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P50, _TXT("Resolution576p50") },
63
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_576P, _TXT("Resolution576p") },
64
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P24, _TXT("Resolution720p24") },
65
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P25, _TXT("Resolution720p25") },
66
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P30, _TXT("Resolution720p30") },
67
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P50, _TXT("Resolution720p50") },
68
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_720P, _TXT("Resolution720p") },
69
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I24, _TXT("Resolution1080i24") },
70
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I25, _TXT("Resolution1080i25") },
71
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I30, _TXT("Resolution1080i30") },
72
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I50, _TXT("Resolution1080i50") },
73
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080I, _TXT("Resolution1080i") },
74
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P24, _TXT("Resolution1080p24") },
75
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P25, _TXT("Resolution1080p25") },
76
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P30, _TXT("Resolution1080p30") },
77
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P50, _TXT("Resolution1080p50") },
78
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_1080P, _TXT("Resolution1080p") },
79
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P24, _TXT("Resolution2160p24") },
80
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P25, _TXT("Resolution2160p25") },
81
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P30, _TXT("Resolution2160p30") },
82
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P50, _TXT("Resolution2160p50") },
83
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P60, _TXT("Resolution2160p60") },
84
+ { Exchange::IPlayerProperties::PlaybackResolution::RESOLUTION_2160P, _TXT("Resolution2160p") },
84
85
  ENUM_CONVERSION_END(Exchange::IPlayerProperties::PlaybackResolution)
85
86
 
86
87
  }
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Power.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Power API JSON-RPC API.
1
+ // Enumeration code for Power API.
2
2
  // Generated automatically from 'Power.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_RemoteControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Remote Control API JSON-RPC API.
1
+ // Enumeration code for Remote Control API.
2
2
  // Generated automatically from 'RemoteControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_StateControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for StateControl API JSON-RPC API.
1
+ // Enumeration code for StateControl API.
2
2
  // Generated automatically from 'StateControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_Streamer.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Streamer API JSON-RPC API.
1
+ // Enumeration code for Streamer API.
2
2
  // Generated automatically from 'Streamer.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_SubsystemControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Subsystem Control API JSON-RPC API.
1
+ // Enumeration code for Subsystem Control API.
2
2
  // Generated automatically from 'SubsystemControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_TestUtility.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Test Utility API JSON-RPC API.
1
+ // Enumeration code for Test Utility API.
2
2
  // Generated automatically from 'TestUtility.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_TraceControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for Trace Control API JSON-RPC API.
1
+ // Enumeration code for Trace Control API.
2
2
  // Generated automatically from 'TraceControl.json'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_WebBrowser.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for WebBrowser API JSON-RPC API.
1
+ // Enumeration code for WebBrowser API.
2
2
  // Generated automatically from 'IBrowser.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/JsonEnum_WifiControl.cpp RENAMED
@@ -1,6 +1,6 @@
1
- // Enumeration code for WifiControl API JSON-RPC API.
1
+ // Enumeration code for WifiControl API.
2
2
  // Generated automatically from 'IWifiControl.h'.
3
3
 
4
4
  #include <core/Enumerate.h>
5
5
 
6
6
  #include "definitions.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_BluetoothControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // BluetoothControl JSON-RPC API
1
+ // BluetoothControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_BluetoothControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_BluetoothRemoteControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // BluetoothRemoteControl JSON-RPC API
1
+ // BluetoothRemoteControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_BluetoothRemoteControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Browser.h RENAMED
@@ -1,6 +1,6 @@
1
- // Browser JSON-RPC API
1
+ // Browser API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Browser.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Butler.h RENAMED
@@ -1,6 +1,6 @@
1
- // Butler JSON-RPC API
1
+ // Butler API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Butler.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Cobalt.h RENAMED
@@ -1,6 +1,6 @@
1
- // Cobalt JSON-RPC API
1
+ // Cobalt API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JCobalt.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Compositor.h RENAMED
@@ -1,6 +1,6 @@
1
- // Compositor JSON-RPC API
1
+ // Compositor API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Compositor.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Containers.h RENAMED
@@ -1,6 +1,6 @@
1
- // Containers JSON-RPC API
1
+ // Containers API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Containers.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DHCPServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // DHCPServer JSON-RPC API
1
+ // DHCPServer API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DHCPServer.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DIALServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // DIALServer JSON-RPC API
1
+ // DIALServer API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DIALServer.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DTV.h RENAMED
@@ -1,6 +1,6 @@
1
- // DTV JSON-RPC API
1
+ // DTV API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DTV.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DeviceIdentification.h RENAMED
@@ -1,6 +1,6 @@
1
- // DeviceIdentification JSON-RPC API
1
+ // DeviceIdentification API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DeviceIdentification.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DeviceInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // DeviceInfo JSON-RPC API
1
+ // DeviceInfo API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DeviceInfo.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_DisplayInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // DisplayInfo JSON-RPC API
1
+ // DisplayInfo API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DisplayInfo.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_FirmwareControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // FirmwareControl JSON-RPC API
1
+ // FirmwareControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_FirmwareControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAVSClient.h RENAMED
@@ -1,6 +1,6 @@
1
- // IAVSClient JSON-RPC API
1
+ // IAVSClient API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_AVSController.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAmazonPrime.h RENAMED
@@ -1,6 +1,6 @@
1
- // IAmazonPrime JSON-RPC API
1
+ // IAmazonPrime API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JAmazonPrime.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IAppManager.h RENAMED
@@ -1,6 +1,6 @@
1
- // IAppManager JSON-RPC API
1
+ // IAppManager API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_AppManager.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IApplication.h RENAMED
@@ -1,6 +1,6 @@
1
- // IApplication JSON-RPC API
1
+ // IApplication API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Application.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IBluetoothAudio.h RENAMED
@@ -1,6 +1,6 @@
1
- // IBluetoothAudio JSON-RPC API
1
+ // IBluetoothAudio API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_BluetoothAudioSink.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IBrowser.h RENAMED
@@ -1,6 +1,6 @@
1
- // IBrowser JSON-RPC API
1
+ // IBrowser API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_WebBrowser.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ICustomerCareOperations.h RENAMED
@@ -1,6 +1,6 @@
1
- // ICustomerCareOperations JSON-RPC API
1
+ // ICustomerCareOperations API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JCustomerCareOperations.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IDisplayInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // IDisplayInfo JSON-RPC API
1
+ // IDisplayInfo API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_ConnectionProperties.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IDolby.h RENAMED
@@ -1,6 +1,6 @@
1
- // IDolby JSON-RPC API
1
+ // IDolby API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_DolbyOutput.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ILanguageTag.h RENAMED
@@ -1,6 +1,6 @@
1
- // ILanguageTag JSON-RPC API
1
+ // ILanguageTag API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JLanguageTag.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IMath.h RENAMED
@@ -1,6 +1,6 @@
1
- // IMath JSON-RPC API
1
+ // IMath API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Math.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IMessageControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // IMessageControl JSON-RPC API
1
+ // IMessageControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_MessageControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_INetworkControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // INetworkControl JSON-RPC API
1
+ // INetworkControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_NetworkControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_INetworkTools.h RENAMED
@@ -1,6 +1,6 @@
1
- // INetworkTools JSON-RPC API
1
+ // INetworkTools API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_NetworkTools.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IOConnector.h RENAMED
@@ -1,6 +1,6 @@
1
- // IOConnector JSON-RPC API
1
+ // IOConnector API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_IOConnector.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IOControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // IOControl JSON-RPC API
1
+ // IOControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_IOControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IPackageManager.h RENAMED
@@ -1,6 +1,6 @@
1
- // IPackageManager JSON-RPC API
1
+ // IPackageManager API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_PackageManager.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IPlayerInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // IPlayerInfo JSON-RPC API
1
+ // IPlayerInfo API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_PlayerProperties.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IScriptEngine.h RENAMED
@@ -1,6 +1,6 @@
1
- // IScriptEngine JSON-RPC API
1
+ // IScriptEngine API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_ScriptEngine.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_ITimeZone.h RENAMED
@@ -1,6 +1,6 @@
1
- // ITimeZone JSON-RPC API
1
+ // ITimeZone API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JTimeZone.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IUserSettings.h RENAMED
@@ -1,6 +1,6 @@
1
- // IUserSettings JSON-RPC API
1
+ // IUserSettings API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_UserSettings.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IVolumeControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // IVolumeControl JSON-RPC API
1
+ // IVolumeControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_VolumeControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IWatchDog.h RENAMED
@@ -1,6 +1,6 @@
1
- // IWatchDog JSON-RPC API
1
+ // IWatchDog API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_WatchDog.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IWifiControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // IWifiControl JSON-RPC API
1
+ // IWifiControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_WifiControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_IZigWave.h RENAMED
@@ -1,6 +1,6 @@
1
- // IZigWave JSON-RPC API
1
+ // IZigWave API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_ZigWave.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_InputSwitch.h RENAMED
@@ -1,6 +1,6 @@
1
- // InputSwitch JSON-RPC API
1
+ // InputSwitch API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_InputSwitch.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_LISA.h RENAMED
@@ -1,6 +1,6 @@
1
- // LISA JSON-RPC API
1
+ // LISA API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_LISA.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_LocationSync.h RENAMED
@@ -1,6 +1,6 @@
1
- // LocationSync JSON-RPC API
1
+ // LocationSync API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_LocationSync.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Messenger.h RENAMED
@@ -1,6 +1,6 @@
1
- // Messenger JSON-RPC API
1
+ // Messenger API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Messenger.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Monitor.h RENAMED
@@ -1,6 +1,6 @@
1
- // Monitor JSON-RPC API
1
+ // Monitor API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Monitor.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Netflix.h RENAMED
@@ -1,6 +1,6 @@
1
- // Netflix JSON-RPC API
1
+ // Netflix API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Netflix.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_OCDM.h RENAMED
@@ -1,6 +1,6 @@
1
- // OCDM JSON-RPC API
1
+ // OCDM API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_OCDM.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Packager.h RENAMED
@@ -1,6 +1,6 @@
1
- // Packager JSON-RPC API
1
+ // Packager API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Packager.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PerformanceMonitor.h RENAMED
@@ -1,6 +1,6 @@
1
- // PerformanceMonitor JSON-RPC API
1
+ // PerformanceMonitor API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_PerformanceMonitor.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PersistentStore.h RENAMED
@@ -1,6 +1,6 @@
1
- // PersistentStore JSON-RPC API
1
+ // PersistentStore API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_PersistentStore.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_PlayerInfo.h RENAMED
@@ -1,6 +1,6 @@
1
- // PlayerInfo JSON-RPC API
1
+ // PlayerInfo API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_PlayerInfo.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Power.h RENAMED
@@ -1,6 +1,6 @@
1
- // Power JSON-RPC API
1
+ // Power API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Power.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Provisioning.h RENAMED
@@ -1,6 +1,6 @@
1
- // Provisioning JSON-RPC API
1
+ // Provisioning API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Provisioning.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_RemoteControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // RemoteControl JSON-RPC API
1
+ // RemoteControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_RemoteControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SecureShellServer.h RENAMED
@@ -1,6 +1,6 @@
1
- // SecureShellServer JSON-RPC API
1
+ // SecureShellServer API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_SecureShellServer.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SecurityAgent.h RENAMED
@@ -1,6 +1,6 @@
1
- // SecurityAgent JSON-RPC API
1
+ // SecurityAgent API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_SecurityAgent.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Spark.h RENAMED
@@ -1,6 +1,6 @@
1
- // Spark JSON-RPC API
1
+ // Spark API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JSpark.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_StateControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // StateControl JSON-RPC API
1
+ // StateControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_StateControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_Streamer.h RENAMED
@@ -1,6 +1,6 @@
1
- // Streamer JSON-RPC API
1
+ // Streamer API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_Streamer.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SubsystemControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // SubsystemControl JSON-RPC API
1
+ // SubsystemControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_SubsystemControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_SystemCommands.h RENAMED
@@ -1,6 +1,6 @@
1
- // SystemCommands JSON-RPC API
1
+ // SystemCommands API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_SystemCommands.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TestController.h RENAMED
@@ -1,6 +1,6 @@
1
- // TestController JSON-RPC API
1
+ // TestController API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_TestController.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TestUtility.h RENAMED
@@ -1,6 +1,6 @@
1
- // TestUtility JSON-RPC API
1
+ // TestUtility API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_TestUtility.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TimeSync.h RENAMED
@@ -1,6 +1,6 @@
1
- // TimeSync JSON-RPC API
1
+ // TimeSync API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_TimeSync.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_TraceControl.h RENAMED
@@ -1,6 +1,6 @@
1
- // TraceControl JSON-RPC API
1
+ // TraceControl API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_TraceControl.h"
{baseline/home/runner/work/ThunderTools/ThunderTools/ghpages_baseline/JsonGenerator/R4_4/tag_R4.4.4_raw → generated/generated}/Debug/ThunderInterfaces/definitions/generated/json_WebKitBrowser.h RENAMED
@@ -1,6 +1,6 @@
1
- // WebKitBrowser JSON-RPC API
1
+ // WebKitBrowser API
2
2
  // Generated automatically. DO NOT EDIT.
3
3
 
4
4
  #pragma once
5
5
 
6
6
  #include "JsonData_WebKitBrowser.h"